:root {
    --primary-color: #6a5acd; /* A shade of purple */
    --secondary-color: #f4f4f4;
    --accent-color: #ffc400; /* Gold/Yellow for highlight */
    --text-color: #fff;
    --light-gray: #f9f9f9;
    --font-family: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: #333;
    line-height: 1.6;
    background: #fff;
}

/* Header & Navbar */
.header {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--primary-color);
    transition: all 0.3s ease-in-out;
}

/* Hero Section */
/* Keyframes for animations */
@keyframes floatAnimation {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

@keyframes slideInUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
    min-height: 90vh;
    padding: 2rem 5%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--text-color);
    overflow: hidden;
}

.hero-text {
    animation: slideInUp 1s ease-out;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-text .highlight {
    color: var(--accent-color);
}

.hero-text .subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.hero-text .description {
    font-size: 1rem;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    object-fit: cover;
    animation: floatAnimation 4s ease-in-out infinite;
}

.page-section {
    padding-top: 6rem;
    padding-bottom: 4rem;
    min-height: 70vh;
}

.content-section {
    padding: 4rem 5%;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.bg-light {
    background: var(--light-gray);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.section-text {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Project Grid */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.15);
}

.project-card img {
    width: 100%;
    display: block;
}

.project-card h3 {
    padding: 1rem 1.5rem 0.5rem;
}

.project-card p {
    padding: 0 1.5rem 1.5rem;
    color: #666;
}

/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem auto;
    max-width: 1000px;
}

.contact-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.contact-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.contact-card a,
.contact-card p {
    font-size: 1rem;
    color: #666;
    text-decoration: none;
}

.contact-card a:hover {
    color: var(--primary-color);
}

.social-section {
    margin-top: 3rem;
    text-align: center;
}

.social-section h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    font-size: 1.5rem;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-color);
    transform: scale(1.1);
}

/* Footer */
.footer {
    background: #3a3a3a;
    color: #fff;
    text-align: center;
    padding: 2rem 1rem;
}

.footer a {
    color: #fff;
    text-decoration: underline;
}

/* Privacy Policy Page */
.policy-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.policy-container h1 {
    margin-bottom: 1.5rem;
}

.policy-container h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 920px) {
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        grid-row: 1; /* Move image to the top on mobile */
        margin-bottom: 2rem;
    }

    .hero-image img {
        width: 250px;
        height: 250px;
        border-radius: 50%;
        object-fit: cover;
    }

    .hero-text {
        align-items: center;
    }

    .hero-text .description {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 65px; /* Adjust to header height */
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        padding: 1.5rem 0;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-image img {
        width: 280px;
        height: 280px;
        border-radius: 50%;
        object-fit: cover;
    }
}
