:root {
    /* Primary Colors */
    --primary: #0D47A1;    /* Dark Blue - Main brand color */
    --primary-dark: #002171;  /* Darker shade of primary */
    --primary-light: #5472d3; /* Lighter shade of primary */
    --secondary: #1565C0;     /* Slightly lighter blue for secondary elements */
    --accent: #FFA000;        /* Amber accent for CTAs and highlights */
    
    /* Neutral Colors */
    --dark: #1E293B;          /* Dark text color */
    --gray-dark: #475569;     /* Secondary text color */
    --gray: #94A3B8;          /* Muted text color */
    --gray-light: #E2E8F0;    /* Border/divider color */
    --light: #F8FAFC;         /* Light background color */
    --white: #FFFFFF;         /* Pure white */
    
    /* Status Colors */
    --success: #10B981;       /* Green for success messages */
    --warning: #F59E0B;       /* Yellow for warnings */
    --error: #EF4444;         /* Red for errors */
    --info: #3B82F6;          /* Blue for info messages */
    
    /* UI Elements */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Typography */
    --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    
    /* Layout */
    --max-width: 1200px;
    --border-radius: 0.5rem;
    --border-radius-lg: 1rem;
    --border-radius-full: 9999px;
}

/* Base Styles */
body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--dark);
    margin: 0;
    padding-top: 80px; /* Space for fixed header */
    background-color: var(--light);
}

/* Image Styles */
img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Header Styles */
.header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    background-color: var(--white) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    font-family: var(--font-sans) !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    height: 70px !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max-width);
    width: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 0 2rem;
}

.header-logo {
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.header-logo:hover {
    transform: translateY(-2px);
}

/* Navigation */
.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 1rem 0.5rem;
    position: relative;
    transition: var(--transition);
}

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

.nav-links a.current-page {
    color: var(--primary);
    font-weight: 700;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0.75rem;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--accent);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.current-page::after {
    width: 60%;
}

/* Mobile Navigation */
.menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--dark);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--transition);
}

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

@media (max-width: 768px) {
    .nav-container {
        padding: 0.75rem 1.5rem;
    }
    
    .menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: var(--shadow-md);
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 1rem;
        font-size: 1.1rem;
    }

    .nav-links a::after {
        display: none;
    }
    
    .nav-links a.current-page {
        background-color: var(--light);
    }
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-sans);
    text-align: center;
    text-decoration: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    white-space: nowrap;
    line-height: 1.5;
}

/* Primary Button */
.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover::before {
    left: 100%;
}

/* Outline Button */
.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--primary);
    transition: var(--transition);
    z-index: -1;
}

.btn-outline:hover {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline:hover::before {
    width: 100%;
}

/* Accent Button */
.btn-accent {
    background-color: var(--accent);
    color: var(--dark);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn-accent:hover {
    background-color: #e69100;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-accent:hover::before {
    left: 100%;
}

/* Button Sizes */
.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1.1rem;
    border-radius: calc(var(--border-radius) + 2px);
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    border-radius: calc(var(--border-radius) - 2px);
}

/* Button with Icon */
.btn i {
    font-size: 1.1em;
    transition: transform 0.2s ease;
}

.btn:hover i {
    transform: translateX(3px);
}

/* Block Button */
.btn-block {
    display: flex;
    width: 100%;
}

/* Disabled State */
.btn:disabled,
.btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* CTA Section */
.cta-section {
    padding: 6rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--light) 0%, var(--gray-light) 100%);
    position: relative;
    overflow: hidden;
}

.cta-container {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 0 1.5rem;
}

.cta-content {
    background: var(--white);
    padding: 4rem 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.cta-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

.cta-title {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 1.25rem;
    font-weight: 800;
    line-height: 1.2;
    font-family: var(--font-sans);
}

.cta-description {
    color: var(--gray-dark);
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    font-weight: 400;
}

.cta-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    padding: 1rem 2.25rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-sans);
    font-size: 1.05rem;
    border: 2px solid transparent;
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(13, 71, 161, 0.25);
}

