/* 
 * Main Stylesheet for Amdark Limited
 * Professional Fraud Recovery Consultation Services
 */

/* CSS Variables for Consistent Theming */
:root {
    /* Primary Brand Colors */
    --primary-blue: #1e3a8a;
    --primary-dark: #1e1b4b;
    --accent-gold: #f59e0b;
    
    /* Neutral Colors */
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --border-light: #e5e7eb;
    --background-light: #f8fafc;
    --white: #ffffff;
    
    /* Semantic Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 20px 0 rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 20px 60px 0 rgba(0, 0, 0, 0.15);
    
    /* Transitions */
    --transition: all 0.3s ease;
    --transition-fast: all 0.2s ease;
    
    /* Spacing */
    --spacer-1: 0.25rem;
    --spacer-2: 0.5rem;
    --spacer-3: 0.75rem;
    --spacer-4: 1rem;
    --spacer-5: 1.25rem;
    --spacer-6: 1.5rem;
    --spacer-8: 2rem;
    --spacer-10: 2.5rem;
    --spacer-12: 3rem;
    
    /* Z-index Organization */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--white);
    font-size: 1rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Typography - Perfect Text Scaling */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-dark);
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    font-weight: 800;
}

h2 {
    font-size: 2rem;
    line-height: 1.3;
    font-weight: 700;
    margin-top: 2rem;
}

h3 {
    font-size: 1.5rem;
    line-height: 1.4;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

a {
    text-decoration: none;
    color: var(--primary-blue);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: var(--z-fixed);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: var(--primary-dark);
    font-size: 1.8rem;
    font-weight: 800;
}

.site-logo {
    max-height: 50px;
    width: auto;
    object-fit: contain;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.hamburger {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* Navigation Styles */
nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.5rem;
    position: relative;
}

nav ul li a {
    color: var(--text-primary);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
    display: block;
}

nav ul li a:hover,
nav ul li a.active {
    background-color: var(--primary-blue);
    color: var(--white);
    text-decoration: none;
}

/* Dropdown Menu */
nav ul li.dropdown {
    position: relative;
}

nav ul li.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: var(--shadow);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 200px;
    z-index: var(--z-dropdown);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu li a {
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    border-radius: 0;
}

.dropdown-menu li a:hover {
    background-color: var(--background-light);
    color: var(--primary-blue);
}

/* Hero Section - Excellence */
.hero-section {
    background: linear-gradient(rgba(30, 58, 138, 0.85), rgba(30, 27, 75, 0.9)), url('../images/hero-bg.jpg') center/cover no-repeat;
    color: white;
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
}

/* Hero Layout - Side by side on desktop */
.hero-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1 1 600px; /* Grow and shrink, with a base width of 600px */
    color: var(--white);
    padding: 2rem;
    z-index: 2;
}

.hero-form {
    flex: 1 1 500px; /* Grow and shrink, with a base width of 500px */
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    margin: 2rem 0;
    max-width: 700px;
    z-index: 2;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(30, 58, 138, 0.85), rgba(30, 27, 75, 0.9)), url('../images/hero-bg.jpg') center/cover no-repeat;
    z-index: -1;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
    color: var(--white); /* Ensure h1 is white */
}

.hero-content h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--accent-gold);
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.7;
    color: var(--white); /* Ensure description is white */
}

