/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #F9F5F6;
    --color-secondary: #F8E8EE;
    --color-tertiary: #FDCEDF;
    --color-accent: #FF9494;
    --color-text: #333333;
    --color-text-light: #666666;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --border-radius: 8px;
    --max-width: 1200px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-primary);
}

/* Navigation */
.navbar {
    background-color: white;
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-accent);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

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

/* Dropdown Styles */
.dropdown-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    padding: 8px 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    padding: 12px 20px;
    display: block;
    color: var(--color-text);
    font-weight: 400;
    border-radius: 0;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: var(--color-secondary);
    color: var(--color-accent);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    order: -1; /* Move hamburger to the left */
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--color-text);
    margin: 3px 0;
    transition: 0.3s;
}

/* Main Content */
main {
    margin-top: 70px;
    min-height: calc(100vh - 70px);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Sections */
.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--color-text);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--color-text-light);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-icon {
    width: 60px;
    height: 60px;
    background-color: var(--color-secondary);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-accent);
}

.card-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--color-text);
}

.card-description {
    color: var(--color-text-light);
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--color-accent);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #e67e7e;
}

.btn-outline {
    background-color: transparent;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
}

.btn-outline:hover {
    background-color: var(--color-accent);
    color: white;
}

/* Carousel */
.carousel {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: var(--border-radius);
    margin-bottom: 60px;
}

.carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-content {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    background-color: rgba(255,255,255,0.9);
    padding: 20px;
    border-radius: var(--border-radius);
}

.carousel-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-dot.active {
    background-color: var(--color-accent);
}

/* Hero Banner Styles - Updated for Minimalist Design */
.hero-banner {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-banner .carousel {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-banner .carousel-inner {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-banner .carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-banner .carousel-item.active {
    opacity: 1;
}

.hero-banner .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Add subtle overlay for better text readability */
.hero-banner .carousel-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
}

.hero-banner .carousel-content {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    z-index: 2;
    max-width: 700px;
    padding: 30px 40px;
    margin: 0 20px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.hero-banner .carousel-content h1 {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

.hero-banner .carousel-content p {
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    margin-bottom: 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.5;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.8s forwards;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Subtle entrance animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-banner .carousel-nav {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 3;
}

.hero-banner .carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.hero-banner .carousel-dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

.hero-banner .carousel-dot.active {
    background: white;
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.2);
}

.hero-banner .carousel-arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 3;
}

.hero-banner .carousel-arrow {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.hero-banner .carousel-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
}

/* Social Media Links */
.social-media {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--color-text);
    padding: 20px;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    background: white;
    box-shadow: var(--shadow);
    min-width: 120px;
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    color: var(--color-accent);
}

.social-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
}

.social-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    /* Remove the filter that's causing issues */
    /* filter: brightness(0) invert(1); */
    /* Instead, let's use a white background circle */
    /* background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    padding: 2px; */
}

/* Content Pages */
.content-page {
    padding: 40px 0;
}

.content-header {
    text-align: center;
    margin-bottom: 40px;
}

.content-body {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.content-body h2 {
    color: var(--color-text);
    margin: 30px 0 15px;
}

.content-body p {
    margin-bottom: 20px;
    color: var(--color-text-light);
}

.content-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: var(--border-radius);
    margin: 20px auto;
    display: block;
    box-shadow: var(--shadow);
}

/* Footer */
.footer {
    background-color: var(--color-text);
    color: white;
    text-align: center;
    padding: 30px 0;
    margin-top: 50px;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

.footer-social a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    padding: 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    /* Remove grey background circle */
    /* background: rgba(255, 255, 255, 0.1); */
}

.footer-social a:hover {
    /* Remove grey background circle on hover */
    /* background: rgba(255, 255, 255, 0.2); */
    transform: scale(1.1);
}

.footer-social-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    /* Remove the filter that's causing issues */
    /* filter: brightness(0) invert(1); */
    /* Instead, let's use a white background circle */
    /* background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    padding: 2px; */
}

/* Alternative: If you want to keep the white effect, use this instead */
/* 
.footer-social-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(100%);
}
*/

.footer-text {
    margin: 0;
    opacity: 0.8;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--color-text);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--color-secondary);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Content Carousel Styles */
.content-carousel {
    position: relative;
    max-width: 600px;
    margin: 30px auto;
    border-radius: var(--border-radius);
    overflow: hidden;
    /* box-shadow: var(--shadow); */
}

.content-carousel .carousel-inner {
    position: relative;
    width: 100%;
    height: 350px;
}

.content-carousel .carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.content-carousel .carousel-item.active {
    opacity: 1;
}

