/*
================================================
TABLE OF CONTENTS
================================================
1.  CSS Custom Properties & Fonts
2.  Base & Reset Styles
3.  Layout & Utility Classes
4.  Typography
5.  Header & Navigation
6.  Footer
7.  Buttons & Forms
8.  Hero Section
9.  Logo Cloud Section
10. Services Section
11. Why Choose Us Section
12. ROI Calculator Section
13. Testimonials Section
14. Final CTA Section
15. Generic Page & Legal Styles
16. Animations & Keyframes
17. Responsive Design (Media Queries)
================================================
*/

/* 1. CSS Custom Properties & Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Sora:wght@700;800&display=swap');

:root {
    --primary-color: #0057FF; /* Professional Blue */
    --secondary-color: #FF7A00; /* Vibrant Orange */
    --dark-color: #121826;
    --text-color: #4A5568;
    --heading-color: #1A202C;
    --background-light: #F8F9FA;
    --background-white: #FFFFFF;
    --border-color: #E2E8F0;
    
    --font-primary: 'Inter', sans-serif;
    --font-display: 'Sora', sans-serif;
    
    --header-height: 80px;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --box-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition-speed: 0.3s ease;
}

/* 2. Base & Reset Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
    font-size: 16px;
}
body {
    font-family: var(--font-primary);
    color: var(--text-color);
    background-color: var(--background-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
img, svg {
    display: block;
    max-width: 100%;
}
ul, ol {
    list-style: none;
}
a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color var(--transition-speed);
}
a:hover {
    color: var(--secondary-color);
}

/* 3. Layout & Utility Classes */
.container {
    max-width: 1140px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}
main {
    padding-top: var(--header-height);
}
section {
    padding: 100px 0;
}
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}
.section-subtitle {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

/* 4. Typography */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--heading-color);
    line-height: 1.2;
    font-weight: 700;
}
h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2.25rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
p { margin-bottom: 1rem; }

/* 5. Header & Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition-speed);
}
.site-header.scrolled {
    border-bottom-color: var(--border-color);
    box-shadow: var(--box-shadow);
}
.site-header.hidden {
    transform: translateY(-100%);
}
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
.logo img {
    height: 45px;
    filter: invert(1);
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;
}
.nav-links a {
    color: var(--heading-color);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-speed);
}
.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}
.mobile-nav-toggle {
    display: none;
    z-index: 1001;
    background: none;
    border: none;
    cursor: pointer;
}
.hamburger-icon {
    width: 24px;
    height: 18px;
    position: relative;
}
.hamburger-icon span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--dark-color);
    border-radius: 9px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}
.hamburger-icon span:nth-child(1) { top: 0px; }
.hamburger-icon span:nth-child(2) { top: 8px; }
.hamburger-icon span:nth-child(3) { top: 16px; }

.mobile-nav-toggle.open .hamburger-icon span:nth-child(1) {
    top: 8px; transform: rotate(135deg);
}
.mobile-nav-toggle.open .hamburger-icon span:nth-child(2) {
    opacity: 0; left: -60px;
}
.mobile-nav-toggle.open .hamburger-icon span:nth-child(3) {
    top: 8px; transform: rotate(-135deg);
}


/* 6. Footer */
.site-footer {
    background-color: var(--dark-color);
    color: #A0AEC0;
    padding: 80px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}
