/* --- CSS Variables --- */
:root {
    --color-primary: #1A3E60; /* Deep Indigo/Navy */
    --color-secondary: #00A896; /* Teal */
    --color-accent: #E8C547; /* Goldenrod */
    --color-text-dark: #333;
    --color-text-light: #f4f4f4;
    --color-background-light: #ffffff;
    --color-background-dark: #2A4D69; /* Slightly lighter navy for dark sections */
    --color-border: #eee;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --border-radius: 8px;
    --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* --- Base Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--color-text-dark);
    background-color: var(--color-background-light);
    overflow-x: hidden; /* Prevent horizontal scroll from animations */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

h1 { font-size: 3.5rem; font-weight: 700; }
h2 { font-size: 2.8rem; font-weight: 700; text-align: center; }
h3 { font-size: 2rem; font-weight: 600; }
p { margin-bottom: 1rem; }

a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-accent);
}

ul {
    list-style: none;
}

.section-padding {
    padding: var(--spacing-lg) 0;
}

.section-dark {
    background-color: var(--color-background-dark);
    color: var(--color-text-light);
}

.section-dark h2, .section-dark h3 {
    color: var(--color-text-light);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-light);
}

.btn-primary {
    background-image: linear-gradient(to right, var(--color-secondary) 0%, var(--color-primary) 100%);
    color: var(--color-text-light);
    box-shadow: 0 5px 20px rgba(0, 168, 150, 0.3);
}

.btn-primary:hover {
    background-image: linear-gradient(to right, var(--color-primary) 0%, var(--color-secondary) 100%);
    box-shadow: 0 8px 25px rgba(0, 168, 150, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--color-accent);
    color: var(--color-primary);
    border: 2px solid var(--color-accent);
    box-shadow: 0 5px 20px rgba(232, 197, 71, 0.3);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232, 197, 71, 0.4);
}


/* --- Header --- */
.site-header {
    background-color: rgba(255, 255, 255, 0.98);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-light);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
    transition: color 0.3s ease;
    letter-spacing: 1px;
}

.logo:hover {
    color: var(--color-secondary);
}

.main-nav .nav-list {
    display: flex;
    gap: var(--spacing-md);
}

.main-nav .nav-list a {
    color: var(--color-primary);
    font-weight: 500;
    font-size: 1.05rem;
    padding: 0.5rem 0;
    position: relative;
}

.main-nav .nav-list a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.main-nav .nav-list a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.nav-toggle .bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

.nav-toggle.active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle.active .bar:nth-child(2) { opacity: 1; }
.nav-toggle.active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: 80vh; /* Adjust height for impact */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/image_11.jpg');
    background-size: cover;
    background-position: center;
    filter: brightness(0.7); /* Darken image slightly */
    transform: scale(1.02); /* Slight scale for a subtle parallax feel */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 62, 96, 0.7) 0%, rgba(0, 168, 150, 0.6) 100%);
    opacity: 1;.9;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: var(--spacing-md);
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-light);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-lg);
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
}

/* --- About Section --- */
.about-section .container {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.about-content {
    flex: 1;
    padding-right: var(--spacing-md);
    text-align: left; /* Override global center for section heading */
}

.about-content h2 {
    margin-bottom: var(--spacing-md);
    text-align: left; /* Override global center for section heading */
}

.about-image {
    flex: 1;
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius);
    transition: transform 0.5s ease-in-out;
}

.about-image img:hover {
    transform: scale(1.05);
}

/* --- Card Grid Styles --- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    justify-content: center; /* Center grid items if they don't fill a row */
}