.cta-button.secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
    transition: all 0.3s ease;
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(13, 71, 161, 0.35);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.cta-button.secondary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(13, 71, 161, 0.2);
}

.cta-button i {
    font-size: 1.1em;
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(4px);
}

.cta-pattern {
    position: absolute;
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
}

.cta-pattern-1 {
    top: 5%;
    right: 5%;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: float 8s ease-in-out infinite;
}

.cta-pattern-2 {
    bottom: 10%;
    left: 5%;
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    border-radius: 50%;
    animation: float 6s ease-in-out infinite 1s;
}

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

@media (max-width: 768px) {
    .cta-section {
        padding: 4rem 1rem;
    }
    
    .cta-content {
        padding: 2.5rem 1.5rem;
    }
    
    .cta-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .cta-description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-button {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
    }
    
    .cta-pattern-1,
    .cta-pattern-2 {
        width: 120px;
        height: 120px;
    }
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-family: var(--font-sans);
    color: var(--dark);
    background-color: var(--white);
    border: 1px solid var(--gray);
    border-radius: var(--border-radius);
    transition: var(--transition);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
}

.form-control::placeholder {
    color: var(--gray-dark);
    opacity: 0.6;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Form Validation */
:root {
    --danger: #dc3545;
    --danger-light: #f8d7da;
    --success: #198754;
    --success-light: #d1e7dd;
}

.form-control.is-invalid {
    border-color: var(--danger);
    padding-right: calc(1.5em + 0.75rem);
    background-color: var(--white);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.is-valid {
    border-color: var(--success);
    padding-right: calc(1.5em + 0.75rem);
    background-color: var(--white);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.invalid-feedback {
    width: 100%;
    margin-top: 0.5rem;
    font-size: 0.8125rem;
    color: var(--danger);
    display: none;
    padding: 0.5rem 0.75rem;
    background-color: var(--danger-light);
    border-radius: 0.25rem;
}

.was-validated .form-control:invalid ~ .invalid-feedback,
.was-validated .form-control:invalid ~ .invalid-tooltip,
.form-control.is-invalid ~ .invalid-feedback,
.form-control.is-invalid ~ .invalid-tooltip {
    display: block;
    margin-top: 0.5rem;
    animation: fadeIn 0.2s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.was-validated .form-control:invalid ~ .invalid-feedback,
.was-validated .form-control:invalid ~ .invalid-tooltip,
.form-control.is-invalid ~ .invalid-feedback,
.form-control.is-invalid ~ .invalid-tooltip {
    display: block;
}

/* Custom Checkbox and Radio */
.form-check {
    display: block;
    min-height: 1.5rem;
    padding-left: 1.5em;
    margin-bottom: 0.5rem;
}

.form-check-input {
    float: left;
    margin-left: -1.5em;
    width: 1em;
    height: 1em;
    margin-top: 0.25em;
    vertical-align: top;
    background-color: var(--white);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 1px solid var(--gray);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
    transition: var(--transition);
}

.form-check-input[type=checkbox] {
    border-radius: 0.25em;
}

.form-check-input[type=radio] {
    border-radius: 50%;
}

.form-check-input:active {
    filter: brightness(90%);
}

.form-check-input:focus {
    border-color: var(--primary);
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.form-check-input:checked[type=checkbox] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
}

.form-check-input:checked[type=radio] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e");
}

.form-check-label {
    color: var(--dark);
    cursor: pointer;
    font-size: 0.95rem;
}

/* Form Group with Icons */
.input-group {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}

.input-group-text {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--dark);
    text-align: center;
    white-space: nowrap;
    background-color: var(--light);
    border: 1px solid var(--gray);
    border-radius: var(--border-radius);
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
}

.input-group .form-control {
    position: relative;
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* Form Help Text */
.form-text {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: var(--gray-dark);
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
}

/* Responsive Forms */
@media (max-width: 576px) {
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
    }
}

/* Logo styles */
.logo-image {
    max-height: 70px;
    width: auto;
    object-fit: contain;
}

/* Hero image */
.hero-image img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: cover;
}

/* Feature images */
.feature-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

/* Team member images */
.team-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto;
}