.footer-col h4 {
    color: var(--background-white);
    margin-bottom: 20px;
}
.footer-col p { margin-bottom: 10px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: #A0AEC0; }
.footer-col ul a:hover { color: var(--background-white); padding-left: 5px; }
.footer-logo img { height: 40px; margin-bottom: 20px; filter: brightness(0) invert(1); }
.footer-bottom {
    text-align: center;
    border-top: 1px solid #2D3748;
    padding-top: 30px;
    font-size: 0.9rem;
}

/* 7. Buttons & Forms */
.cta-button {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all var(--transition-speed);
    cursor: pointer;
    border: 2px solid transparent;
}
.cta-button.primary {
    background-color: var(--primary-color);
    color: var(--background-white);
}
.cta-button.primary:hover {
    background-color: #0045CC;
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(50, 50, 93, .1), 0 3px 6px rgba(0, 0, 0, .08);
}
.cta-button.secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}
.cta-button.secondary:hover {
    background-color: var(--primary-color);
    color: var(--background-white);
}
.cta-button.large {
    padding: 16px 32px;
    font-size: 1.1rem;
}
.header-cta {
    padding: 10px 24px;
}
.contact-form .form-group { margin-bottom: 20px; }
.contact-form label { display: block; font-weight: 500; color: var(--heading-color); margin-bottom: 8px; }
.contact-form input, .contact-form textarea, .contact-form select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 87, 255, 0.2);
}
.contact-form .form-row { display: flex; gap: 20px; }
.contact-form .form-row .form-group { flex: 1; }

/* 8. Hero Section */
.hero-section {
    background-color: var(--background-light);
    padding: 120px 0;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}
.hero-subtitle {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary-color);
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}
.hero-title { margin-bottom: 1.5rem; }
.hero-description { font-size: 1.1rem; max-width: 500px; margin-bottom: 2rem; }
.hero-buttons { display: flex; gap: 15px; }
.hero-image-placeholder {
    height: 450px;
    background-color: var(--primary-color);
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    box-shadow: var(--box-shadow-lg);
}
.hero-image-placeholder svg {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}
.hero-image-placeholder span {
    font-size: 1.2rem;
    font-weight: 500;
}

/* 9. Logo Cloud Section */
.logo-cloud-section {
    padding: 40px 0;
    background-color: var(--background-white);
    border-bottom: 1px solid var(--border-color);
}
.logo-cloud-title {
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 30px;
}
.logo-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}
.logo-grid span {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: #A0AEC0;
    opacity: 0.8;
    transition: opacity var(--transition-speed);
}
.logo-grid span:hover { opacity: 1; }

/* 10. Services Section */
.services-section {
    background-color: var(--background-light);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.service-card {
    background-color: var(--background-white);
    padding: 40px 30px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    text-align: center;
    transition: all var(--transition-speed);
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-lg);
    border-color: var(--primary-color);
}
.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    color: var(--primary-color);
}
.service-card h3 { margin-bottom: 15px; }
.service-link {
    font-weight: 600;
    margin-top: 20px;
    display: inline-block;
}

/* 11. Why Choose Us Section */
.why-us-section {
    background-color: var(--background-white);
}
.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    gap: 80px;
}
.why-us-image-placeholder {
    height: 500px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: var(--border-radius);
    display: flex;
    justify-content: center;
    align-items: center;
}
.why-us-image-placeholder svg { width: 100px; height: 100px; color: white; }
.why-us-content .section-header { text-align: left; margin: 0 0 40px; }
.feature-list .feature-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}
.feature-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    background-color: #E6F0FF;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
}
.feature-item h4 { margin-bottom: 5px; }
.feature-item p { margin: 0; }

/* 12. ROI Calculator Section */
.roi-calculator-section {
    background-color: var(--background-light);
}
.calculator-container {
    background-color: var(--background-white);
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}
.calculator-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}
.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}
.input-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1.2rem;
    font-weight: 700;
}
.calculator-outputs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
}
.output-box h4 {
    color: var(--text-color);
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 10px;
}
.output-box p {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 700;
    margin: 0;
    transition: color 0.5s ease;
}
.calculator-disclaimer {
    text-align: center;
    font-size: 0.9rem;
    margin-top: 40px;
    margin-bottom: 0;
    opacity: 0.7;
}

