/* ==================================
   VARIABLES & DESIGN SYSTEM
================================== */
:root {
    /* Color Palette */
    --color-primary-dark: #071328; /* Deep Dark Blue - Backgrounds & Headers */
    --color-primary: #122c55;      /* Dark Blue - Cards & secondary elements */
    --color-secondary: #0a4282;    /* Blue accent */
    --color-accent-gold: #c9a256;  /* Premium Gold - buttons, icons, highlights */
    --color-accent-green: #2ecc71; /* Success Green - growth markers */
    
    --color-light-bg: #f8f9fc;     /* Light grayish-blue for section backgrounds */
    --color-white: #ffffff;
    
    --color-text-main: #333333;    /* Main Body Text (on white) */
    --color-text-muted: #666666;   /* Subtitles & Descriptions */
    --color-text-light: #e0e6ed;   /* Text on dark backgrounds */
    
    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions & Shadows */
    --transition-fast: 0.2s ease-in-out;
    --transition-smooth: 0.4s ease-in-out;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* ==================================
   CSS RESET
================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* Typography Base Defaults */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-primary-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Force visibility Override against cached JS */
.section-title, .section-subtitle, .about-content, .service-card, .why-item, .step-box, .product-list li, .stat-card, .testi-card, .contact-info, .contact-form, .badge, .hero p, .hero-actions, .hero-stats {
    opacity: 1 !important;
    transform: none !important;
}

/* ==================================
   UTILITY CLASSES
================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Base Button Style */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-primary {
    background-color: var(--color-accent-gold);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: #b58f48;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(201, 162, 86, 0.3);
}

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

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

/* ==================================
   HEADER & NAVIGATION
================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-smooth);
    background-color: transparent;
}

.site-header.scrolled {
    background-color: var(--color-primary-dark);
    padding: 15px 0;
    box-shadow: var(--shadow-md);
}

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

.logo a {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-white);
    letter-spacing: 1px;
}

.logo a span {
    color: var(--color-accent-gold);
}

.logo img {
    max-height: 45px;
    width: auto;
    display: block;
    border-radius: 4px;
}

.main-nav {
    display: flex;
    align-items: center;
}

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

.nav-list li a {
    color: var(--color-white);
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition-fast);
    position: relative;
}

.nav-list li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--color-accent-gold);
    transition: var(--transition-fast);
}

.nav-list li a:hover::after {
    width: 100%;
}

.nav-list li a:hover {
    color: var(--color-accent-gold);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile-toggle {
    display: none;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==================================
   HERO SECTION
================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background-color: var(--color-primary-dark);
    background-image: linear-gradient(to right, rgba(7, 19, 40, 0.95) 40%, rgba(7, 19, 40, 0.6) 100%), url('../images/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 80px; /* Offset for header */
}

.hero-content {
    max-width: 650px;
    color: var(--color-white);
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background-color: rgba(46, 204, 113, 0.15);
    color: var(--color-accent-green);
    border: 1px solid rgba(46, 204, 113, 0.3);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.2s;
}

.hero h1 {
    font-size: 3.8rem;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 20px;
    line-height: 1.1;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.4s;
}

.hero h1 .highlight {
    color: var(--color-accent-gold);
    display: block;
}

.hero p {
    font-size: 1.15rem;
    color: var(--color-text-light);
    margin-bottom: 40px;
    font-weight: 300;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.6s;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.8s;
}

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 1s;
}

.stat h3 {
    color: var(--color-accent-gold);
    font-size: 2rem;
    margin-bottom: 5px;
}