/* Testimonial author images */
.author-image img {
    border-radius: 50%;
    object-fit: cover;
}

/* Partner logos */
.partner-logo img {
    max-width: 150px;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Portfolio images */
.portfolio-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}

/* Ensure consistent height for info div */
.contact-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 600px;
    position: relative;
    align-items: stretch;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.contact-info .info-item {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    min-height: 80px;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    position: relative;
}

.contact-info .info-item:last-child {
    border-bottom: none;
}

.contact-form {
    min-width: 400px;
    max-width: 500px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 1rem;
    height: fit-content;
}

.contact-form h2 {
    margin: 0;
    padding: 0;
    flex: 0 0 auto;
}

.contact-form #contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0;
}

.contact-form #contact-form .form-group {
    min-height: 50px;
    margin: 0;
    padding: 0;
}

.contact-form #contact-form .form-group label {
    margin-bottom: 0.25rem;
}

.contact-form #contact-form .form-group input,
.contact-form #contact-form .form-group select,
.contact-form #contact-form .form-group textarea {
    margin: 0;
    padding: 0.8rem;
    height: 100%;
}

.contact-form #contact-form .submit-button {
    margin: 0;
    padding: 1rem;
    width: 200px;
    align-self: center;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Header and Navigation */
/* =====================
   Footer Styles
   ===================== */
footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #e2e8f0;
    padding: 4rem 0 0;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.footer-section {
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    letter-spacing: 0.5px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #4f46e5, #8b5cf6);
    border-radius: 2px;
}

.footer-section p {
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: #e2e8f0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    font-weight: 400;
    opacity: 0.9;
}

.footer-section a:hover {
    color: #ffffff;
    opacity: 1;
    transform: translateX(3px);
}

.footer-section a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #4f46e5;
    transition: width 0.3s ease;
}

.footer-section a:hover::after {
    width: 100%;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.social-links a:hover {
    background: #4f46e5;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.social-links i {
    font-size: 1rem;
}

/* Footer bottom links */
.footer-bottom a {
    color: #e2e8f0;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.25rem 0.5rem;
    font-weight: 400;
    opacity: 0.9;
}

.footer-bottom a:hover {
    color: #ffffff;
    text-decoration: none;
    opacity: 1;
}

.footer-bottom .footer-link {
    display: inline-block;
    margin: 0 0.25rem;
}

.footer-bottom .footer-link.active {
    color: #ffffff;
    font-weight: 600;
}

.footer-bottom .footer-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #4f46e5, #8b5cf6);
    border-radius: 2px;
    transform: scaleX(1);
    transition: transform 0.3s ease;
}

.footer-bottom .footer-link:not(.active)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #4f46e5, #8b5cf6);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.footer-bottom .footer-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.divider {
    margin: 0 0.5rem;
    color: #475569;
}

/* Contact info icons */
.fa-envelope,
.fa-phone,
.fa-map-marker-alt {
    width: 20px;
    margin-right: 10px;
    color: #4f46e5;
}

.footer-bottom {
    background: rgba(15, 23, 42, 0.7);
    padding: 1.5rem 0;
    text-align: center;
    margin-top: 3rem;
    position: relative;
    backdrop-filter: blur(5px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.footer-bottom p {
    color: #94a3b8;
    font-size: 0.9rem;
    margin: 0;
    letter-spacing: 0.3px;
    line-height: 1.6;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-section ul {
        display: inline-block;
        text-align: left;
    }
}

/* Animation for footer elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-section {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.footer-section:nth-child(2) { animation-delay: 0.1s; }
.footer-section:nth-child(3) { animation-delay: 0.2s; }

/* Header and Navigation */
/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, var(--background) 0%, rgba(255, 255, 255, 0.95) 100%);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease-in-out;
    height: 80px;
}

header.scrolled {
    height: 60px;
    padding: 0.5rem 0;
}

.header.scrolled .logo {
    opacity: 0;
    transform: translateY(-20px);
}

nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    animation: logoFadeIn 1s ease-out;
    position: relative;
    z-index: 100;
    flex: 1;
    transition: all 0.3s ease-in-out;
    opacity: 1;
    transform: translateY(0);
}

