/* Import modern, clean fonts from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    /* Updated color palette - sophisticated dark greens */
    --primary-color: #52796f;     /* Sage green */
    --secondary-color: #354f52;   /* Dark teal */
    --accent-color: #2f3e46;      /* Charcoal */
    --background-color: #f8faf9;  /* Very light mint */
    --text-color: #2f3e46;        /* Using accent color for text */
    --profile-bg: #FFFFFF;
    --light-accent: #84a98c;      /* Lighter green for hover states */
}

/* Base typography - clean and modern */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    font-weight: 400;
    letter-spacing: -0.01em; /* Slightly tighter letter spacing for modern look */
}

/* Heading hierarchy with Space Grotesk for personality */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin-bottom: 0.5em;
}

h1 { font-size: 2.5rem; font-weight: 700; }
h2 { font-size: 2rem; font-weight: 600; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 500; }

/* Improved paragraph styling */
p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-weight: 400;
}

/* Navigation typography */
nav a {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}

@keyframes fadeInBody {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero {
    font-family: 'Space Grotesk', sans-serif; /* More distinctive for hero */
    line-height: 1.4;
    background-color: var(--background-color);
    color: var(--text-color);
    animation: fadeInBody 1s ease-out;
}

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

header {
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(47, 62, 70, 0.15); /* Updated shadow with new colors */
    animation: fadeInDown 0.8s ease-out 0.5s both;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo styling with better typography */
.logo {
    margin-right: auto;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFFFFF;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.logo img {
    height: auto;
    width: 200px;
}

@media (max-width: 768px) {
    .logo img {
        width: 120px;
    }
}

header h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    animation: fadeIn 1s ease-out 1s both;
}

/* Navigation Styles */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    color: #FFFFFF;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    transition: all 0.3s ease;
    display: block;
    padding: 0.5rem 0;
}

.nav-links a:hover {
    color: var(--light-accent);
    transform: translateY(-1px);
}

/* Hamburger menu button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    padding: 0.5rem;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 3px 0;
    background-color: #FFFFFF;
    transition: 0.3s;
    border-radius: 2px;
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--primary-color);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: right 0.3s ease;
        box-shadow: 0 2px 10px rgba(47, 62, 70, 0.2);
        z-index: 999;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
        margin: 0.5rem 0;
    }
    
    .nav-links a {
        font-size: 1.1rem;
        padding: 1rem;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-links a:hover {
        background-color: rgba(255, 255, 255, 0.1);
        transform: none;
    }
    
    /* Hamburger animation */
    .menu-toggle.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }
}

nav ul li:nth-child(1) { animation-delay: 1.2s; }
nav ul li:nth-child(2) { animation-delay: 1.4s; }
nav ul li:nth-child(3) { animation-delay: 1.6s; }

nav a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--light-accent);
}

.hero {
    background-image: url("IMG_1769.jpeg");
    background-size: cover;
    background-position: center;
    color: #e0f3eb;
    text-align: center;
    padding: 150px 0;
    position: relative;
    height: 88vh;
     z-index: 2;
}


