* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    color: #333;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    text-decoration: none;
    color: #333;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #007bff;
}

/* Hero Section */
.hero {
    padding: 110px 0 60px;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.profile-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin-bottom: 2rem;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* About content and highlights layout */
.about-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.highlights-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .highlights-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.about-content h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
    text-align: center;
}

.tagline {
    text-align: center;
    font-size: 1.4rem;
    color: #666;
    margin-bottom: 2rem;
}

.highlight {
    color: #007bff;
    font-weight: 600;
}

.about-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.about-section h2 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-section h2 i {
    color: #007bff;
}

.experience-highlights {
    list-style: none;
    padding-left: 0;
}

.experience-highlights li {
    margin: 10px 0;
    padding-left: 25px;
    position: relative;
}

.experience-highlights li:before {
    content: "→";
    color: #007bff;
    position: absolute;
    left: 0;
}

.projects-highlights {
    list-style: none;
    padding-left: 0;
}

.projects-highlights li {
    margin: 10px 0;
    padding-left: 25px;
    position: relative;
}

.projects-highlights li:before {
    content: "→";
    color: #007bff;
    position: absolute;
    left: 0;
}

.education-highlights {
    list-style: none;
    padding-left: 0;
}

.education-highlights li {
    margin: 10px 0;
    padding-left: 25px;
    position: relative;
}

.education-highlights li:before {
    content: "→";
    color: #007bff;
    position: absolute;
    left: 0;
}

.know-more-link {
    text-align: right;
    margin: 5px 0 0 0;
    font-size: 0.85rem;
}

.know-more-link a {
    color: #007bff;
    text-decoration: none;
    font-style: italic;
    font-weight: 500;
    transition: color 0.3s ease;
}

.know-more-link a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Connect section - General styles (non-footer) */
.connect-section:not(footer .connect-section) {
    text-align: center;
    margin-top: 3rem;
}

.connect-buttons:not(footer .connect-buttons) {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.connect-button:not(footer .connect-button) {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: white;
    color: #333;
    text-decoration: none;
    border-radius: 25px;
    border: 2px solid #007bff;
    transition: all 0.3s ease;
}

.connect-button:not(footer .connect-button):hover {
    background-color: #007bff;
    color: white;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .about-content {
        padding: 0 20px;
    }
    
    .connect-buttons:not(footer .connect-buttons) {
        flex-direction: column;
    }
    
    .connect-button:not(footer .connect-button) {
        width: 100%;
        justify-content: center;
    }
}

/* Section Styles */
.section {
    padding: 20px 0;
    padding-bottom: 20px;
}

.section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

/* Education & Experience Items */
.education-item, .experience-item {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 8px 10px rgba(0,0,0,0.2);
}

.education-item h2 {
    text-align: left;
    margin-bottom: 5px;
    color: #007bff;
}

.education-item h3 {
    color: #444;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.education-details {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
}

.detail-item i {
    color: #007bff;
    font-size: 1.1rem;
}

.detail-item span {
    font-size: 1rem;
}

.brief-description {
    margin: 30px 0;
    padding: 30px;
    background-color: #d4d4d45b;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.brief-description h4 {
    text-align: center;
    color: #007bff;
    font-size: 1.3rem;
    margin-bottom: 25px;
}

.brief-description p {
    line-height: 1.8;
    color: #444;
    text-align: justify;
    padding: 0 15px;
}

@media (max-width: 768px) {
    .education-details {
        flex-direction: column;
        gap: 15px;
    }
    
    .brief-description p {
        padding: 0;
    }
}

.description-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 0 15px;
}

.education-item:hover, .experience-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 15px rgba(0,0,0,0.3);
}

/* Projects Grid */
.project-container {
    margin-top: 25px;
    margin-bottom: 30px;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 35px;
    max-width: 1300px;
    margin: 0 auto;
    counter-reset: project-counter;
}

.project-card {
    padding: 30px 25px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #00c6ff);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.15);
    border-color: #007bff;
}

.project-card:hover::before {
    transform: scaleX(1);
}