.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    animation: logoFadeIn 1s ease-out;
    position: relative;
    z-index: 100;
    flex: 1;
    transition: all 0.3s ease-in-out;
    opacity: 1;
    transform: translateY(0);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin-left: auto;
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.nav-links a.active {
    color: var(--secondary-color);
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

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

.nav-links a.active {
    color: var(--secondary-color);
}

/* Logo Animations */
@keyframes logoPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes logoFadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Logo Styles */
/* Logo Variants and Effects */
.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    animation: logoFadeIn 1s ease-out;
    position: relative;
    z-index: 100;
}

.logo-img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    background: transparent;
    padding: 0;
    margin: 0;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    max-width: 100%;
    display: block;
    filter: brightness(1) contrast(1);
}

/* Responsive Logo Adjustments */
@media (max-width: 768px) {
    .logo-img {
        max-height: 40px;
    }
}

/* Hover Effects */
.logo:hover .logo-img {
    transform: scale(1.03) rotate(-2deg);
    filter: brightness(1.1) contrast(1.1) drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

/* Color Variants */
.logo.primary {
    filter: brightness(1) contrast(1) sepia(0) saturate(1);
}

.logo.secondary {
    filter: brightness(0.8) contrast(0.9) sepia(0.2) saturate(1.2);
}

.logo.inverted {
    filter: brightness(0.7) contrast(1.2) invert(1) hue-rotate(180deg);
}

.logo.dark {
    filter: brightness(0.6) contrast(0.9) sepia(0.1) saturate(1.1);
}

.logo.light {
    filter: brightness(1.2) contrast(1.1) sepia(0.1) saturate(1.2);
}

.logo.blue {
    filter: brightness(0.9) contrast(1) sepia(0) saturate(1) hue-rotate(180deg);
}

/* Footer Logo Styles */
.footer-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 100;
}

.footer-logo .logo-img {
    width: 100px;
    height: auto;
    object-fit: contain;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    background: transparent;
    padding: 0;
    margin: 0;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    max-width: 100%;
    display: block;
    filter: brightness(0.7) contrast(0.9) sepia(0.1) saturate(1.1);
}

.footer-logo:hover .logo-img {
    transform: scale(1.02) rotate(2deg);
    filter: brightness(0.8) contrast(1) sepia(0.1) saturate(1.2) drop-shadow(0 1px 2px rgba(0,0,0,0.1));
}

