/* JTEC Brand Colors */
:root {
    --deep-blue: #0067ac;
    --light-blue: #3b91cb;
    --mustard-yellow: #ec9d24;
    --medium-gray: #7a7a7a;
    --dark-gray: #474747;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --border-light: #e9ecef;
    --success-green: #28a745;
    --danger-red: #dc3545;
    --warning-orange: #fd7e14;
    --info-cyan: #17a2b8;
}

/* Global Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background: linear-gradient(135deg, var(--light-blue) 100%, var(--deep-blue) 0%);
    min-height: 100vh;
}

/* Authentication Body Specific */
.auth-body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--deep-blue) 100%);
    position: relative;
}

.auth-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.02)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.02)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.01)"/><circle cx="10" cy="90" r="0.5" fill="rgba(255,255,255,0.01)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

/* Navigation Styles */
.navbar {
    background: var(--deep-blue) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid var(--mustard-yellow);
}

/* Logo Styles */
.navbar-logo {
    height: 40px;
    width: auto;
    max-width: 40px;
    object-fit: contain;
    filter: brightness(1.1);
    transition: transform 0.3s ease;
}

.navbar-logo:hover {
    transform: scale(1.05);
}

.footer-logo {
    height: 30px;
    width: auto;
    max-width: 30px;
    object-fit: contain;
    opacity: 0.9;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.navbar-brand i {
    color: var(--mustard-yellow);
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: 25px;
    transition: all 0.3s ease;
    margin: 0 0.2rem;
}

.navbar-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.dropdown-menu {
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    margin-top: 0.5rem !important;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    color: var(--dark-gray);
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: var(--light-gray);
    color: var(--deep-blue);
}


/* Form Styles */
.form-label {
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-label i {
    color: var(--deep-blue);
    width: 16px;
    text-align: center;
}

.form-control, .form-select {
    border: 2px solid var(--border-light);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: var(--white);
}

.form-control:focus, .form-select:focus {
    border-color: var(--light-blue);
    box-shadow: 0 0 0 0.2rem rgba(59, 145, 203, 0.25);
    outline: none;
}

.form-control:hover, .form-select:hover {
    border-color: var(--light-blue);
}

/* Input Group Styles */
.input-group-text {
    background-color: var(--light-gray);
    border: 2px solid var(--border-light);
    border-right: none;
    color: var(--deep-blue);
    font-weight: 500;
}

.input-group .form-control {
    border-left: none;
}

.input-group:focus-within .input-group-text {
    border-color: var(--light-blue);
    background-color: rgba(59, 145, 203, 0.1);
}

.password-toggle {
    cursor: pointer;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: var(--mustard-yellow) !important;
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, var(--deep-blue) 0%, var(--light-blue) 100%);
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.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: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 103, 172, 0.4);
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--deep-blue) 100%);
}

.btn-primary:focus {
    box-shadow: 0 0 0 0.2rem rgba(59, 145, 203, 0.5);
}

.btn-outline-primary {
    color: var(--deep-blue);
    border: 2px solid var(--deep-blue);
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--deep-blue);
    border-color: var(--deep-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 103, 172, 0.3);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Alert Styles */
.alert {
    border: none;
    border-radius: 10px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid;
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    color: #721c24;
    border-left-color: var(--danger-red);
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.1);
    color: #155724;
    border-left-color: var(--success-green);
}

.alert-info {
    background-color: rgba(59, 145, 203, 0.1);
    color: var(--deep-blue);
    border-left-color: var(--light-blue);
}

.alert-warning {
    background-color: rgba(255, 193, 7, 0.1);
    color: #856404;
    border-left-color: var(--mustard-yellow);
}

/* Error Text */
.text-danger {
    color: var(--danger-red) !important;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Form Check */
.form-check-input:checked {
    background-color: var(--deep-blue);
    border-color: var(--deep-blue);
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(59, 145, 203, 0.25);
}

.form-check-label {
    color: var(--dark-gray);
    font-size: 0.9rem;
}

/* Links */
a {
    color: var(--deep-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--mustard-yellow);
    text-decoration: underline;
}

/* Divider Styles */
hr {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-light), transparent);
}

/* Footer */
footer {
    background: var(--dark-gray) !important;
    color: var(--white);
    border-top: 3px solid var(--mustard-yellow);
    margin-top: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-content {
        padding: 1rem 0;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .btn-lg {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .card-body {
        padding: 1rem;
    }
    
    .form-control, .form-select {
        padding: 0.65rem 0.85rem;
    }
    
    .btn {
        padding: 0.65rem 1.25rem;
    }
    
    .card-header {
        padding: 1rem;
    }
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeInUp 0.6s ease-out;
}

/* Special Effects */
.form-control:focus,
.form-select:focus {
    position: relative;
}

.form-control:focus::after,
.form-select:focus::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, var(--deep-blue), var(--light-blue));
    animation: expandWidth 0.3s ease-out;
}