/* Primary CTA Buttons - Perfection */
.cta-primary {
    display: inline-block;
    padding: 12px 32px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.badge {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 10px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.badge::before {
    content: "✓";
    margin-right: 8px;
    color: var(--success);
    font-weight: bold;
}

/* Mobile Specific Adjustments */
@media (max-width: 768px) {
    .container {
        width: 95%;
    }
    
    /* Show mobile menu toggle */
    .menu-toggle {
        display: flex;
    }
    
    /* Hide navigation by default on mobile */
    nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--white);
        box-shadow: var(--shadow);
        padding: 1rem;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: var(--z-fixed);
        border-top: 1px solid var(--border-light);
    }
    
    nav.active {
        transform: translateY(0);
    }
    
    header .container {
        flex-direction: row;
    }
    
    nav ul {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    
    nav ul li {
        margin: 0.5rem 0;
        width: 100%;
    }
    
    nav ul li a {
        padding: 1rem;
        border-radius: 8px;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Mobile dropdown */
    .dropdown-menu {
        position: static;
        box-shadow: none;
        padding: 0;
        margin-left: 1rem;
        display: none;
    }
    
    .dropdown-menu.active {
        display: block;
    }
    
    .dropdown > a::after {
        content: " ▼";
        font-size: 0.8rem;
        margin-left: 5px;
    }
    
    .hero-content {
        padding: 1.5rem;
        max-width: 100%;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .trust-badges {
        justify-content: center;
    }
    
    /* Mobile form adjustments - Reduced spacing */
    .form-row {
        flex-direction: column;
        margin: 0;
    }
    
    .form-group {
        flex: 1 0 100%;
        margin: 0 0 0.75rem 0; /* Reduced from 1rem to 0.75rem */
    }
    
    /* Specific mobile form spacing for hero form */
    .hero-form .form-group {
        margin: 0 0 0.6rem 0; /* Even tighter spacing for hero form */
    }
    
    /* Specific mobile form spacing for consultation form */
    .consultation-form .form-group,
    .contact-form .form-group {
        margin: 0 0 0.75rem 0; /* Reduced from 1rem to 0.75rem */
    }
    
    .services-grid,
    .stats-grid,
    .process-steps,
    .trust-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-form {
        margin: 1.5rem 0;
        padding: 1.5rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .testimonial-slide {
        padding: 1.5rem;
    }
    
    /* Hero layout for mobile */
    .hero-layout {
        flex-direction: column;
    }
}

/* Desktop form layout - Final override to ensure forms display correctly */
@media (min-width: 769px) {
    .hero-form .form-row,
    .form-row {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap;
        margin: 0 -8px;
    }
    
    .hero-form .form-group,
    .form-group {
        flex: 1 0 250px !important;
        margin: 0 8px 0.8rem !important;
    }
    
    /* Even more specific targeting for hero form */
    #consultation-form .form-row {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap;
        margin: 0 -8px;
    }
    
    #consultation-form .form-group {
        flex: 1 0 250px !important;
        margin: 0 8px 0.8rem !important;
    }
    
    .hero-form .form-container .form-row {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap;
        margin: 0 -8px;
    }
    
    .hero-form .form-container .form-group {
        flex: 1 0 250px !important;
        margin: 0 8px 0.8rem !important;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content h2 {
        font-size: 1.3rem;
    }
    
    .cta-primary, .btn-submit {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .testimonial-slide {
        padding: 1.5rem;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    /* Even tighter spacing on very small screens */
    .form-group {
        margin: 0 0 0.5rem 0; /* Reduced from 0.75rem to 0.5rem */
    }
    
    .hero-form .form-group {
        margin: 0 0 0.4rem 0; /* Reduced from 0.6rem to 0.4rem */
    }
    
    .consultation-form .form-group,
    .contact-form .form-group {
        margin: 0 0 0.5rem 0; /* Reduced from 0.75rem to 0.5rem */
    }
}

/* Hero Form - Excellence */
.hero-form .form-container h2 {
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 1.5rem;
}

form {
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -8px; /* Reduced from -10px */
}

.form-group {
    flex: 1 0 250px; /* Reduced from 300px */
    margin: 0 8px 0.8rem; /* Reduced from 1.2rem to 0.8rem for tighter spacing */
}

label {
    display: block;
    margin-bottom: 0.4rem; /* Reduced from 0.5rem */
    font-weight: 600;
    color: var(--text-primary);
}

/* Form Control Excellence */
.form-control {
    width: 100%;
    padding: 10px 14px; /* Reduced padding */
    border: 2px solid var(--border-light);
    border-radius: 8px;
    font-size: 0.95rem; /* Slightly smaller font */
    transition: var(--transition);
    font-family: 'Open Sans', sans-serif;
}

.form-control:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
}

.btn-submit {
    display: inline-block;
    padding: 12px 32px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
    width: 100%;
    margin-top: 0.75rem; /* Add small top margin to submit button */
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.4);
}

/* Ensure form rows are horizontal on desktop */
@media (min-width: 769px) {
    .form-row {
        flex-direction: row;
    }
    
    /* Ensure hero form maintains side-by-side layout */
    .hero-form .form-row {
        flex-direction: row;
    }
    
    /* Ensure form groups take appropriate width on desktop */
    .form-group {
        flex: 1 0 250px;
    }
    
    .hero-form .form-group {
        flex: 1 0 250px;
    }
    
    /* Additional specificity for hero form */
    .hero-form .form-row .form-group {
        flex: 1 0 250px;
        margin: 0 8px 0.8rem;
    }
}

/* Services Section - Card Excellence */
.services-section {
    padding: 5rem 0;
    background-color: var(--background-light);
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
}

.section-description {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Professional Service Cards */
.service-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;

}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.learn-more {
    font-weight: 600;
    color: var(--primary-blue);
    display: inline-flex;
    align-items: center;
}

.learn-more::after {
    content: "→";
    margin-left: 5px;
    transition: var(--transition);
}

.learn-more:hover::after {
    transform: translateX(5px);
}

/* Statistics Section */
.statistics-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 1.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: 'Poppins', sans-serif;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.testimonials-hero {
    padding: 3rem 0;
    background-color: var(--background-light);
}

.testimonials-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.testimonials-hero-content h2 {
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.testimonials-hero-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

/* Testimonial Card */
.testimonial-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.testimonial-header {
    padding: 1.5rem 1.5rem 0;
    text-align: center;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    overflow: hidden;
    background-color: var(--background-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--primary-blue);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-avatar.placeholder {
    background-color: var(--primary-blue);
    color: white;
    font-size: 2rem;
}

.testimonial-rating {
    margin-bottom: 1rem;
}

.star {
    color: var(--border-light);
    font-size: 1.2rem;
}

.star.filled {
    color: var(--accent-gold);
}

.testimonial-content {
    padding: 0 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.7;
    flex-grow: 1;
}

.testimonial-author {
    padding: 1.5rem;
    background-color: var(--background-light);
    text-align: center;
    margin-top: 1rem;
}

.testimonial-author h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.testimonial-author p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Testimonials CTA */
.testimonials-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
    color: white;
    text-align: center;
}

.testimonials-cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.testimonials-cta p {
    color: #e2e8f0;
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Process Section */
.process-section {
    padding: 5rem 0;
    background-color: var(--background-light);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.process-step {
    text-align: center;
    position: relative;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.process-step h3 {
    margin-bottom: 1rem;

}

/* Trust Section */
.trust-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.trust-item {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    transition: var(--transition);
    background-color: var(--background-light);
    border: 1px solid var(--border-light);
}

.trust-item:hover {
    background-color: var(--white);
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.trust-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
}

.trust-item h3 {
    margin-bottom: 1rem;

}

.trust-item p {
    color: var(--text-secondary);

}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--primary-dark), #0f0c29);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-section p {
    color: #e2e8f0;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: #cbd5e0;
}

.footer-section ul li a:hover {
    color: var(--white);
}

.footer-contact p {
    color: #e2e8f0;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    color: #cbd5e0;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* Subtle entrance animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive Design - Mobile-First Media Queries */
/* Base mobile styles */
.container { 
    width: 100%; 
    padding: 0 1rem; 
}

/* Tablet */
@media (min-width: 768px) {
    .container { 
        max-width: 720px; 
        padding: 0 1.5rem;
    }
    
    .hero-content h1 { 
        font-size: 3rem; 
    }
    
    .form-group {
        flex: 1 0 300px;
    }
    
    .form-row {
        flex-direction: row;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .container { 
        max-width: 1200px; 
        padding: 0 2rem;
    }
    
    .hero-content h1 { 
        font-size: 3.5rem; 
    }
    
    header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    nav ul {
        display: flex;
        list-style: none;
    }
    
    nav ul li {
        margin-left: 1.5rem;
    }
}

/* Large Desktop */
@media (min-width: 1200px) {
    .hero-content h1 { 
        font-size: 3.5rem; 
    }
}

/* About Page Styles */
.about-hero {
    padding: 4rem 0;
    background-color: var(--background-light);
}

.about-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.about-hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    line-height: 1.7;
}

/* About Page CTA Section */
.about-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
    color: var(--white);
    text-align: center;
}

.about-cta .cta-content h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.about-cta .cta-content p {
    color: #e2e8f0;
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

.about-cta .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Values Section */
.about-values {
    padding: 5rem 0;
    background-color: var(--white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.value-item {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    transition: var(--transition);
    background-color: var(--background-light);
    box-shadow: var(--shadow);
}

.value-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.value-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.value-item h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.value-item p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Testimonials Page Styles */
.testimonials-hero {
    padding: 4rem 0;
    background-color: var(--background-light);
    text-align: center;
}

.testimonials-hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.testimonials-hero-content p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: var(--text-primary);
    line-height: 1.7;
}

.testimonials-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.testimonial-rating {
    color: var(--accent-gold);
    font-size: 1.2rem;
}

.testimonial-content {
    margin-bottom: 2rem;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.7;
    position: relative;
}

.testimonial-content p::before {
    content: '"';
    font-size: 3rem;
    color: var(--primary-blue);
    opacity: 0.2;
    position: absolute;
    left: -1.5rem;
    top: -1.5rem;
}

.testimonial-author h4 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.testimonial-author p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.testimonials-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
    color: var(--white);
    text-align: center;
}

.testimonials-cta .cta-content h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.testimonials-cta .cta-content p {
    color: #e2e8f0;
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

/* FAQ Page Styles */
.faq-hero {
    padding: 4rem 0;
    background-color: var(--background-light);
    text-align: center;
}

.faq-hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.faq-hero-content p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: var(--text-primary);
    line-height: 1.7;
}

.faq-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}

.faq-question {
    padding: 1.5rem 2rem;
    background-color: var(--background-light);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: var(--primary-blue);
}

.faq-question:hover h3 {
    color: var(--white);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--primary-dark);
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-blue);
    transition: var(--transition);
}

.faq-question:hover .faq-toggle {
    color: var(--white);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: var(--white);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 2rem 1.5rem 2rem;
}

.faq-answer p {
    padding: 1.5rem 0;
    color: var(--text-primary);
    line-height: 1.7;
    border-top: 1px solid var(--border-light);
    margin: 0;
}

.faq-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
    color: var(--white);
    text-align: center;
}

.faq-cta .cta-content h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.faq-cta .cta-content p {
    color: #e2e8f0;
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

/* Admin Dashboard Styles */
.admin-dashboard {
    padding: 2rem 0;
}

.dashboard-header {
    margin-bottom: 2rem;
    text-align: center;
}

.dashboard-header h1 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.dashboard-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* Dashboard Stats */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 3rem;
}

.stat-card {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
    color: var(--white);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-card h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

/* Dashboard Content */
.dashboard-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.dashboard-section {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}

.dashboard-section h2 {
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-gold);
}

/* Action Buttons */
.action-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.btn-primary {
    display: inline-block;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-size: 0.95rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(30, 58, 138, 0.3);
}

/* Admin Table */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.admin-table th,
.admin-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.admin-table th {
    background-color: var(--background-light);
    font-weight: 600;
    color: var(--primary-dark);
}

.admin-table tr:hover {
    background-color: var(--background-light);
}

.btn-small {
    display: inline-block;
    padding: 6px 12px;
    background: var(--primary-blue);
    color: white;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.btn-small:hover {
    background: var(--primary-dark);
}

/* Status Badges */
.status {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-new {
    background-color: #fef3c7;
    color: #92400e;
}

.status-in_progress {
    background-color: #dbeafe;
    color: #1e40af;
}

.status-resolved {
    background-color: #d1fae5;
    color: #065f46;
}

.status-closed {
    background-color: #e5e7eb;
    color: #374151;
}

/* System Info */
.system-info p {
    margin-bottom: 0.8rem;
    padding: 0.5rem;
    background-color: var(--background-light);
    border-radius: 6px;
}

/* Responsive Admin Dashboard */
@media (max-width: 768px) {
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .dashboard-content {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        grid-template-columns: 1fr;
    }
    
    .admin-table {
        font-size: 0.9rem;
    }
    
    .admin-table th,
    .admin-table td {
        padding: 8px 10px;
    }
}

/* Services Content Section */
.services-content {
    padding: 5rem 0;
    background-color: var(--white);
}

.services-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.services-intro p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 4rem;
}

/* Professional Service Cards */
.service-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
    text-align: center;
}

.icon-placeholder {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    text-align: center;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    text-align: center;
}

/* Services CTA Section */
.services-cta {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
    border-radius: 16px;
    color: white;
    margin-top: 2rem;
}

.services-cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.services-cta p {
    color: #e2e8f0;
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Services Hero Section */
.services-hero {
    padding: 4rem 0;
    background-color: var(--background-light);
}

.services-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.services-hero-content h2 {
    margin-bottom: 1.5rem;
}

.services-hero-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Process Section */
.process-section {
    padding: 5rem 0;
    background-color: var(--background-light);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.process-step {
    text-align: center;
    position: relative;
    padding: 2.5rem 2rem;
    background-color: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.process-step h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.process-step p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Trust Indicators Section */
.trust-indicators {
    padding: 5rem 0;
    background-color: var(--white);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.trust-item {
    text-align: center;
    padding: 2rem;
    border-radius: 16px;
    transition: var(--transition);
}

.trust-item:hover {
    background-color: var(--background-light);
}

.trust-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.trust-item h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.trust-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Service Hero Section */
.service-hero {
    padding: 4rem 0;
    background-color: var(--background-light);
}

.service-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.service-hero-content h2 {
    margin-bottom: 1.5rem;
}

.service-hero-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Service Content Section */
.service-content {
    padding: 5rem 0;
    background-color: var(--white);
}

.service-details {
    margin-bottom: 4rem;
}

.service-details h2 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.service-details h3 {
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
}

.service-details p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.service-details ul {
    margin: 1rem 0 1rem 2rem;
}

.service-details ul li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Service CTA Box */
.service-cta-box {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    color: white;
    text-align: center;
}

.service-cta-box h3 {
    color: white;
    margin-bottom: 1rem;
}

.service-cta-box p {
    color: #e2e8f0;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Related Services Section */
.related-services {
    padding: 5rem 0;
    background-color: var(--background-light);
}

/* Blog Content Section */
.blog-content {
    padding: 5rem 0;
    background-color: var(--white);
}

.blog-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.blog-intro p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Blog Posts Grid */
.blog-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 4rem;
}

/* Blog Post Card */
.blog-post {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.post-header {
    padding: 1.5rem 1.5rem 0;
}

.post-header h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.post-meta .post-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-image {
    margin: 1rem 0;
}

.post-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.post-excerpt {
    padding: 0 1.5rem 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.post-excerpt p {
    color: var(--text-secondary);
    line-height: 1.6;
    flex-grow: 1;
}

.read-more {
    display: inline-block;
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    margin-top: 1rem;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

.read-more::after {
    content: " →";
    margin-left: 5px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 4rem;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 6px;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
}

.pagination a:hover {
    background-color: var(--primary-blue);
    color: white;
}

.pagination .current {
    background-color: var(--primary-blue);
    color: white;
    font-weight: 600;
}

/* Blog CTA Section */
.blog-cta {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
    border-radius: 16px;
    color: white;
    margin-top: 2rem;
}

.blog-cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.blog-cta p {
    color: #e2e8f0;
    max-width: 600px;
    margin: 0 auto 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 10px;
}

.newsletter-form .form-control {
    flex-grow: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 8px;
    font-family: 'Open Sans', sans-serif;
}

.newsletter-form .cta-primary {
    padding: 12px 20px;
}

/* Individual Blog Post */
.blog-post-content {
    padding: 5rem 0;
    background-color: var(--white);
}

.blog-post-detail {
    max-width: 800px;
    margin: 0 auto;
}

.post-featured-image {
    margin-bottom: 2rem;
    border-radius: 16px;
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.post-content {
    margin-bottom: 3rem;
}

.post-content h2 {
    margin: 2rem 0 1rem;
}

.post-content h3 {
    margin: 1.5rem 0 1rem;
}

.post-content p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.post-content ul,
.post-content ol {
    margin: 1rem 0 1.5rem 2rem;
}

.post-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Post CTA Section */
.post-cta-section {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    color: white;
    margin: 3rem 0;
}

.post-cta-section h2 {
    color: white;
    margin-bottom: 1rem;
}

.post-cta-section p {
    color: #e2e8f0;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.back-to-blog {
    text-align: center;
    margin-top: 2rem;
}

.btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--background-light);
    color: var(--text-primary);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-secondary:hover {
    background-color: var(--text-secondary);
    color: white;
    transform: translateY(-2px);
}

/* No Posts Message */
.no-posts {
    text-align: center;
    padding: 3rem;
    background-color: var(--background-light);
    border-radius: 16px;
}

.no-posts h3 {
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

/* Contact Page Styles */
.contact-content {
    padding: 5rem 0;
    background-color: var(--white);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info h2,
.contact-form-section h2 {
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* Contact Details */
.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    margin-bottom: 2rem;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-right: 1rem;
    min-width: 40px;
}

.contact-text h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-text p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Contact Map */
.contact-map {
    margin-top: 2rem;
}

.contact-map h3 {
    margin-bottom: 1rem;
}

.map-placeholder {
    background-color: var(--background-light);
    border-radius: 12px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    border: 1px dashed var(--border-light);
}

/* Contact Form */
.contact-form-section {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.contact-form .form-row {
    margin: 0 -10px;
}

.contact-form .form-group {
    margin: 0 10px 1rem; /* Reduced from default spacing */
}

.contact-form label {
    display: block;
    margin-bottom: 0.4rem; /* Reduced from 0.5rem */
    font-weight: 600;
    color: var(--text-primary);
}

.contact-form .required {
    color: var(--error);
}

.contact-form .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: 'Open Sans', sans-serif;
    background-color: var(--white);
}

.contact-form .form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
}

.contact-form textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.btn-submit {
    display: inline-block;
    padding: 12px 32px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
    width: 100%;
    margin-top: 0.5rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.4);
}

/* Error and Success Messages */
.error-message {
    background-color: #fee2e2;
    color: #991b1b;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #ef4444;
}

.error-message ul {
    margin: 0;
    padding-left: 1.5rem;
}

.error-message li {
    margin-bottom: 0.5rem;
}

.success-message {
    background-color: #d1fae5;
    color: #065f46;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #10b981;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-layout {
        flex-direction: column;
    }
    
    .hero-content {
        flex: 1 1 auto;
        width: 100%;
    }
    
    .hero-form {
        flex: 1 1 auto;
        width: 100%;
        margin: 1.5rem 0;
        padding: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-form-section {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .contact-content {
        padding: 3rem 0;
    }
    
    .contact-item {
        flex-direction: column;
    }
    
    .contact-icon {
        margin-bottom: 1rem;
    }
    
    .contact-form .form-row {
        flex-direction: column;
        margin: 0;
    }
    
    .contact-form .form-group {
        margin: 0 0 0.75rem;
    }
    
    .map-placeholder {
        height: 200px;
    }
}

/* Consultation Page Styles */
.consultation-content {
    padding: 5rem 0;
    background-color: var(--white);
}

.consultation-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.consultation-intro h2 {
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.consultation-intro p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.consultation-form-section {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    margin-bottom: 4rem;
}

.consultation-form .form-row {
    margin: 0 -10px;
}

.consultation-form .form-group {
    margin: 0 10px 1rem; /* Reduced from 1.5rem to 1rem */
}

.consultation-form label {
    display: block;
    margin-bottom: 0.4rem; /* Reduced from 0.5rem */
    font-weight: 600;
    color: var(--text-primary);
}

.consultation-form .required {
    color: var(--error);
}

.consultation-form .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: 'Open Sans', sans-serif;
    background-color: var(--white);
}

.consultation-form .form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
}

.consultation-form textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.consultation-form select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

/* Consultation Features */
.consultation-features {
    text-align: center;
}

.consultation-features h3 {
    margin-bottom: 2rem;
    color: var(--primary-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    background: white;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.feature-item h4 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .consultation-form-section {
        padding: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .consultation-content {
        padding: 3rem 0;
    }
    
    .consultation-form .form-row {
        flex-direction: column;
        margin: 0;
    }
    
    .consultation-form .form-group {
        margin: 0 0 0.75rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-item {
        padding: 1.5rem;
    }
}

/* Desktop form layout - Final override to ensure forms display correctly */
@media (min-width: 769px) {
    .hero-form .form-row,
    .form-row {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap;
        margin: 0 -8px;
    }
    
    .hero-form .form-group,
    .form-group {
        flex: 1 0 250px !important;
        margin: 0 8px 0.8rem !important;
    }
    
    /* Even more specific targeting for hero form */
    #consultation-form .form-row {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap;
        margin: 0 -8px;
    }
    
    #consultation-form .form-group {
        flex: 1 0 250px !important;
        margin: 0 8px 0.8rem !important;
    }
    
    .hero-form .form-container .form-row {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap;
        margin: 0 -8px;
    }
    
    .hero-form .form-container .form-group {
        flex: 1 0 250px !important;
        margin: 0 8px 0.8rem !important;
    }
}

/* Certificates Section */
.certificates-section {
    padding: 4rem 0;
    background-color: var(--background-light);
}

.certificates-section .section-content h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.certificates-section .section-content p {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.certificate-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 2rem;
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.certificate-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.certificate-icon {
    text-align: center;
    margin-bottom: 1.5rem;
}

.certificate-icon i {
    font-size: 3rem;
    color: var(--accent-gold);
}

.certificate-info h3 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.certificate-info p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    text-align: left;
}

.certificate-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.certificate-meta .file-info i {
    margin-right: 0.5rem;
    color: #dc2626;
}

.btn-download {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
    width: 100%;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3), 0 4px 6px -2px rgba(37, 99, 235, 0.1);
}

.btn-download i {
    margin-right: 0.5rem;
}

.no-certificates {
    text-align: center;
    padding: 3rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}

.no-certificates i {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.no-certificates h3 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.no-certificates p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .certificates-grid {
        grid-template-columns: 1fr;
    }
    
    .certificate-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}
