/* 
Colors:
- Deep Indigo (#3A1C71) — Background & headers
- Coral Peach (#FF8A65) — Buttons & CTAs
- Champagne (#FCE8C4) — Sections & cards
- Teal Mist (#7ED6C1) — Highlights & icons
- Midnight Gray (#2A2A2E) — Text
*/

:root {
    --color-indigo: #3A1C71;
    --color-peach: #FF8A65;
    --color-champagne: #FCE8C4;
    --color-teal: #7ED6C1;
    --color-gray: #2A2A2E;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-gray);
    background-color: #fff;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--color-indigo);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.5rem;
    line-height: 1.4;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--color-indigo);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-peach);
}

/* Buttons */
.button, .cta-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--color-peach);
    color: white;
    border-radius: 4px;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.button:hover, .cta-button:hover {
    background-color: #ff7043;
    transform: translateY(-2px);
    color: white;
}

/* Header & Navigation */
.site-header {
    background-color: var(--color-indigo);
    padding: 15px 0; /* Reduced from 20px */
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.6rem; /* Reduced from 1.8rem */
    font-weight: 800;
    color: white;
    text-transform: lowercase;
    display: flex;
    align-items: center;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav ul li {
    margin-left: 30px;
    display: flex;
    align-items: center;
}

.main-nav ul li a {
    color: white;
    font-weight: 500;
}

.main-nav ul li a:hover {
    color: var(--color-peach);
}

.main-nav .cta-button {
    background-color: var(--color-peach);
    color: white;
}

.menu-toggle {
    display: none;
}

/* Mobile Menu (PHP-based, no JS) */
@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 60px);
        background-color: var(--color-indigo);
        transition: left 0.3s ease;
        padding: 20px;
    }
    
    .main-nav.menu-open {
        left: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav ul li {
        margin: 15px 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .menu-button {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
    }
    
    .menu-button span {
        display: block;
        height: 3px;
        width: 100%;
        background-color: white;
        transition: all 0.3s ease;
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--color-indigo) 0%, #512DA8 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: white;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}

/* About Us Section */
.about-section {
    padding: 80px 0;
    background-color: white;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Why Choose Us Section */
.benefits-section {
    padding: 80px 0;
    background-color: var(--color-champagne);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
}

.benefit-icon {
    color: var(--color-teal);
    font-size: 2rem;
    margin-bottom: 15px;
}

/* Services Section */
.services-section {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 0;
    transition: all 0.3s ease;
    overflow: hidden;
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-content {
    padding: 25px;
}

.service-card:hover {
    border-color: var(--color-teal);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

/* Stats Section with CSS Counters */
.stats-section {
    background: linear-gradient(135deg, var(--color-indigo) 0%, #512DA8 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.stats-section h2 {
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-card {
    padding: 20px;
}

.stat-card .number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-peach);
    position: relative;
}

/* CSS counter animation */
.stat-card .number {
    counter-reset: stat-counter 0;
    animation: count-up 4s forwards;
}

.stat-card .number::after {
    content: counter(stat-counter);
}

@keyframes count-up {
    from {
        counter-increment: stat-counter 0;
    }
    to {
        counter-increment: stat-counter var(--count-to);
    }
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background-color: white;
}

.testimonial-carousel {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
    width: 300%;
}

.testimonial-slide {
    width: 33.333%;
    flex-shrink: 0;
    padding: 0 15px;
}

.testimonial-card {
    background-color: var(--color-champagne);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.testimonial-author .name {
    font-weight: 600;
}

.testimonial-author .position {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* CSS-only carousel */
.testimonial-controls {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.testimonial-radio {
    position: absolute;
    opacity: 0;
}

.testimonial-label {
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    margin: 0 5px;
    cursor: pointer;
}

#testimonial-1:checked ~ .testimonial-track {
    transform: translateX(0%);
}

#testimonial-2:checked ~ .testimonial-track {
    transform: translateX(-33.333%);
}

#testimonial-3:checked ~ .testimonial-track {
    transform: translateX(-66.666%);
}

#testimonial-1:checked ~ .testimonial-controls .testimonial-label:nth-child(1),
#testimonial-2:checked ~ .testimonial-controls .testimonial-label:nth-child(2),
#testimonial-3:checked ~ .testimonial-controls .testimonial-label:nth-child(3) {
    background-color: var(--color-teal);
}

/* Case Studies Section */
.cases-section {
    padding: 80px 0;
    background-color: var(--color-champagne);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.case-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.case-card:hover {
    transform: translateY(-10px);
}

.case-image {
    height: 200px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-card:hover .case-image img {
    transform: scale(1.1);
}

.case-content {
    padding: 20px;
}

/* Contact Form Section */
.contact-section {
    padding: 80px 0;
    background-color: white;
}

.form-container {
    background: linear-gradient(135deg, var(--color-indigo) 50%, transparent 50%);
    border-radius: 10px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-info {
    padding: 30px;
    color: white;
}

.form-content {
    padding: 40px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.8);
    transition: border 0.3s ease;
}

.form-input:focus {
    border-color: var(--color-teal);
    outline: none;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.form-checkbox input {
    margin-top: 5px;
    margin-right: 10px;
}

/* Footer */
.site-footer {
    background-color: var(--color-indigo);
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.site-footer h3 {
    color: white;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links ul li a:hover {
    color: var(--color-peach);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-gray);
    color: white;
    padding: 15px;
    text-align: center;
    z-index: 1000;
    display: none; /* Hidden by default, shown via JS */
}

.cookie-consent.show {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.cookie-consent p {
    margin: 0 15px 0 0;
}

.cookie-consent button {
    background-color: var(--color-peach);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
}

/* Policy Pages */
.policy-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
    padding: 40px 0;
}

.policy-sidebar {
    background-color: var(--color-champagne);
    padding: 20px;
    border-radius: 8px;
}

.policy-sidebar ul {
    list-style: none;
}

.policy-sidebar ul li {
    margin-bottom: 10px;
}

.policy-content {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.policy-content h1 {
    margin-bottom: 30px;
}

.policy-content h2 {
    margin-top: 40px;
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .form-container {
        grid-template-columns: 1fr;
        background: var(--color-indigo);
    }
    
    .policy-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .testimonial-track {
        width: 100%;
        flex-wrap: wrap;
    }
    
    .testimonial-slide {
        width: 100%;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .button, .cta-button {
        display: block;
        width: 100%;
    }
}