@keyframes expandWidth {
    from { width: 0; }
    to { width: 100%; }
}

/* Loading State for Buttons */
.btn-primary:disabled {
    background: var(--medium-gray);
    cursor: not-allowed;
    transform: none;
}

/* Custom Text Colors */
.text-primary {
    color: var(--deep-blue) !important;
}

.text-muted {
    color: var(--medium-gray) !important;
}

/* Border Utilities */
.border-primary {
    border-color: var(--deep-blue) !important;
}

.border-light {
    border-color: var(--border-light) !important;
}

/* Background Utilities */
.bg-primary {
    background: linear-gradient(135deg, var(--deep-blue) 0%, var(--light-blue) 100%) !important;
}

.bg-light {
    background-color: var(--light-gray) !important;
}

/* Shadow Utilities */
.shadow-sm {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.shadow {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12) !important;
}

.shadow-lg {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

/* Accessibility Improvements */
.btn:focus,
.form-control:focus,
.form-select:focus,
.form-check-input:focus {
    outline: 2px solid var(--mustard-yellow);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .navbar,
    footer,
    .btn {
        display: none !important;
    }
    
    .card {
        box-shadow: none !important;
        border: 1px solid var(--dark-gray) !important;
    }
    
    body {
        background: var(--white) !important;
    }
}

/* CSS Variables - Adding missing variables */
:root {
    --deep-blue: #1e3a8a;
    --light-blue: #3b82f6;
    --mustard-yellow: #ec9d24;
    --dark-gray: #1f2937;
    --medium-gray: #6b7280;
    --light-gray: #f9fafb;
    --white: #ffffff;
    --border-light: #e5e7eb;
}

/* Base Layout Fixes */
.main-content {
    min-height: 100vh;
    padding-top: 80px;
}

/* Clear any potential float issues */
.container::after,
.row::after {
    content: "";
    display: table;
    clear: both;
}

/* Ensure sections don't overlap */
section {
    position: relative;
    z-index: 1;
    clear: both;
}

/* Homepage Specific Styles */
.hero-section {
    background: linear-gradient(135deg, var(--deep-blue) 0%, var(--light-blue) 100%);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    z-index: 1;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
    animation: fadeInUp 1s ease-out 0.4s both;
}

.btn-primary-custom {
    background: linear-gradient(45deg, var(--mustard-yellow), #f6b73c);
    border: none;
    color: var(--dark-gray);
    font-weight: 600;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(236, 157, 36, 0.4);
    position: relative;
    overflow: hidden;
    display: inline-block;
    text-decoration: none;
}

.btn-primary-custom::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: left 0.5s;
}

.btn-primary-custom:hover::before {
    left: 100%;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(236, 157, 36, 0.6);
    color: var(--dark-gray);
    text-decoration: none;
}

.btn-secondary-custom {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    font-weight: 600;
    padding: 13px 28px;
    border-radius: 50px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-secondary-custom:hover {
    background: var(--white);
    color: var(--deep-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
    text-decoration: none;
}

.hero-image {
    animation: float 6s ease-in-out infinite;
}

/* Stats Section - Proper spacing and positioning */
.stats-section {
    padding: 60px 0;
    background: var(--mustard-yellow);
    color: var(--dark-gray);
    position: relative;
    z-index: 1;
    margin: 0;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--deep-blue);
    display: block;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Services Section - Proper spacing */
.services-section {
    padding: 80px 0;
    background: var(--light-gray);
    position: relative;
    z-index: 1;
    margin: 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--deep-blue);
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--mustard-yellow), var(--light-blue));
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--medium-gray);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--deep-blue), var(--light-blue));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--light-blue), var(--deep-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: rotate(360deg);
    background: linear-gradient(135deg, var(--mustard-yellow), #f6b73c);
}

.service-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--deep-blue);
    margin-bottom: 1rem;
}

.service-description {
    color: var(--medium-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--deep-blue);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: var(--mustard-yellow);
    transform: translateX(5px);
    text-decoration: none;
}

/* Why Choose Us Section - Proper spacing */
.why-choose-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--deep-blue) 0%, var(--light-blue) 100%);
    color: var(--white);
    position: relative;
    z-index: 1;
    margin: 0;
}

.why-choose-section .section-title {
    color: var(--white);
}