.stat p {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Header Responsive Support Base */
@media screen and (max-width: 992px) {
    .nav-list {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
    .hero h1 {
        font-size: 2.8rem;
    }
}
@media screen and (max-width: 576px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero-actions {
        flex-direction: column;
    }
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
}

/* ==================================
   GLOBAL CLASSES (Additional)
================================== */
.mt-4 { margin-top: 2rem; }
.section-title span { color: var(--color-accent-gold); }

/* ==================================
   ABOUT SECTION
================================== */
.about {
    background-color: var(--color-white);
}

.about-flex {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image {
    flex: 1;
}

.image-box {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.image-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(201, 162, 86, 0.1) 0%, transparent 60%);
    animation: rotateGradient 10s linear infinite;
}

@keyframes rotateGradient {
    100% { transform: rotate(360deg); }
}

.image-box i {
    font-size: 8rem;
    color: var(--color-accent-gold);
    z-index: 1;
}

.about-content {
    flex: 1;
}

.about-content .section-subtitle {
    margin-left: 0;
    margin-right: 0;
    font-weight: 500;
    color: var(--color-primary);
}

.about-features {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.about-features i {
    color: var(--color-accent-green);
    font-size: 1.2rem;
}

/* ==================================
   SERVICES SECTION
================================== */
.services {
    background-color: var(--color-light-bg);
}

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

.service-card {
    background-color: var(--color-white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--color-accent-gold);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(201, 162, 86, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    color: var(--color-accent-gold);
    font-size: 2rem;
    transition: var(--transition-fast);
}

.service-card:hover .service-icon {
    background-color: var(--color-accent-gold);
    color: var(--color-white);
}

.service-card h3 {
    font-size: 1.3rem;
    color: var(--color-primary-dark);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-secondary);
    font-weight: 600;
    margin-top: 15px;
    transition: var(--transition-fast);
}

.service-link:hover {
    color: var(--color-accent-gold);
    gap: 12px; /* Slight slide effect right */
}

/* Responsive for About Section */
/* ==================================
   WHY CHOOSE US SECTION
================================== */
.why-us {
    background-color: var(--color-primary-dark);
}

.text-white { color: var(--color-white) !important; }
.text-light-muted { color: var(--color-text-light) !important; }

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.why-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.why-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.why-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--color-accent-gold) 0%, #b58f48 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: var(--color-white);
    box-shadow: 0 10px 20px rgba(201, 162, 86, 0.2);
}

.why-item h4 {
    color: var(--color-white);
    font-size: 1.2rem;
}

.why-item p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ==================================
   HOW IT WORKS SECTION
================================== */
.how-it-works {
    background-color: var(--color-white);
}

.steps-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-top: 50px;
    position: relative;
}

/* Connecting Line */
.steps-container::before {
    content: '';
    position: absolute;
    top: 35px;
    left: 50px;
    right: 50px;
    height: 2px;
    background-color: rgba(201, 162, 86, 0.3);
    z-index: 1;
}

.step-box {
    flex: 1;
    min-width: 220px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    background-color: var(--color-white);
    border: 3px solid var(--color-accent-gold);
    color: var(--color-accent-gold);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    font-family: var(--font-heading);
    font-weight: 800;
    box-shadow: 0 0 0 10px var(--color-white); /* To cut the connecting line behind it */
    transition: var(--transition-fast);
}

.step-box:hover .step-icon {
    background-color: var(--color-accent-gold);
    color: var(--color-white);
}

.step-content h4 {
    font-size: 1.2rem;
    color: var(--color-primary-dark);
}

.step-content p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

/* Responsive adjustments */
@media screen and (max-width: 992px) {
    .steps-container::before {
        display: none;
    }
    .step-box {
        display: flex;
        align-items: flex-start;
        text-align: left;
        gap: 20px;
        min-width: 100%;
        margin-bottom: 20px;
    }
    .step-icon {
        margin: 0;
        flex-shrink: 0;
    }
}

/* ==================================
   PRODUCTS SECTION
================================== */
.products {
    background-color: var(--color-light-bg);
}

.product-wrap {
    display: flex;
    align-items: center;
    gap: 60px;
}

.product-text {
    flex: 1;
}