/* Responsive Logo Adjustments */
@media (max-width: 768px) {
    .logo-img {
        width: 120px;
    }
    
    .footer-logo .logo-img {
        width: 80px;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero-content {
        padding: 2rem 1rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .features-grid,
    .values-grid,
    .stories-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card,
    .value-card,
    .story-card {
        padding: 1.5rem;
    }
    
    .story-image {
        height: 200px;
    }
}

/* Logo Animation Variants */
.logo.animate-scale {
    animation: logoScale 2s infinite ease-in-out;
}

.logo.animate-float {
    animation: logoFloat 3s infinite ease-in-out;
}

.logo.animate-pulse {
    animation: logoPulse 2s infinite ease-in-out;
}

@keyframes logoScale {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes logoPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.9; }
}

/* Responsive Logo Adjustments */
@media (max-width: 768px) {
    .logo-img {
        width: 140px;
    }
}

.contact-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info .info-item {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-info .info-item i {
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.contact-info .info-item p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: #3498db;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 10rem 2rem 5rem;
    background-color: #f9f9f9;
    text-align: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section {
text-align: center;
margin-top: 3rem;
}

.cta-button {
display: inline-block;
padding: 1rem 2rem;
background-color: var(--secondary-color);
color: white;
text-decoration: none;
border-radius: 5px;
font-weight: 500;
transition: var(--transition);
box-shadow: var(--shadow-sm);
}

.cta-button:hover {
transform: translateY(-2px);
box-shadow: var(--shadow-md);
background-color: #2980b9;
}

.cta-button {
display: inline-block;
padding: 1rem 2rem;
background-color: #3498db;
color: white;
text-decoration: none;
border-radius: 5px;
transition: all 0.3s ease;
font-weight: 600;
letter-spacing: 0.5px;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.cta-button:hover {
background-color: #2980b9;
transform: translateY(-2px);
box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* CTA Section Styles */
.cta-section {
text-align: center;
margin-top: 2rem;
padding: 2rem;
background: rgba(255, 255, 255, 0.9);
border-radius: 10px;
box-shadow: 0 4px 20px rgba(0,0,0,0.1);
backdrop-filter: blur(5px);
}

.cta-section h2 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.cta-section p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Hero Section Styles */
.hero {
    position: relative;
    padding: 8rem 2rem 6rem;
    background-color: #f9f9f9;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.hero p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero {
        padding: 6rem 1rem 4rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .cta-section {
        padding: 1.5rem;
    }

    .cta-section h2 {
        font-size: 1.25rem;
    }

    .cta-section p {
        font-size: 1rem;
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
}

.hero-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 1rem;
    z-index: 2;
}

.hero-content {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    z-index: 3;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.3rem;
    margin: 0 auto 2rem;
    line-height: 1.6;
    max-width: 800px;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.75) 100%
    );
    z-index: 2;
}

/* CTA Section */
.cta-section {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 16px;
    margin: 3rem auto 0;
    max-width: 800px;
    position: relative;
    z-index: 3;
}

.cta-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.cta-section p {
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.3);
}

.cta-button i {
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(4px);
}

/* Responsive Styles */
@media (min-width: 768px) {
    .hero h1 {
        font-size: 4rem;
    }
    
    .hero p {
        font-size: 1.4rem;
    }
    
    .cta-section {
        padding: 3rem;
    }
    
    .cta-section h2 {
        font-size: 2.2rem;
    }
}

@media (min-width: 1200px) {
    .hero h1 {
        font-size: 4.5rem;
    }
    
    .hero p {
        font-size: 1.5rem;
    }
    
    .hero-container {
        padding: 8rem 2rem;
    }
}

/* Features Section */
.features {
    padding: 5rem 2rem;
    background-color: #fff;
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Values Section */
.values {
    padding: 5rem 2rem;
    background-color: #fff;
}

.values h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Success Stories Section */
.success-stories {
    padding: 5rem 2rem;
}

.success-stories h2 {
    text-align: center;
    color: var(--text-color);
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.story-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.story-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(52, 152, 219, 0.1));
    opacity: 0;
    transition: var(--transition);
}

.story-card:hover::before {
    opacity: 1;
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.story-image {
    position: relative;
    overflow: hidden;
    height: 300px;
    background-color: #f0f0f0; /* Fallback background */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.3s ease;
}

/* Story Stats */
.story-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    gap: 0.75rem;
}

.story-stat {
    flex: 1;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1rem 0.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.story-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(99, 102, 241, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.story-stat:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.2);
}

.story-stat:hover::before {
    opacity: 1;
}

.story-stat span {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, #4f46e5, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.25rem;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(15px);
    animation: fadeInUp 0.6s forwards;
    animation-delay: calc(0.15s * var(--i));
}

.story-stat p {
    font-size: 0.75rem;
    color: var(--text-light);
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    opacity: 0.9;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Add delay to each stat */
.story-stat:nth-child(1) { --i: 1; }
.story-stat:nth-child(2) { --i: 2; }
.story-stat:nth-child(3) { --i: 3; }

/* Screen reader only text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Hover effect - slight zoom */
.story-card:hover .story-image {
    transform: scale(1.03);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.story-content {
    padding: 2.5rem;
}

.story-content h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.story-content p {
    color: var(--text-light);
    line-height: 1.6;
    opacity: 0.9;
}

/* Why Choose Section */
.why-choose {
    padding: 5rem 2rem;
    background-color: #fff;
}

.why-choose h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.choose-card {
    background: #f9f9f9;
    padding: 2.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.choose-card:hover {
    transform: translateY(-5px);
}

.choose-card i {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 1.5rem;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 2rem;
    background-color: #fff;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.testimonials-slider {
    max-width: 1200px;
    margin: 0 auto;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Ensure 3 columns on larger screens */
@media (min-width: 1200px) {
    .features-grid,
    .services-grid,
    .portfolio-grid,
    .testimonials-slider,
    .team-grid,
    .approach-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 2 columns on medium screens */
@media (min-width: 768px) and (max-width: 1199px) {
    .features-grid,
    .services-grid,
    .portfolio-grid,
    .testimonials-slider,
    .team-grid,
    .approach-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Single column on mobile */
@media (max-width: 767px) {
    .features-grid,
    .services-grid,
    .portfolio-grid,
    .testimonials-slider,
    .team-grid,
    .approach-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
}

/* Card Styles */
.feature-card,
.service-card,
.portfolio-item,
.testimonial-card,
.team-member,
.approach-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-card:hover,
.service-card:hover,
.portfolio-item:hover,
.testimonial-card:hover,
.team-member:hover,
.approach-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Card content padding */
.portfolio-info,
.service-card > div:not(.image-placeholder),
.testimonial-content,
.team-info,
.approach-card > div {
    padding: 1.5rem;
}

/* Card titles */
.feature-card h3,
.service-card h2,
.portfolio-info h3,
.testimonial-author h3,
.team-info h3,
.approach-card h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--primary);
}

/* Card text */
.feature-card p,
.service-card p,
.portfolio-info p,
.testimonial-content p,
.team-info p,
.approach-card p {
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: translateY(0);
    will-change: transform, opacity;
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.portfolio-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.portfolio-info {
    padding: 1.5rem;
    background: white;
}

.portfolio-info h3 {
    margin: 0 0 0.75rem;
    color: #2c3e50;
    font-size: 1.25rem;
}

.portfolio-info p {
    color: #6c757d;
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.view-project {
    display: inline-block;
    color: #3498db;
    font-weight: 500;
    text-decoration: none;
    position: relative;
    padding-bottom: 3px;
}

.view-project::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #3498db;
    transition: width 0.3s ease;
}

.view-project:hover::after {
    width: 100%;
}

/* Portfolio Item Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.portfolio-item {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Responsive Grid */
@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        padding: 0 1.5rem;
    }
    
    .portfolio-filters {
        padding: 0 1.5rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1.25rem;
        font-size: 0.9rem;
    }
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

/* Portfolio Modal */
.portfolio-details {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    z-index: 1000;
}

.portfolio-modal {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    width: 90%;
    max-width: 1200px;
    border-radius: 10px;
    display: flex;
    overflow: hidden;
}

.modal-image {
    width: 50%;
    height: 100%;
    background-color: #f0f0f0;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-info {
    width: 50%;
    padding: 2rem;
}

.modal-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.modal-description {
    margin-bottom: 1.5rem;
    color: #666;
    line-height: 1.6;
}

.modal-tags {
    margin-bottom: 1.5rem;
}

.modal-tags span {
    background-color: #f0f0f0;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    margin-right: 0.5rem;
    color: #333;
}

.modal-details {
    border-top: 1px solid #eee;
    padding-top: 1.5rem;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: white;
}

.close-modal:hover {
    color: #3498db;
}

/* Animation Classes */
.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
footer {
    background: var(--background);
    color: var(--text-color);
    padding: 4rem 2rem 3rem;
    margin-top: 5rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* Footer Content */
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr 2fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    position: relative;
    z-index: 1;
}

/* Footer Logo Section */
.header-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-logo .company-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    line-height: 1.2;
    margin: 0;
    padding: 0.5rem 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Footer Navigation */
.footer-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-nav a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--secondary-color);
}

/* Footer Contact */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* Footer Social Links */
.footer-social {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.social-link {
    color: var(--text-light);
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-link:hover {
    color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-light);
}

/* Logo Section */
.footer-logo {
    margin-bottom: 1.8rem;
}

.footer-logo img {
    max-width: 150px;
    height: auto;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-logo img:hover {
    transform: scale(1.08);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.8rem;
    font-size: 1.1rem;
    line-height: 1.7;
    font-weight: 400;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
    margin-top: 1.5rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: linear-gradient(135deg, #3182ce, #4299e1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-icon:hover::before {
    transform: translateX(100%);
}

.social-icon:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(49, 130, 206, 0.3);
}

.social-icon i {
    color: white;
    font-size: 1.2rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-icon:hover i {
    transform: scale(1.2);
}

/* Quick Links */
.footer-nav {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.footer-nav li {
    margin-bottom: 1.2rem;
}

.footer-nav li a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    position: relative;
    padding: 0.4rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-nav li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3182ce, #4299e1);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-nav li a:hover {
    color: #3182ce;
    transform: translateX(8px);
}

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

/* Newsletter */
.newsletter-form {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.8rem;
    position: relative;
}

.newsletter-form::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(49, 130, 206, 0), #3182ce, rgba(49, 130, 206, 0));
}

.newsletter-form input {
    flex: 1;
    padding: 0.9rem 1.5rem;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    color: white;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.newsletter-form input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.2);
}

.newsletter-button {
    padding: 0.9rem 2rem;
    background: linear-gradient(135deg, #3182ce, #4299e1);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.newsletter-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.newsletter-button:hover::before {
    transform: translateX(100%);
}

.newsletter-button:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(49, 130, 206, 0.3);
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    margin-top: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-item:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.03);
}

.info-item i {
    color: #3182ce;
    font-size: 1.3rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-item:hover i {
    transform: scale(1.2);
}

.info-item p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
}

main {
    min-height: calc(100vh - 200px);
    padding: 40px 0;
    margin-top: 80px; /* Space for fixed header */
    position: relative;
    z-index: 1;
}

/* Ensure content doesn't jump when header becomes fixed */
html {
    scroll-padding-top: 80px;
}

/* Footer Bottom */
.footer-bottom {
    padding-top: 80px; /* Space for fixed header */
    margin-top: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.04));
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    font-weight: 400;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    position: relative;
    padding: 0.3rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3182ce, #4299e1);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-link:hover {
    color: #3182ce;
    transform: translateY(-4px);
}

.footer-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Statistics Section */
.statistics {
    background-color: #f8f9fa;
    padding: 4rem 0;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.stat-item {
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0D47A1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: #555;
}

/* Partners Section */
.partners {
    padding: 4rem 0;
    background-color: white;
    text-align: center;
}

.partners h2 {
    margin-bottom: 2rem;
    color: #333;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.partner-logo {
    flex: 0 0 auto;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.partner-logo:hover {
    transform: scale(1.05);
}

.partner-logo img {
    max-width: 150px;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Responsive adjustments for statistics and partners */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .partner-logo {
        flex: 0 0 calc(33.333% - 2rem);
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .stat-item {
        padding: 1.5rem 1rem;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .partners-grid {
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .partner-logo {
        flex: 0 0 calc(50% - 1rem);
    }
    
    .partner-logo img {
        max-width: 120px;
    }
}

@media (max-width: 480px) {
    .partner-logo {
        flex: 0 0 100%;
    }
    
    .partner-logo img {
        max-width: 100%;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .newsletter-form {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-links {
        gap: 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Placeholder Images */
.image-placeholder {
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-weight: bold;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.image-placeholder::after {
    content: attr(data-text);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

/* Expertise Section */
.features {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.1), transparent);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.features h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.feature-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(52, 152, 219, 0.05), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-card:hover::before {
    transform: translateX(100%);
}

.feature-card .image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.feature-card:hover .image-placeholder {
    transform: scale(1.02);
}

.feature-card .image-placeholder::after {
    content: attr(data-text);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    z-index: 2;
}

.feature-card .image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%) skewX(-15deg);
    transition: transform 0.6s ease;
    z-index: 1;
}

.feature-card:hover .image-placeholder::before {
    transform: translateX(100%) skewX(-15deg);
}

.feature-card h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin: 1.5rem 1.5rem 1rem;
    transition: color 0.3s ease;
}

.feature-card p {
    color: #6c757d;
    line-height: 1.7;
    padding: 0 1.5rem 1.5rem;
    margin: 0;
    flex-grow: 1;
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::after {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .features-grid,
    .services-grid,
    .team-grid,
    .approach-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
}