.why-choose-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--mustard-yellow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-item:hover .feature-icon {
    background: var(--mustard-yellow);
    color: var(--deep-blue);
    border-color: var(--white);
    transform: scale(1.1);
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Testimonials Section - Proper spacing */
.testimonials-section {
    padding: 80px 0;
    background: var(--light-gray);
    position: relative;
    z-index: 1;
    margin: 0;
}

.testimonial-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
    margin-bottom: 2rem;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--mustard-yellow);
    font-family: serif;
    opacity: 0.3;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.testimonial-text {
    font-style: italic;
    color: var(--medium-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
    border: 3px solid var(--light-blue);
}

.author-info h6 {
    color: var(--deep-blue);
    font-weight: 600;
    margin: 0;
}

.author-info small {
    color: var(--medium-gray);
}

.rating {
    color: var(--mustard-yellow);
    margin-bottom: 1rem;
}

/* CTA Section - Proper spacing */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--deep-blue) 0%, var(--light-blue) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin: 0;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Button styling for CTA section */
.cta-section .btn-primary-custom,
.cta-section .btn-secondary-custom {
    margin: 0.5rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .hero-section {
        padding: 80px 0 60px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .services-section,
    .why-choose-section,
    .testimonials-section,
    .cta-section {
        padding: 60px 0;
    }
    
    .stats-section {
        padding: 40px 0;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .btn-primary-custom,
    .btn-secondary-custom {
        padding: 12px 24px;
        font-size: 1rem;
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    .service-card,
    .testimonial-card {
        margin-bottom: 1.5rem;
    }
    
    .feature-item {
        margin-bottom: 1.5rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-subtitle {
        font-size: 1.1rem;
    }
    
    .services-section,
    .why-choose-section,
    .testimonials-section,
    .cta-section {
        padding: 40px 0;
    }
    
    .stats-section {
        padding: 30px 0;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .service-card,
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .feature-item {
        padding: 1rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .hero-section {
        padding: 40px 0 30px;
    }
    
    .services-section,
    .why-choose-section,
    .testimonials-section,
    .cta-section {
        padding: 30px 0;
    }
    
    .stats-section {
        padding: 20px 0;
    }
}

/* Ensure proper spacing between sections */
.hero-section + .stats-section,
.stats-section + .services-section,
.services-section + .why-choose-section,
.why-choose-section + .testimonials-section,
.testimonials-section + .cta-section {
    border-top: none;
    margin-top: 0;
}

/* Fix any potential Bootstrap conflicts */
.container-fluid {
    padding-left: 15px;
    padding-right: 15px;
}

/* Ensure images are responsive */
.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
}

/* Fix button hover states */
.btn:focus,
.btn:active {
    box-shadow: none;
    outline: none;
}

/* Ensure proper row spacing */
.row {
    margin-left: -15px;
    margin-right: -15px;
}

.row > [class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
}

/* Contact Page Specific Styles - Matched to Home Page */
.contact-hero {
    background: linear-gradient(135deg, var(--deep-blue) 0%, var(--light-blue) 100%);
    color: var(--white);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    z-index: 1;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--white);
    transition: all 0.3s ease;
}

.stat-item i {
    color: var(--mustard-yellow);
    font-size: 1.2rem;
}

.stat-item:hover {
    transform: translateY(-2px);
}

/* Hero Illustration */
.hero-illustration {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 6s ease-in-out infinite;
}

.tech-circles {
    position: relative;
    width: 300px;
    height: 300px;
}

.circle {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--mustard-yellow);
    animation: orbit 20s linear infinite;
    transition: all 0.3s ease;
}

.circle:hover {
    background: var(--mustard-yellow);
    color: var(--deep-blue);
    border-color: var(--white);
    transform: scale(1.1);
}

.circle-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.circle-2 {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    animation-delay: -5s;
}

.circle-3 {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: -10s;
}

.circle-4 {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    animation-delay: -15s;
}

/* Contact Content */
.contact-content {
    background: var(--light-gray);
    padding: 80px 0;
    position: relative;
    z-index: 1;
    margin: 0;
}

.contact-form-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.contact-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--deep-blue), var(--light-blue));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.contact-form-card:hover::before {
    transform: scaleX(1);
}

.contact-form-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.card-header {
    margin-bottom: 2rem;
    text-align: center;
}

.card-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--deep-blue);
    margin-bottom: 1rem;
    position: relative;
}