.project-card h3 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.3;
    counter-increment: project-counter;
}

.project-card h3::before {
    content: counter(project-counter, decimal) ". ";
    color: #007bff;
    font-weight: 700;
    margin-right: 8px;
}

.project-links {
    margin-top: 15px;
}

.project-links a {
    margin-right: 10px;
    text-decoration: none;
    color: #007bff;
}

/* Interests Grid */
.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-template-rows: 1fr;
    gap: 25px;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.interest-item {
    padding: 30px 25px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
    height: 100%;
}

.interest-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #00c6ff);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.interest-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.15);
    border-color: #007bff;
}

.interest-item:hover::before {
    transform: scaleX(1);
}

.interest-item i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #007bff;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.interest-item:hover i {
    transform: scale(1.1);
    color: #0056b3;
}

.interest-item h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 600;
    flex-shrink: 0;
}

.interest-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #fff;
    padding: 60px 0 20px;
    text-align: center;
    margin-top: 0;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #00c6ff, #007bff);
}

footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

footer .connect-section {
    margin-bottom: 40px;
}

footer .connect-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #ecf0f1;
    font-weight: 300;
}

footer .connect-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

footer .connect-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

footer .connect-button:hover {
    background-color: #007bff;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
    border-color: #007bff;
}

footer .connect-button i {
    font-size: 1.1rem;
}

footer > .container > p {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bdc3c7;
    font-size: 0.9rem;
    font-weight: 300;
}

@media (max-width: 768px) {
    footer {
        padding: 40px 0 20px;
    }
    
    footer .connect-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    footer .connect-button {
        width: 280px;
        justify-content: center;
        padding: 15px 20px;
    }
    
    footer .connect-section p {
        font-size: 1.1rem;
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    footer .connect-button {
        width: 100%;
        max-width: 300px;
    }
}

/* Legacy social links styles (if still used) */
.social-links {
    margin-bottom: 20px;
}

.social-links a {
    color: #fff;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #007bff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-content {
        flex-direction: column;
        text-align: center;
    }

    .nav-links {
        margin-top: 1rem;
        flex-direction: column;
    }

    .nav-links li {
        margin: 0.5rem 0;
    }
}

/* Cards Grid Styles */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 10px 0;
}

.card {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
    text-align: center;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.3);
}

.card i {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 15px;
}

.card h2 {
    margin: 15px 0;
    font-size: 1.5rem;
}

.card p {
    color: #666;
    font-size: 0.9rem;
}

.card .project-highlights {
    text-align: left;
    padding-left: 15px;
    margin: 15px 0 0 0;
    list-style: none;
}

.card .project-highlights li {
    color: #666;
    font-size: 0.85rem;
    margin: 8px 0;
    position: relative;
    padding-left: 10px;
}

.card .project-highlights li::before {
    content: "•";
    color: #007bff;
    font-weight: bold;
    position: absolute;
    left: -5px;
}

.card .project-highlights strong {
    color: #333;
    font-weight: 600;
}

/* Add to existing media queries */
@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: 1fr;
        padding: 10px;
    }
}

/* Page Content Styles */
.page-content {
    padding-top: 100px;
}

.page-title {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
    font-size: 2.5rem;
}

.back-button {
    display: inline-block;
    margin-bottom: 20px;
    color: #007bff;
    text-decoration: none;
}

.back-button:hover {
    text-decoration: underline;
}

/* Experience Page Styles */
.company {
    color: #007bff;
    font-weight: 600;
    margin: 5px 0;
}

.duration {
    color: #666;
    font-style: italic;
    margin-bottom: 10px;
}

.responsibilities {
    padding-left: 20px;
}

.responsibilities li {
    margin: 5px 0;
}

/* Project Page Styles */
.tech-stack {
    margin: 15px 0;
}

.tech-tag {
    display: inline-block;
    background-color: #e9ecef;
    padding: 5px 10px;
    border-radius: 15px;
    margin: 0 5px 5px 0;
    font-size: 0.9rem;
}

.project-description {
    margin: 10px 0;
    line-height: 1.6;
}

