/* Design System & Variables */
:root {
    /* Color Palette - White and Sky Blue mix */
    --primary-color: #0288d1; /* Strong sky blue for main actions */
    --primary-light: #e1f5fe; /* Very light sky blue for backgrounds */
    --secondary-color: #03a9f4; /* Medium sky blue for highlights */
    --text-dark: #333333; /* Dark text for readability */
    --text-light: #666666; /* Lighter text for secondary info */
    --white: #ffffff;
    --background-color: #f9fbfc; /* Slightly blue-tinted off-white */
    
    /* Typography */
    --font-main: 'Inter', sans-serif;
    
    /* Spacing & Layout */
    --max-width: 1200px;
    --border-radius: 12px;
    --box-shadow: 0 10px 30px rgba(2, 136, 209, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--background-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* Typography Utility */
h1, h2, h3, h4 {
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.2;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(2, 136, 209, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 136, 209, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-light);
}

/* Header & Navigation */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 15px 0;
    transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 50px; /* Reduced slightly to fit text nicely */
    border-radius: 50%; /* the provided logo seems circular */
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
}

.logo-title-1 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-title-2 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 0.3px;
}

.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu a {
    font-weight: 600;
    color: var(--text-dark);
}

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

.nav-menu a.btn-primary {
    color: var(--white);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 150px 0 100px;
    background: linear-gradient(to bottom right, var(--white), var(--primary-light));
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-content .btn-primary {
    margin-right: 15px;
}

.hero-image {
    position: relative;
}

.image-placeholder {
    background: var(--white);
    height: 400px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Stats Section */
.stats {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    position: relative;
    z-index: 10;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px 20px;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--white);
    animation: float 6s ease-in-out infinite;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--white);
}

.stat-text {
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.9;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--white);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-features {
    background: var(--primary-light);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.about-features h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 1.8rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-size: 1.05rem;
}

.feature-list li i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-top: 3px;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--primary-light);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    border-bottom: 4px solid transparent;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--primary-color);
}

.service-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 3px solid var(--primary-light);
}

.service-content {
    padding: 30px;
    flex-grow: 1;
}

.service-content h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.service-content p {
    color: var(--text-light);
}

/* Team Section */
.team {
    padding: 100px 0;
    background: var(--background-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.team-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-image-placeholder {
    height: 250px;
    background: linear-gradient(135deg, var(--primary-light), var(--white));
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
}

.team-info {
    padding: 30px;
    text-align: center;
}

.team-info h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.designation {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.qualifications, .certifications {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.experience {
    font-weight: 600;
    color: var(--secondary-color);
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Reviews Section */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.review-card {
    background: var(--background-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-top: 4px solid var(--primary-color);
    display: flex;
    flex-direction: column;
}

.review-stars {
    color: #FFD700;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.review-text {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-size: 0.95rem;
    flex-grow: 1;
}

.review-author {
    font-weight: 700;
    color: var(--primary-color);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--primary-light);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.contact-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.contact-item p {
    color: var(--text-dark);
    line-height: 1.5;
}

.contact-item a {
    color: var(--text-dark);
}

.contact-item a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.contact-map {
    width: 100%;
    min-height: 400px;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info h3 {
    color: var(--white);
    margin-bottom: 15px;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-contact h4 {
    color: var(--white);
    margin-bottom: 15px;
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 0.9rem;
}

/* Services Page Styles */
.page-hero {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, var(--primary-light), var(--white));
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.services-page-content {
    padding: 80px 0;
    background: var(--background-color);
}

.services-category-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.service-category {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 40px;
    display: flex;
    flex-direction: column;
}

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

.category-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.category-header h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.category-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Accordion Styles */
.accordion-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.accordion-item {
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
    background: var(--background-color);
}

.accordion-header {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
}

.accordion-header:hover, .accordion-header.active {
    background: var(--primary-light);
}

.accordion-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
}

.accordion-header.active .accordion-title {
    color: var(--primary-color);
}

.accordion-icon {
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.accordion-header.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: var(--white);
}

.service-benefits {
    padding: 20px;
}

.service-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-light);
    line-height: 1.5;
}

.service-benefits li:last-child {
    margin-bottom: 0;
}

.service-benefits li i {
    color: var(--primary-color);
    margin-top: 4px;
    font-size: 0.9rem;
}



.contact-grid-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* Google Review Marquee Section */
.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.marquee-content {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    width: max-content;
    animation: scroll-marquee 40s linear infinite;
    padding: 0 15px;
}

.marquee-wrapper:hover .marquee-content {
    animation-play-state: paused;
}

@keyframes scroll-marquee {
    0% { transform: translateX(0); }
    /* Shifts by exactly half the width plus half the gap (gap is 30px, so 15px) */
    100% { transform: translateX(calc(-50% - 15px)); }
}

.google-review-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    width: 380px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    flex-shrink: 0;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    position: relative;
}

.reviewer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.reviewer-info {
    flex-grow: 1;
}

.reviewer-name {
    margin: 0;
    font-weight: 600;
    font-size: 1rem;
    color: #202124;
}

.review-date {
    margin: 0;
    font-size: 0.85rem;
    color: #70757A;
}

.g-icon {
    width: 20px;
    height: 20px;
    position: absolute;
    top: 0;
    right: 0;
}

.review-stars-row {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.review-stars-row .stars {
    color: #FBBC04;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.review-body {
    position: relative;
}

.review-text-content {
    margin: 0;
    color: #3C4043;
    font-size: 0.95rem;
    line-height: 1.5;
    /* Limit lines */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.review-text-content.expanded {
    -webkit-line-clamp: unset;
    overflow: visible;
}

.read-more-btn {
    display: inline-block;
    color: #70757A;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 5px;
    cursor: pointer;
}

.read-more-btn:hover {
    color: #202124;
    text-decoration: underline;
}

/* Global Focus States */
:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 4px;
    border-radius: 4px;
}

/* Mobile Menu Active State */
.nav-menu.nav-active {
    display: block !important;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.nav-menu.nav-active ul {
    flex-direction: column;
    gap: 20px;
}

/* Utility Classes (Extracted from HTML inline styles) */
.spacer-header {
    height: 100px; 
    background-color: var(--background-color);
}
.spacer-header-alt {
    height: 100px; 
    background-color: var(--primary-light);
}
.section-reviews-bg {
    background: #F8FBFB;
    padding: 80px 0;
    overflow: hidden;
}
.contact-box-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-container, .services-category-container {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-content .btn-primary {
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none; /* simple hidden for mobile for now, can be expanded via JS */
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .footer-container, .contact-container, .contact-grid-top {
        grid-template-columns: 1fr;
    }
}

/* Fix I-09: Active nav link indicator */
.nav-menu a.nav-active-link {
    color: var(--primary-color);
    font-weight: 700;
}

/* Fix I-04: Remove default button styling from mobile-menu-btn */
button.mobile-menu-btn {
    background: none;
    border: none;
    padding: 4px 8px;
}

/* Fix I-06: Reset button styling on read-more-btn */
button.read-more-btn {
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
}
.footer-links h4 {
    color: var(--white);
    margin-bottom: 15px;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links ul a {
    color: rgba(255, 255, 255, 0.85);
    transition: var(--transition);
}

.footer-links ul a:hover {
    color: var(--white);
    text-decoration: underline;
}

/* Fix I-18: Respect user preference for reduced motion */
@media (prefers-reduced-motion: reduce) {
    .stat-icon,
    .hero-image img,
    .image-placeholder {
        animation: none !important;
    }

    .marquee-content {
        animation: none !important;
    }
}