.card-header h2::after {
    content: '';
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--mustard-yellow), var(--light-blue));
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.card-header p {
    font-size: 1.2rem;
    color: var(--medium-gray);
    margin-bottom: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Floating Input Groups */
.input-group-floating {
    position: relative;
    margin-bottom: 1.5rem;
}

.input-group-floating input,
.input-group-floating select,
.input-group-floating textarea {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid var(--border-light);
    border-radius: 15px;
    font-size: 1rem;
    background: var(--white);
    transition: all 0.3s ease;
    outline: none;
    color: var(--dark-gray);
}

.input-group-floating input:focus,
.input-group-floating select:focus,
.input-group-floating textarea:focus {
    border-color: var(--deep-blue);
    box-shadow: 0 0 0 3px rgba(0, 103, 172, 0.1);
    transform: translateY(-2px);
}

.input-group-floating label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: var(--medium-gray);
    font-weight: 500;
    pointer-events: none;
    transition: all 0.3s ease;
    background: var(--white);
    padding: 0 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.input-group-floating input:focus + label,
.input-group-floating input:not(:placeholder-shown) + label,
.input-group-floating select:focus + label,
.input-group-floating select:not([value=""]) + label,
.input-group-floating textarea:focus + label,
.input-group-floating textarea:not(:placeholder-shown) + label {
    top: -0.5rem;
    left: 1rem;
    font-size: 0.85rem;
    color: var(--deep-blue);
    font-weight: 600;
}

.input-group-floating label i {
    color: var(--mustard-yellow);
    font-size: 0.9rem;
}

/* Error Messages */
.error-message {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: block;
    animation: shake 0.5s ease-in-out;
}

/* Submit Button */
.submit-btn {
    background: linear-gradient(45deg, var(--mustard-yellow), #f6b73c);
    border: none;
    color: var(--dark-gray);
    font-weight: 600;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(236, 157, 36, 0.4);
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.submit-btn::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: left 0.5s;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(236, 157, 36, 0.6);
    color: var(--dark-gray);
}

.submit-btn:active {
    transform: translateY(0);
}

.btn-loading {
    display: none;
}

.submit-btn.loading .btn-loading {
    display: inline-block;
}

.submit-btn.loading i:not(.btn-loading i) {
    display: none;
}

/* Contact Information Card */
.contact-info-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--deep-blue), var(--light-blue));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.contact-info-card:hover::before {
    transform: scaleX(1);
}

.contact-info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.contact-info-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--deep-blue);
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: var(--light-gray);
    transform: translateX(5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--light-blue), var(--deep-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: rotate(360deg);
    background: linear-gradient(135deg, var(--mustard-yellow), #f6b73c);
}

.contact-details h5 {
    color: var(--deep-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-details a,
.contact-details span {
    color: var(--medium-gray);
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
    margin-bottom: 0.25rem;
    line-height: 1.6;
}

.contact-details a:hover {
    color: var(--deep-blue);
    text-decoration: none;
}

/* Quick Services Card */
.quick-services-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.quick-services-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--deep-blue), var(--light-blue));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.quick-services-card:hover::before {
    transform: scaleX(1);
}

.quick-services-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.quick-services-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--deep-blue);
    margin-bottom: 1.5rem;
}

.service-links {
    display: grid;
    gap: 0.75rem;
}

.service-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--light-gray);
    border-radius: 10px;
    text-decoration: none;
    color: var(--medium-gray);
    font-weight: 500;
    transition: all 0.3s ease;
}

.service-link:hover {
    background: linear-gradient(45deg, var(--deep-blue), var(--light-blue));
    color: var(--white);
    transform: translateX(5px);
    text-decoration: none;
}