/* 13. Testimonials Section */
.testimonials-section {
    background-color: var(--background-white);
}
.testimonial-slider-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.testimonial-slider {
    display: flex;
    overflow: hidden;
}
.testimonial-slide {
    min-width: 100%;
    transition: transform 0.5s ease;
    opacity: 0;
    position: absolute;
    width: 100%;
}
.testimonial-slide.active {
    opacity: 1;
    position: relative;
}
.testimonial-card {
    text-align: center;
    padding: 20px;
}
.testimonial-quote {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--heading-color);
    line-height: 1.5;
    margin-bottom: 30px;
}
.testimonial-author {
    display: inline-flex;
    align-items: center;
    gap: 15px;
}
.author-info strong {
    display: block;
    color: var(--heading-color);
}
.slider-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}
.slider-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background-color: var(--background-white);
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-speed);
}
.slider-btn:hover {
    background-color: var(--primary-color);
    color: var(--background-white);
    border-color: var(--primary-color);
}

/* 14. Final CTA Section */
.final-cta-section {
    padding: 0;
}
.cta-box {
    background-color: var(--primary-color);
    color: var(--background-white);
    text-align: center;
    padding: 80px 40px;
    border-radius: var(--border-radius);
    margin: 50px 0;
}
.cta-box h2 {
    color: var(--background-white);
    margin-bottom: 20px;
}
.cta-box p {
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
}
.cta-box .cta-button.primary {
    background-color: var(--background-white);
    color: var(--primary-color);
}
.cta-box .cta-button.primary:hover {
    background-color: var(--secondary-color);
    color: var(--background-white);
}

/* 15. Generic Page & Legal Styles */
.page-header {
    padding: 80px 0;
    background-color: var(--background-light);
    text-align: center;
}
.page-header h1 { margin-bottom: 15px; }
.page-header p { max-width: 600px; margin: 0 auto; font-size: 1.1rem; }
.contact-section { padding: 100px 0; }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: flex-start;
}
.contact-info h3 { margin-bottom: 20px; }
.contact-info .info-list li { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.contact-info .info-list svg { width: 24px; height: 24px; color: var(--primary-color); flex-shrink: 0; }
.contact-form-container {
    background-color: var(--background-white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}
.legal-content-section { padding: 80px 0; }
.legal-container { max-width: 800px; }
.legal-container h2 { margin-top: 40px; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid var(--border-color); }
.legal-container h2:first-of-type { margin-top: 0; }
.legal-container ul { list-style: disc; margin: 20px 0 20px 20px; }
.legal-container ul li { margin-bottom: 10px; }

/* 16. Animations & Keyframes */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-on-scroll.fade-in-up { transform: translateY(40px); }
.animate-on-scroll.slide-in-left { transform: translateX(-50px); }
.animate-on-scroll.slide-in-right { transform: translateX(50px); }
.animate-on-scroll.zoom-in { transform: scale(0.95); }

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: none;
}
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* 17. Responsive Design (Media Queries) */
@media (max-width: 992px) {
    .hero-grid, .why-us-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    .hero-image-wrapper { order: -1; margin-bottom: 40px; }
    .why-us-grid { gap: 40px; }
    .why-us-content .section-header { text-align: center; }
    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        flex-direction: column;
        justify-content: center;
        background-color: var(--background-white);
        transform: translateX(-100%);
        transition: transform var(--transition-speed);
    }
    .nav-links.open { transform: translateX(0); }
    .mobile-nav-toggle { display: block; }
    .header-cta { display: none; }
}
@media (max-width: 768px) {
    section { padding: 80px 0; }
    :root { --header-height: 70px; }
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .calculator-inputs, .calculator-outputs { grid-template-columns: 1fr; }
    .contact-form .form-row { flex-direction: column; gap: 0; }
    .testimonial-quote { font-size: 1.25rem; }
}
@media (max-width: 480px) {
    .hero-buttons { flex-direction: column; align-items: stretch; text-align: center; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .contact-form-container { padding: 25px; }
}