.product-list {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.product-list li {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.product-list i {
    font-size: 1.5rem;
    color: var(--color-accent-gold);
    background-color: var(--color-white);
    padding: 15px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.product-list h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.product-list p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.product-stats-img {
    flex: 1;
    position: relative;
    min-height: 400px;
    background: radial-gradient(circle, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    color: var(--color-white);
    width: 60%;
    transform: translateX(30px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.stat-card-1 {
    transform: translateX(-30px);
}

.stat-card h4 {
    color: var(--color-accent-green);
    font-size: 2.2rem;
    margin-bottom: 5px;
}

.stat-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ==================================
   TESTIMONIALS SECTION
================================== */
.testimonials {
    background-color: var(--color-white);
}

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

.testi-card {
    background-color: var(--color-light-bg);
    padding: 40px 30px;
    border-radius: 12px;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.quote {
    color: var(--color-accent-gold);
    font-size: 2rem;
    opacity: 0.3;
    margin-bottom: 20px;
}

.testi-text {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--color-text-main);
    margin-bottom: 25px;
}

.client-info h5 {
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.client-info span {
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

/* ==================================
   FAQ SECTION
================================== */
.faq {
    background-color: var(--color-light-bg);
}

.faq-container {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    background-color: var(--color-white);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-header {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.faq-header h4 {
    margin-bottom: 0;
    font-size: 1.1rem;
    color: var(--color-primary-dark);
}

.faq-header i {
    color: var(--color-accent-gold);
    transition: transform 0.3s ease;
}

.faq-body {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-body p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.faq-item.active .faq-header {
    background-color: rgba(201, 162, 86, 0.05);
}

.faq-item.active .faq-body {
    padding: 0 25px 20px;
    max-height: 200px;
}

.faq-item.active .faq-header i {
    transform: rotate(45deg);
}

/* ==================================
   CONTACT SECTION
================================== */
.contact {
    background-color: var(--color-white);
}

.contact-wrap {
    display: flex;
    gap: 60px;
}

.contact-info {
    flex: 1;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.info-item i {
    width: 50px;
    height: 50px;
    background-color: rgba(201, 162, 86, 0.1);
    color: var(--color-accent-gold);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-item h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.info-item p {
    color: var(--color-text-muted);
    margin-bottom: 0;
}

.contact-form {
    flex: 1;
    background-color: var(--color-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e6ed;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent-gold);
    box-shadow: 0 0 0 3px rgba(201, 162, 86, 0.1);
}

.w-100 { width: 100%; }

/* ==================================
   FOOTER SECTION
================================== */
.site-footer {
    background-color: var(--color-primary-dark);
    padding: 80px 0 20px;
    color: var(--color-white);
}

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

.footer-text {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-top: 20px;
}

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

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

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

.footer-widget h4 {
    color: var(--color-white);
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-accent-gold);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    color: var(--color-text-light);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-accent-gold);
    padding-left: 5px;
}

.newsletter-form {
    display: flex;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    outline: none;
    font-family: var(--font-body);
}

.newsletter-form button {
    background-color: var(--color-accent-gold);
    color: var(--color-white);
    border: none;
    padding: 0 20px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: var(--transition-fast);
}

.newsletter-form button:hover {
    background-color: #b58f48;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-text-light);
    font-size: 0.85rem;
}

.bottom-links {
    display: flex;
    gap: 20px;
}

.bottom-links a:hover {
    color: var(--color-accent-gold);
}

/* ==================================
   RESPONSIVE (Final Fixes)
================================== */
@media screen and (max-width: 992px) {
    .product-wrap, .contact-wrap {
        flex-direction: column;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media screen and (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .stat-card {
        width: 80%;
        transform: translateX(0);
    }
    .stat-card-1 {
        transform: translateX(0);
    }
    .contact-form {
        padding: 25px;
    }
}

@media screen and (max-width: 992px) {
    .about-flex {
        flex-direction: column;
    }
}
@media screen and (max-width: 576px) {
    .about-features {
        grid-template-columns: 1fr;
    }
}