.service-link i {
    color: var(--mustard-yellow);
    width: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.service-link:hover i {
    color: var(--mustard-yellow);
}

/* CTA Section */
.contact-cta {
    background: linear-gradient(135deg, var(--deep-blue) 0%, var(--light-blue) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin: 0;
}

.contact-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    z-index: 0;
}

.contact-cta > .container {
    position: relative;
    z-index: 2;
}

.contact-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.contact-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons .btn {
    border-radius: 50px;
    padding: 15px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    margin: 0.5rem;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    display: inline-block;
    text-decoration: none;
}

.cta-buttons .btn-outline-light {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.cta-buttons .btn-outline-light:hover {
    background: var(--white);
    color: var(--deep-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
    text-decoration: none;
}

.cta-buttons .btn-warning {
    background: linear-gradient(45deg, var(--mustard-yellow), #f6b73c);
    border: none;
    color: var(--dark-gray);
    box-shadow: 0 4px 15px rgba(236, 157, 36, 0.4);
}

.cta-buttons .btn-warning::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: left 0.5s;
}

.cta-buttons .btn-warning:hover::before {
    left: 100%;
}

.cta-buttons .btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(236, 157, 36, 0.6);
    color: var(--dark-gray);
    text-decoration: none;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes orbit {
    from {
        transform: rotate(0deg) translateX(100px) rotate(0deg);
    }
    to {
        transform: rotate(360deg) translateX(100px) rotate(-360deg);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    75% {
        transform: translateX(5px);
    }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .card-header h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .contact-hero {
        padding: 80px 0 60px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .contact-content,
    .contact-cta {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 60px 0 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        justify-content: center;
        align-items: center;
    }
    
    .contact-form-card,
    .contact-info-card,
    .quick-services-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .tech-circles {
        width: 250px;
        height: 250px;
    }
    
    .circle {
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
    }
    
    .cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .cta-buttons .btn {
        margin: 0 !important;
        width: 100%;
        max-width: 280px;
    }
    
    .card-header h2 {
        font-size: 2rem;
    }
    
    .contact-content,
    .contact-cta {
        padding: 40px 0;
    }
}

@media (max-width: 576px) {
    .contact-hero {
        padding: 40px 0 30px;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .contact-cta h2 {
        font-size: 1.8rem;
    }
    
    .contact-cta p {
        font-size: 1.1rem;
    }
    
    .input-group-floating input,
    .input-group-floating select,
    .input-group-floating textarea {
        padding: 0.875rem 0.875rem 0.875rem 2.5rem;
    }
    
    .card-header h2 {
        font-size: 1.8rem;
    }
    
    .contact-content,
    .contact-cta {
        padding: 30px 0;
    }
}

/* Form Validation States */
.input-group-floating.has-error input,
.input-group-floating.has-error select,
.input-group-floating.has-error textarea {
    border-color: #dc3545;
    animation: shake 0.5s ease-in-out;
}

.input-group-floating.has-success input,
.input-group-floating.has-success select,
.input-group-floating.has-success textarea {
    border-color: #28a745;
}

/* Ensure proper spacing between sections */
.contact-hero + .contact-content,
.contact-content + .contact-cta {
    border-top: none;
    margin-top: 0;
}

/* Fix any potential Bootstrap conflicts */
.container-fluid {
    padding-left: 15px;
    padding-right: 15px;
}

/* Fix button hover states */
.btn:focus,
.btn:active {
    box-shadow: none;
    outline: none;
}

/* Ensure proper row spacing */
.row {
    margin-left: -15px;
    margin-right: -15px;
}

.row > [class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
}

/* Service Page Specific Styles */
.service-hero {
    background: linear-gradient(135deg, var(--deep-blue) 0%, var(--light-blue) 100%);
    color: var(--white);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    z-index: 1;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
    z-index: 0;
}

.service-hero .container {
    position: relative;
    z-index: 2;
}

.service-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.service-hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.service-content {
    padding: 80px 0;
    background: var(--white);
    position: relative;
    z-index: 1;
}

.service-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--deep-blue);
    margin-bottom: 1.5rem;
    position: relative;
}

.service-content h2::after {
    content: '';
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--mustard-yellow), var(--light-blue));
    position: absolute;
    bottom: -10px;
    left: 0;
    border-radius: 2px;
}

.service-content p {
    color: var(--medium-gray);
    line-height: 1.6;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

/* Updated feature-list styling to fix text visibility */
.feature-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    color: #1f2937 !important; /* Use direct color value with !important to override any conflicting styles */
    font-weight: 500; /* Add this line for better readability */
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li:hover {
    padding-left: 10px;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 8px;
    border-bottom: 1px solid var(--light-blue);
    color: #1f2937 !important; /* Use direct color value with !important to ensure visibility on hover */
}

.feature-list i {
    color: var(--mustard-yellow);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(236, 157, 36, 0.1);
    border-radius: 50%;
    margin-right: 15px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.feature-list li:hover i {
    background: var(--mustard-yellow);
    color: var(--white);
    transform: scale(1.1);
}

/* Remove this rule since we're not using span elements */
/* .feature-list li span {
    color: var(--dark-gray);
    font-weight: 500;
} */

.service-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    position: relative;
}

.service-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
}

.service-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.service-image:hover img {
    transform: scale(1.05);
}

.price-badge {
    background: linear-gradient(45deg, var(--mustard-yellow), #f6b73c);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 700;
    display: inline-block;
    margin: 25px 0;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(236, 157, 36, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.price-badge::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: left 0.5s;
}

.price-badge:hover::before {
    left: 100%;
}

.price-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(236, 157, 36, 0.6);
}

.related-services {
    background: var(--light-gray);
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.related-services h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--deep-blue);
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

.related-services h2::after {
    content: '';
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--mustard-yellow), var(--light-blue));
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.related-services p {
    font-size: 1.2rem;
    color: var(--medium-gray);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--deep-blue), var(--light-blue));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.service-card .service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--light-blue), var(--deep-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: rotate(360deg);
    background: linear-gradient(135deg, var(--mustard-yellow), #f6b73c);
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--deep-blue);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--medium-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-card .service-link {
    color: var(--deep-blue);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.service-card .service-link:hover {
    color: var(--mustard-yellow);
    transform: translateX(5px);
    text-decoration: none;
}

.service-card .service-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.service-card .service-link:hover i {
    transform: translateX(3px);
}

.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--deep-blue) 0%, var(--light-blue) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin: 0;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    z-index: 0;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
}