/* Skills Section Styles */
.skills-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px 0;
    border-radius: 10px;
    margin: 50px 0 0 0;
}

.skills-title {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.skills-title i {
    color: #007bff;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.skill-tag {
    background-color: white;
    color: #333;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid #007bff;
}

.skill-tag:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    background-color: #007bff;
    color: white;
}

/* Interests Page Styles */
.interests-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    padding: 0 20px;
}

/* Interests Section */
.interests-section {
    margin-top: 25px;
    margin-bottom: 30px;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.interests-section h2 {
    text-align: center;
    color: #333;
    margin-bottom: 40px;
    font-size: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.interests-section h2 i {
    color: #007bff;
}

/* Photography Section Styles */
/* .photography-section {
    margin-top: 30px;
    padding: 40px 0;
    background-color: #d4d4d45b;
    border-radius: 10px;
} */

.photography-section {
    padding: 40px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: 1px solid rgba(0, 123, 255, 0.1);
}

.photography-intro {
    text-align: center;
    max-width: 950px;
    margin: 0 auto 30px;
    color: #666;
    line-height: 1.8;
}

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

.photo-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.photo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.3);
}

.photo-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.photo-item:hover .photo-overlay {
    transform: translateY(0);
}

.photo-overlay h3 {
    margin: 0 0 5px;
    font-size: 1.2rem;
}

.photo-overlay p {
    margin: 5px 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.photography-equipment {
    max-width: 600px;
    margin: 40px auto 0;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.photography-equipment h3 {
    color: #007bff;
    margin-bottom: 20px;
    text-align: center;
}

.photography-equipment ul {
    list-style: none;
    padding: 0;
}

.photography-equipment li {
    margin: 15px 0;
    display: flex;
    align-items: center;
    color: #666;
}

.photography-equipment i {
    margin-right: 10px;
    color: #007bff;
    width: 20px;
}

/* Responsive adjustments for interests page */
@media (max-width: 768px) {
    .interests-intro {
        font-size: 1rem;
        padding: 0 15px;
        margin-bottom: 30px;
    }
    
    .interests-section {
        margin-top: 30px;
        padding: 30px 15px;
        border-radius: 10px;
    }
    
    .interests-section h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .interests-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 400px;
    }
    
    .interest-item {
        padding: 25px 20px;
        min-height: 180px;
    }
    
    .project-container {
        margin-top: 20px;
        padding: 30px 15px;
        border-radius: 10px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .project-card {
        padding: 25px 20px;
    }
    
    .project-card h3 {
        font-size: 1.2rem;
    }
    
    .photography-section {
        padding: 30px 15px;
        border-radius: 10px;
    }
    
    .photo-gallery {
        grid-template-columns: 1fr;
        padding: 10px;
        gap: 15px;
    }
    
    .photo-overlay {
        transform: translateY(0);
        background: linear-gradient(transparent, rgba(0,0,0,0.8));
    }
    
    .section-header {
        gap: 10px;
        margin-bottom: 15px;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .section-header i {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .photo-gallery {
        grid-template-columns: 1fr;
        padding: 5px;
    }
    
    .interest-item h3 {
        font-size: 1.2rem;
    }
    
    .interest-item i {
        font-size: 2.2rem;
    }
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.section-header i {
    font-size: 2rem;
    color: #007bff;
}

.section-header h2 {
    margin: 0;
    font-size: 2rem;
}

/* Navigation toggle styles */
.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
    padding: 15px;
}

.nav-toggle-label span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin-bottom: 5px;
    transition: transform 0.3s ease;
}

.nav-toggle-label span:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .nav-content {
        position: relative;
    }

    .nav-toggle-label {
        display: block;
        position: absolute;
        top: 15px;
        right: 20px;
    }

    .nav-links {
        display: none;
        width: 100%;
        background-color: white;
        padding: 20px 0;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .nav-toggle:checked ~ .nav-links {
        display: flex;
        flex-direction: column;
    }

    .nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .nav-links li {
        margin: 10px 0;
        text-align: center;
    }
} 