.card {
    background-color: var(--color-background-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.section-dark .card {
    background-color: var(--color-primary); /* Darker cards in dark section */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--color-text-light);
}

.section-dark .card h3 {
    color: var(--color-text-light);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.card img {
    width: 100%;
    height: 250px; /* Fixed height for images */
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.card:hover img {
    transform: scale(1.08);
}

.card-content {
    padding: var(--spacing-md);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-content h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    text-align: center;
}

.card-content p {
    font-size: 0.95rem;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-sm);
    line-height: 1.5;
    text-align: center;
}

.section-dark .card-content p {
    color: rgba(255, 255, 255, 0.8);
}

.card-link {
    display: inline-block;
    color: var(--color-secondary);
    font-weight: 600;
    margin-top: auto; /* Push to bottom */
    position: relative;
    padding-bottom: 3px;
    transition: color 0.3s ease;
    cursor: default; /* Not an actual link */
}

.section-dark .card-link {
    color: var(--color-accent);
}

.card-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.section-dark .card-link::after {
    background-color: var(--color-secondary);
}

.card-link:hover {
    color: var(--color-primary);
}

.section-dark .card-link:hover {
    color: var(--color-text-light);
}

.card-link:hover::after {
    width: 100%;
}


/* --- Experiences Section --- */
.experiences-section .card {
    /* Specific styling if needed, otherwise uses generic .card */
}

/* --- Why Choose Us Section --- */
.why-choose-us .container {
    text-align: center;
}

.why-choose-us h2 {
    margin-bottom: var(--spacing-lg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.feature-item {
    background-color: var(--color-primary); /* Darker cards in dark section */
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    background-color: var(--color-secondary);
}

.feature-item h3 {
    color: var(--color-text-light);
    margin-top: var(--spacing-sm);
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.icon {
    font-size: 3rem;
    color: var(--color-accent);
    margin-bottom: var(--spacing-sm);
    display: inline-block;
    /* Placeholder icon styling */
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--color-accent);
    box-shadow: 0 0 10px var(--color-accent);
}

/* Custom icons - using unicode emojis for basic visual representation */
.icon-compass::before { content: '🧭'; } /* Unicode emoji */
.icon-star::before { content: '✨'; }
.icon-diamond::before { content: '💎'; }
.icon-shield::before { content: '🛡️'; }
.icon-facebook::before { content: '📘'; }
.icon-instagram::before { content: '📸'; }
.icon-twitter::before { content: '🐦'; }
.icon-pinterest::before { content: '📌'; }


/* --- Testimonials Section --- */
.testimonials-section {
    text-align: center;
    background-color: var(--color-background-light);
}

.testimonials-section h2 {
    margin-bottom: var(--spacing-lg);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    justify-content: center;
}

.testimonial-card {
    background-color: #f9f9f9;
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    border-left: 5px solid var(--color-secondary);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.testimonial-card p {
    font-style: italic;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-sm);
    font-size: 1.05rem;
}

.testimonial-card footer {
    font-weight: 600;
    color: var(--color-primary);
    font-size: 0.9rem;
}

/* --- CTA Banner --- */
.cta-banner {
    background-image: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    padding: var(--spacing-lg) 0;
    text-align: center;
    color: var(--color-text-light);
    position: relative;
    overflow: hidden;
}

.cta-banner .container {
    position: relative;
    z-index: 1;
}

.cta-banner h2 {
    color: var(--color-text-light);
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
}

.cta-banner p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
    color: rgba(255, 255, 255, 0.9);
}

/* --- Connect Section --- */
.connect-section {
    text-align: center;
    background-color: var(--color-background-light);
}

.connect-section h2 {
    margin-bottom: var(--spacing-md);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.social-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    transition: color 0.3s ease, transform 0.3s ease;
    cursor: default; /* Not an actual link as per instructions */
    padding: 10px;
    border-radius: var(--border-radius);
    background-color: #f0f4f8;
    box-shadow: var(--shadow-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px; /* Adjust for better button-like shape */
    height: 60px;
}

.social-icon:hover {
    color: var(--color-secondary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

/* --- Footer --- */
.site-footer {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    padding: var(--spacing-lg) 0 var(--spacing-md);
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h3 {
    color: var(--color-accent);
    margin-bottom: var(--spacing-sm);
    font-size: 1.3rem;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-col ul {
    padding-left: 0;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    text-align: center;
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    color: rgba(255, 255, 255, 0.6);
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.2rem; }
    h3 { font-size: 1.7rem; }

    .hero-content h1 {
        font-size: 3.5rem;
    }
    .hero-content p {
        font-size: 1.2rem;
    }

    .about-section .container {
        flex-direction: column;
        text-align: center;
    }
    .about-content {
        padding-right: 0;
        margin-bottom: var(--spacing-md);
    }
    .about-content h2 { /* Ensure headings are centered on mobile too */
        text-align: center;
    }
    .about-image {
        max-width: 600px;
    }

    .card-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 cards per row on medium screens */
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        text-align: center;
    }
    .footer-col.brand-info { /* Ensure brand info stays full width if it makes sense */
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .main-nav .nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.98);
        box-shadow: var(--shadow-medium);
        padding: var(--spacing-md) 0;
        border-top: 1px solid var(--color-border);
    }

    .main-nav .nav-list.active {
        display: flex;
    }

    .main-nav .nav-list li {
        text-align: center;
        margin: 0.5rem 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-section {
        height: 70vh;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-content p {
        font-size: 1rem;
    }

    .card-grid, .testimonials-grid, .features-grid {
        grid-template-columns: 1fr; /* 1 card per row on small screens */
    }

    .section-padding {
        padding: var(--spacing-md) 0;
    }

    .cta-banner h2 {
        font-size: 2rem;
    }
    .cta-banner p {
        font-size: 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr; /* Stack footer columns */
    }
    .footer-col.brand-info {
        grid-column: span 1; /* Reset span */
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.4rem; }

    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-content p {
        font-size: 0.9rem;
    }

    .btn {
        padding: 0.8rem 1.8rem;
        font-size: 0.9rem;
    }
    .logo {
        font-size: 1.5rem;
    }

    .social-icon {
        font-size: 2rem;
        width: 50px;
        height: 50px;
    }
}

/* Visible state helpers */
+ .animate-fade-in-up.visible,
+ .animate-fade-in-left.visible,
+ .animate-fade-in-right.visible,
+ .animate-bounce-y.visible,
+ .section-scroll-animate.visible,
+ .text-animate-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Safe visibility overrides (auto-added) */
:root, html, body, main, header, footer, section, .container, .content {
  opacity: 1 !important;
  visibility: visible !important;
}