/* Button styling for service page */
.btn-primary-service {
    background: linear-gradient(45deg, var(--mustard-yellow), #f6b73c);
    border: none;
    color: var(--dark-gray);
    font-weight: 600;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(236, 157, 36, 0.4);
    position: relative;
    overflow: hidden;
    display: inline-block;
    text-decoration: none;
}

.btn-primary-service::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: left 0.5s;
}

.btn-primary-service:hover::before {
    left: 100%;
}

.btn-primary-service:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(236, 157, 36, 0.6);
    color: var(--dark-gray);
    text-decoration: none;
}

.btn-secondary-service {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    font-weight: 600;
    padding: 13px 28px;
    border-radius: 50px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-secondary-service:hover {
    background: var(--white);
    color: var(--deep-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
    text-decoration: none;
}

/* Responsive design for service page */
@media (max-width: 992px) {
    .service-hero {
        padding: 80px 0 60px;
    }
    
    .service-hero h1 {
        font-size: 2.5rem;
    }
    
    .service-content,
    .related-services,
    .cta-section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .service-hero {
        padding: 60px 0 40px;
    }
    
    .service-hero h1 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .service-hero p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .service-content h2 {
        font-size: 1.8rem;
    }
    
    .related-services h2 {
        font-size: 2rem;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .service-content,
    .related-services,
    .cta-section {
        padding: 40px 0;
    }
    
    .service-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .service-hero h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .service-hero p {
        font-size: 1rem;
    }
    
    .service-content h2 {
        font-size: 1.6rem;
    }
    
    .related-services h2 {
        font-size: 1.8rem;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-hero {
        padding: 40px 0 30px;
    }
    
    .service-content,
    .related-services,
    .cta-section {
        padding: 30px 0;
    }
}

/* Ensure proper spacing between sections */
.service-hero + .service-content,
.service-content + .related-services,
.related-services + .cta-section {
    border-top: none;
    margin-top: 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* CSS Variables (make sure these are defined in your main CSS) */
:root {
    --deep-blue: #1e3a8a;
    --light-blue: #3b82f6;
    --mustard-yellow: #ec9d24;
    --dark-gray: #1f2937;
    --medium-gray: #6b7280;
    --light-gray: #f8fafc;
    --white: #ffffff;
    --border-light: #e5e7eb;
}

/* About Page Specific Styles */

/* About Hero Section */
.about-hero-section {
    background: linear-gradient(135deg, var(--deep-blue) 0%, var(--light-blue) 100%);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    z-index: 1;
    color: var(--white);
}

.about-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
    z-index: 0;
}

.about-hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: var(--mustard-yellow);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(236, 157, 36, 0.3);
    animation: fadeInUp 1s ease-out;
}

.about-hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.about-hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-stats-row {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-stat {
    text-align: center;
}

.hero-stat .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--mustard-yellow);
    display: block;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-stat .stat-label {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.8);
}

/* About Hero Image Section */
.about-hero-image {
    position: relative;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.image-wrapper {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image-placeholder {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: float 6s ease-in-out infinite;
}

.main-image-placeholder i {
    color: var(--mustard-yellow);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.main-image-placeholder p {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.floating-card {
    position: absolute;
    background: var(--white);
    border-radius: 15px;
    padding: 1rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--deep-blue);
    font-weight: 600;
    animation: floatCard 4s ease-in-out infinite;
    z-index: 3;
}

.floating-card i {
    color: var(--mustard-yellow);
    font-size: 1.2rem;
}

.floating-card.card-1 {
    top: 20%;
    left: -10%;
    animation-delay: 0s;
}

.floating-card.card-2 {
    top: 10%;
    right: -5%;
    animation-delay: 1s;
}

.floating-card.card-3 {
    bottom: 30%;
    left: -15%;
    animation-delay: 2s;
}

.floating-card.card-4 {
    bottom: 15%;
    right: -10%;
    animation-delay: 3s;
}

/* Our Story Section */
.our-story-section {
    padding: 80px 0;
    background: var(--light-gray);
    position: relative;
    z-index: 1;
    margin: 0;
}

.story-timeline {
    position: relative;
    padding: 2rem 0;
}

.story-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--deep-blue), var(--light-blue));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

.timeline-item.animate {
    opacity: 1;
    transform: translateX(0);
}

.timeline-dot {
    position: absolute;
    left: 19px;
    top: 0;
    width: 25px;
    height: 25px;
    background: var(--mustard-yellow);
    border-radius: 50%;
    border: 4px solid var(--white);
    box-shadow: 0 0 0 3px var(--deep-blue);
    z-index: 2;
}

.timeline-content {
    margin-left: 80px;
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--mustard-yellow);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 30px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 15px solid var(--white);
}

.timeline-content h4 {
    color: var(--deep-blue);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.timeline-content p {
    color: var(--medium-gray);
    line-height: 1.6;
    margin: 0;
}

/* Growth Chart */
.story-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.growth-chart {
    display: flex;
    align-items: end;
    gap: 2rem;
    height: 400px;
    padding: 2rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.chart-bar {
    width: 60px;
    background: linear-gradient(180deg, var(--mustard-yellow), var(--deep-blue));
    border-radius: 8px 8px 0 0;
    position: relative;
    height: 0;
    transition: height 1.5s ease-out;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
}

.chart-bar.animated {
    animation: barGrow 1.5s ease-out;
}

.bar-label {
    position: absolute;
    bottom: -40px;
    font-weight: 600;
    color: var(--deep-blue);
    font-size: 0.9rem;
}

.bar-value {
    position: absolute;
    top: -30px;
    font-weight: 600;
    color: var(--deep-blue);
    font-size: 0.8rem;
    white-space: nowrap;
}

/* Mission & Vision Section */
.mission-vision-section {
    padding: 80px 0;
    background: var(--white);
    position: relative;
    z-index: 1;
    margin: 0;
}

.mission-card,
.vision-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--deep-blue), var(--light-blue));
}

.vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--mustard-yellow), #f6b73c);
}