.hero .overlay {
    position: relative;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: 99;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero .overlay h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.hero .overlay h3 {
    color: var(--text-color);
}

.hero .overlay p {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 1rem;
    width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero .animate-text {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero h2.animate-text {
    animation-delay: 0.2s;
}

.hero .animate-span {
    display: inline-block;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero .animate-span:nth-child(1) { animation-delay: 0.4s; }
.hero .animate-span:nth-child(2) { animation-delay: 0.6s; }
.hero .animate-span:nth-child(3) { animation-delay: 0.8s; }

.hero .animate-button {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards 1s;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: #FFFFFF;
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.01em;
    transition: all 0.3s ease;
    margin-top: 20px;
    box-shadow: 0 4px 12px rgba(82, 121, 111, 0.3);
}

.cta-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(82, 121, 111, 0.4);
}

.package-preview {
    padding: 4rem 0;
    background-color: #FFFFFF;
    opacity: 0;
    animation: fadeIn 1s ease-out 2.8s forwards;
}

.package-preview h2 {
    font-family: 'Space Grotesk', sans-serif;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 600;
}

.package-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.package {
    text-align: center;
    background-color: var(--profile-bg);
    padding: 2rem 1.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(47, 62, 70, 0.08);
    transition: all 0.3s ease;
    width: 300px;
    border: 1px solid rgba(82, 121, 111, 0.1);
}

.package:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(47, 62, 70, 0.15);
}

.package h3 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.package p {
    color: var(--secondary-color);
    font-weight: 400;
}

.package-pic {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: fill;
    margin-bottom: 1rem;
    border: none;
}

.view-package {
    display: inline-block;
    background-color: var(--primary-color);
    color: #FFFFFF;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 8px;
    margin-top: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
}

.view-package:hover {
    background-color: var(--secondary-color);
    transform: translateY(-1px);
}

.portfolio {
    padding: 4rem 0;
    background-color: var(--profile-bg);
}

.portfolio:nth-child(even) {
    background-color: var(--background-color);
}

.profile-content {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.profile-pic {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
}

.profile-info {
    flex: 1;
}

.profile-info h3 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.skills-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(47, 62, 70, 0.08);
    border-radius: 8px;
    overflow: hidden;
}

.skills-table, .skills-table th, .skills-table td {
    border: 1px solid rgba(82, 121, 111, 0.2);
    padding: 12px;
}

.skills-table th {
    background-color: var(--primary-color);
    color: #FFFFFF;
    text-align: left;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.skills-table tr:nth-child(even) {
    background-color: rgba(82, 121, 111, 0.05);
}

.skills-table td {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

audio, video {
    width: 100%;
    margin-top: 0.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

footer {
    background-color: var(--secondary-color);
    color: #ECF0F1;
    padding: 30px 0 0;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}

.social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.socials {
    text-align: center;
    margin: 0 15px 15px;
}

.socials h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1em;
    margin-bottom: 10px;
    color: var(--light-accent);
    font-weight: 500;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #FFFFFF;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9em;
}

.social-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(82, 121, 111, 0.3);
    background-color: var(--light-accent);
}

.copyright {
    background-color: var(--accent-color);
    padding: 15px 0;
    margin-top: 20px;
    width: 100%;
}

.copyright .container {
    width: 100%;
    padding: 0 20px;
}

.copyright p {
    margin: 5px 0;
    text-align: center;
    font-size: 0.85em;
    color: var(--light-accent);
}

@media screen and (max-width: 768px) {
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    
    .student-socials {
        margin-bottom: 20px;
    }
    
    .hero .overlay h2 {
        font-size: 2.5rem;
    }
    
    .hero .overlay p {
        font-size: 1.1rem;
    }
}

/* Header Scroll Effect */
header.scrolled {
    background-color: var(--secondary-color);
    box-shadow: 0 4px 12px rgba(47, 62, 70, 0.2);
    transition: background-color 0.3s ease;
}

/* Back-to-Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-color);
    color: #FFFFFF;
    border: none;
    border-radius: 50%;
    padding: 12px 15px;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(82, 121, 111, 0.3);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(82, 121, 111, 0.4);
}

/* Animation on Scroll */
.animate-text.visible,
.animate-button.visible,
.package.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-text,
.animate-button,
.package {
    opacity: 0;
    transform: translateY(30px);
}

/* Contact Page Styles */
.contact-page {
    padding: 80px 0;
}

.page-title {
    font-family: 'Space Grotesk', sans-serif;
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Contact Information Styles */
.contact-info {
    padding: 30px;
    background-color: var(--background-color);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(47, 62, 70, 0.08);
}

.contact-info h3 {
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 30px;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.info-item i {
    font-size: 20px;
    margin-right: 15px;
    color: var(--primary-color);
}

.info-item p {
    margin: 0;
    line-height: 1.5;
    color: var(--secondary-color);
    font-family: 'Inter', sans-serif;
}

.social-links-contact {
    margin-top: 30px;
}

.social-links-contact h4 {
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-color);
}

.social-links-contact .social-icons {
    display: flex;
    gap: 15px;
}

/* Contact Form Styles */
.contact-form {
    padding: 30px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(47, 62, 70, 0.08);
}

.contact-form h3 {
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 30px;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

form {
    width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: var(--secondary-color);
}

input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(82, 121, 111, 0.2);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #fafafa;
}

input:focus,
textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(82, 121, 111, 0.1);
    background-color: #ffffff;
}

.submit-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 14px 20px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 12px rgba(82, 121, 111, 0.3);
}

.submit-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(82, 121, 111, 0.4);
}

/* For smaller screens */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info, 
    .contact-form {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .profile-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .profile-content > * {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .skills-table {
        width: 100%;
    }
}