.content-carousel .content-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.content-carousel .carousel-nav {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.content-carousel .carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.content-carousel .carousel-dot.active {
    background-color: var(--color-accent);
    transform: scale(1.2);
}

.content-carousel .carousel-dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Navigation - Mobile */
    .nav-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between; /* Changed from flex-start */
        height: 60px;
        padding: 0 12px;
        position: relative; /* Added for absolute positioning */
    }
    
    .hamburger {
        display: flex;
        order: 0;
        flex-shrink: 0;
        position: absolute; /* Position hamburger absolutely */
        left: 12px; /* Keep it on the left */
        z-index: 2;
    }
    
    .logo {
        display: flex;
        align-items: center;
        gap: 12px; /* Increased gap */
        font-size: 1.4rem; /* Increased from 1rem */
        min-width: 0;
        flex: 1;
        white-space: nowrap;
        order: 1;
        justify-content: center; /* Center the logo */
        margin: 0 auto; /* Center alignment */
    }
    
    .logo img {
        height: 40px; /* Increased from 36px */
        width: 40px;
        flex-shrink: 0;
    }
    
    .logo span {
        font-size: 1.4rem; /* Increased from 1rem */
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: left;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 0;
        gap: 0;
        order: 2;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--color-secondary);
        margin: 0;
        padding: 0;
        min-height: 54px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu > li > a {
        padding: 0 20px;
        justify-content: flex-start;
        text-align: left;
        display: flex;
        align-items: center;
        width: 100%;
        height: 54px;
        box-sizing: border-box;
        line-height: 1.4;
    }

    .nav-menu.active {
        left: 0;
    }

    /* Mobile Dropdown Styles */
    .dropdown-menu {
        position: relative;
        opacity: 0;
        visibility: hidden;
        transform: none;
        box-shadow: none;
        background: var(--color-secondary);
        margin: 0;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
        width: 100%;
        padding: 0;
        list-style: none;
    }

    .dropdown:hover .dropdown-menu {
        opacity: 0;
        visibility: hidden;
        max-height: 0;
    }

    .dropdown.active .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 300px;
    }

    .dropdown-menu li {
        height: 48px;
        display: flex;
        align-items: center;
        width: 100%;
        border-bottom: 1px solid var(--color-tertiary);
        margin: 0;
        padding: 0;
    }

    .dropdown-menu li:last-child {
        border-bottom: none;
    }

    .dropdown-menu a {
        padding: 0 40px;
        font-size: 0.9rem;
        text-align: left;
        display: flex;
        align-items: center;
        width: 100%;
        height: 48px;
        box-sizing: border-box;
        line-height: 1.4;
        color: var(--color-text);
        background: transparent;
        transition: background-color 0.3s ease;
        text-decoration: none;
    }

    .dropdown-menu a:hover {
        background-color: var(--color-tertiary);
        color: var(--color-accent);
    }

    .dropdown-arrow {
        margin-left: auto;
        font-size: 0.8rem;
        line-height: 1;
        flex-shrink: 0;
        transition: transform 0.3s ease;
    }

    .dropdown.active .dropdown-arrow {
        transform: rotate(180deg);
    }

    .dropdown:hover .dropdown-arrow {
        transform: none;
    }

    /* Content Sections */
    .section-title {
        font-size: 2rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .carousel {
        height: 250px;
    }

    /* Social Media */
    .social-media {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .social-link {
        flex-direction: row;
        min-width: 200px;
        padding: 15px 20px;
    }
    
    .social-icon {
        margin-bottom: 0;
        margin-right: 15px;
        width: 40px;
        height: 40px;
    }
    
    .social-logo {
        width: 30px;
        height: 30px;
    }
    
    .footer-social-logo {
        width: 28px;
        height: 28px;
    }
    
    .container {
        padding: 0 15px;
    }

    /* Hero Banner */
    .hero-banner {
        height: 80vh;
        min-height: 500px;
    }
    
    .hero-banner .carousel-content {
        bottom: 50px;
        left: 50%;
        transform: translateX(-50%);
        padding: 20px 25px;
        margin: 0;
        max-width: 100%;
        width: 100%;
        position: absolute;
    }
    
    .hero-banner .carousel-content h1 {
        font-size: 1.6rem;
        letter-spacing: 0.2px;
        margin-bottom: 10px;
        line-height: 1.3;
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
    }
    
    .hero-banner .carousel-content p {
        font-size: 0.95rem;
        letter-spacing: 0.1px;
        line-height: 1.4;
        margin-bottom: 0;
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
    }
    
    .hero-banner .carousel-nav {
        bottom: 15px;
        gap: 12px;
    }
    
    .hero-banner .carousel-arrow {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    /* Content Carousel */
    .content-carousel .carousel-inner {
        height: 300px;
    }
}

@media (max-width: 480px) {
    /* Layout */
    .section {
        padding: 40px 0;
    }

    .card {
        padding: 20px;
    }

    .contact-form {
        padding: 20px;
        margin: 0 15px;
    }

    /* Logo - Smaller screens */
    .logo {
        font-size: 1.2rem; /* Increased from 0.9rem */
        gap: 10px; /* Increased gap */
    }
    
    .logo img {
        height: 36px; /* Increased from 32px */
        width: 36px;
    }
    
    .logo span {
        font-size: 1.2rem; /* Increased from 0.9rem */
    }

    /* Hero Banner */
    .hero-banner {
        height: 70vh;
        min-height: 450px;
    }
    
    .hero-banner .carousel-content {
        bottom: 40px;
        padding: 18px 20px;
        border-radius: 8px;
    }
    
    .hero-banner .carousel-content h1 {
        font-size: 1.4rem;
        letter-spacing: 0.1px;
        margin-bottom: 8px;
        line-height: 1.2;
    }
    
    .hero-banner .carousel-content p {
        font-size: 0.85rem;
        letter-spacing: 0.05px;
        line-height: 1.3;
    }
    
    .hero-banner .carousel-nav {
        bottom: 10px;
        gap: 10px;
    }
    
    .hero-banner .carousel-dot {
        width: 8px;
        height: 8px;
    }

    /* Content Carousel */
    .content-carousel .carousel-inner {
        height: 250px;
    }
}