.mission-card:hover,
.vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
}

.mission-icon {
    background: linear-gradient(135deg, var(--deep-blue), var(--light-blue));
}

.vision-icon {
    background: linear-gradient(135deg, var(--mustard-yellow), #f6b73c);
}

.card-header h3 {
    color: var(--deep-blue);
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0;
}

.card-content p {
    color: var(--medium-gray);
    line-height: 1.7;
    font-size: 1.1rem;
    margin: 0;
}

/* Values Section */
.values-section {
    padding: 80px 0;
    background: var(--light-gray);
    position: relative;
    z-index: 1;
    margin: 0;
}

.value-item {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 20px;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--deep-blue), var(--mustard-yellow));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.value-item:hover::before {
    transform: scaleX(1);
}

.value-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--light-blue), var(--deep-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.value-item:hover .value-icon {
    transform: rotate(360deg);
    background: linear-gradient(135deg, var(--mustard-yellow), #f6b73c);
}

.value-item h4 {
    color: var(--deep-blue);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.value-item p {
    color: var(--medium-gray);
    line-height: 1.6;
    margin: 0;
}

/* Why JTECH Section */
.why-jtech-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--deep-blue) 0%, var(--light-blue) 100%);
    color: var(--white);
    position: relative;
    z-index: 1;
    margin: 0;
}

.why-jtech-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain2" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain2)"/></svg>');
    pointer-events: none;
    z-index: 0;
}

.why-jtech-section .section-title {
    color: var(--white);
}

.why-jtech-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.advantage-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--mustard-yellow);
}

.advantage-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.card-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    font-weight: 800;
    color: var(--mustard-yellow);
    opacity: 0.3;
}

.advantage-card .card-icon {
    width: 70px;
    height: 70px;
    background: var(--mustard-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--deep-blue);
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.advantage-card:hover .card-icon {
    transform: scale(1.1);
    background: var(--white);
}

.advantage-card h4 {
    color: var(--white);
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.advantage-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.about-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.about-feature-list li i {
    color: var(--mustard-yellow);
    margin-right: 0.8rem;
    font-size: 0.9rem;
}

/* Impact Section */
.impact-section {
    padding: 80px 0;
    background: var(--mustard-yellow);
    color: var(--dark-gray);
    position: relative;
    z-index: 1;
    margin: 0;
}

.impact-section .section-title {
    color: var(--deep-blue);
}

.impact-section .section-subtitle {
    color: var(--dark-gray);
}

.impact-stat {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.impact-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--deep-blue), var(--light-blue));
}

.impact-stat:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--deep-blue), var(--light-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.impact-stat:hover .stat-icon {
    transform: rotate(360deg);
    background: linear-gradient(135deg, var(--mustard-yellow), #f6b73c);
    color: var(--deep-blue);
}

.impact-stat .stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--deep-blue);
    display: block;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.impact-stat .stat-label {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--deep-blue);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-description {
    color: var(--medium-gray);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* About CTA Section */
.about-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--deep-blue) 0%, var(--light-blue) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin: 0;
}

.about-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    margin-bottom: 3rem;
}

.cta-buttons .btn-primary-custom,
.cta-buttons .btn-secondary-custom {
    margin: 0.5rem;
}

.cta-trust-indicators {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.trust-item i {
    color: var(--mustard-yellow);
    font-size: 1.2rem;
}

/* Animations */
@keyframes floatCard {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(2deg);
    }
}

@keyframes barGrow {
    from {
        transform: scaleY(0);
    }
    to {
        transform: scaleY(1);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .about-hero-title {
        font-size: 2.8rem;
    }
    
    .cta-title {
        font-size: 2.4rem;
    }
}

@media (max-width: 992px) {
    .about-hero-section,
    .our-story-section,
    .mission-vision-section,
    .values-section,
    .why-jtech-section,
    .impact-section,
    .about-cta-section {
        padding: 60px 0;
    }
    
    .about-hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats-row {
        justify-content: center;
        gap: 1.5rem;
    }
    
    .floating-card.card-1,
    .floating-card.card-3 {
        left: 0;
    }
    
    .floating-card.card-2,
    .floating-card.card-4 {
        right: 0;
    }
    
    .growth-chart {
        gap: 1.5rem;
        height: 300px;
    }
    
    .chart-bar {
        width: 50px;
    }
    
    .cta-trust-indicators {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .about-hero-section {
        padding: 60px 0 40px;
        text-align: center;
    }
    
    .about-hero-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .about-hero-description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-stats-row {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .hero-stat .stat-number {
        font-size: 2rem;
    }
    
    .floating-card {
        position: relative;
        margin-bottom: 1rem;
        display: inline-flex;
    }
    
    .floating-card.card-1,
    .floating-card.card-2,
    .floating-card.card-3,
    .floating-card.card-4 {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
    }
    
    .image-wrapper {
        height: auto;
        flex-direction: column;
        gap: 1rem;
    }
    
    .story-timeline::before {
        left: 15px;
    }
    
    .timeline-dot {
        left: 4px;
        width: 20px;
        height: 20px;
    }
    
    .timeline-content {
        margin-left: 50px;
        padding: 1.5rem;
    }
    
    .timeline-content::before {
        left: -10px;
        border-right-width: 10px;
    }
    
    .growth-chart {
        gap: 1rem;
        height: 250px;
        padding: 1rem;
    }
    
    .chart-bar {
        width: 40px;
    }
    
    .impact-stat .stat-number {
        font-size: 2.8rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-description {
        font-size: 1.1rem;
    }
    
    .cta-trust-indicators {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .our-story-section,
    .mission-vision-section,
    .values-section,
    .why-jtech-section,
    .impact-section,
    .about-cta-section {
        padding: 40px 0;
    }
}

@media (max-width: 576px) {
    .about-hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .about-hero-description {
        font-size: 1rem;
    }
    
    .hero-stat .stat-number {
        font-size: 1.8rem;
    }
    
    .hero-stat .stat-label {
        font-size: 0.9rem;
    }
    
    .timeline-content,
    .mission-card,
    .vision-card,
    .value-item,
    .advantage-card,
    .impact-stat {
        padding: 1.5rem;
    }
    
    .growth-chart {
        gap: 0.8rem;
        height: 200px;
    }
    
    .chart-bar {
        width: 35px;
    }
    
    .bar-value {
        font-size: 0.7rem;
    }
    
    .impact-stat .stat-number {
        font-size: 2.5rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .btn-primary-custom,
    .btn-secondary-custom {
        width: 100%;
        max-width: 280px;
    }
    
    .about-hero-section {
        padding: 40px 0 30px;
    }
    
    .our-story-section,
    .mission-vision-section,
    .values-section,
    .why-jtech-section,
    .impact-section,
    .about-cta-section {
        padding: 30px 0;
    }
}

/* Scroll animations */
.fade-in-about {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in-about.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Ensure proper spacing between sections */
.hero-section + .stats-section,
.stats-section + .services-section,
.services-section + .why-choose-section,
.why-choose-section + .testimonials-section,
.testimonials-section + .cta-section {
    border-top: none;
    margin-top: 0;
}

/* Fix any potential Bootstrap conflicts */
.container-fluid {
    padding-left: 15px;
    padding-right: 15px;
}

/* Ensure images are responsive */
.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
}

/* Fix button hover states */
.btn:focus,
.btn:active {
    box-shadow: none;
    outline: none;
}

/* Ensure proper row spacing */
.row {
    margin-left: -15px;
    margin-right: -15px;
}

.row > [class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
}