/* Typography and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy-primary: #1A3C68;
    --navy-dark: #0F2642;
    --navy-light: #2A5189;
    --accent-light: #8CD3FF;
    --accent-lighter: #B8E5FF;
    --text-dark: #1F1F1F;
    --text-light: #5A5A5A;
    --bg-light: #F8FAFB;
    --white: #FFFFFF;
}

body {
    font-family: 'Aptos', 'Segoe UI', Tahoma, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--navy-primary);
}

/* Navigation */
.navbar {
    background-color: var(--navy-primary);
    padding: 1rem 0;
    box-shadow: 0 2px 8px rgba(26, 60, 104, 0.15);
    transition: all 0.3s ease;
}

.navbar-scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 12px rgba(26, 60, 104, 0.25);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-icon {
    font-size: 1.75rem;
    color: var(--accent-light);
}

.brand-text {
    letter-spacing: -0.5px;
}

.nav-link {
    color: var(--white) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--accent-light) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background-color: var(--accent-light);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-cta {
    background-color: var(--accent-light);
    color: var(--navy-primary) !important;
    margin-left: 1rem;
    border: 2px solid var(--accent-light);
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background-color: transparent;
    color: var(--accent-light) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--navy-primary) 0%, var(--navy-dark) 100%);
    color: var(--white);
    padding: 180px 0 120px;
    margin-top: 76px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: -10%;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(140, 211, 255, 0.1) 100%);
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--accent-lighter);
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-text {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.btn-primary-custom {
    background-color: var(--accent-light);
    color: var(--navy-primary);
    border: 2px solid var(--accent-light);
    padding: 0.875rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary-custom:hover {
    background-color: transparent;
    color: var(--accent-light);
    transform: translateY(-2px);
}

.btn-secondary-custom {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 0.875rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-left: 1rem;
}

.btn-secondary-custom:hover {
    background-color: var(--white);
    color: var(--navy-primary);
    transform: translateY(-2px);
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background-color: var(--white);
    border-left: 4px solid var(--accent-light);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--navy-primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.125rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background-color: var(--white);
}

.section-heading {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.75rem;
    color: var(--navy-primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.service-card {
    background-color: var(--white);
    border: 2px solid #E8ECF1;
    padding: 2.5rem;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background-color: var(--accent-light);
    transition: height 0.3s ease;
}

.service-card:hover {
    border-color: var(--accent-light);
    box-shadow: 0 8px 24px rgba(26, 60, 104, 0.12);
    transform: translateY(-5px);
}

.service-card:hover::before {
    height: 100%;
}

.service-icon {
    font-size: 3rem;
    color: var(--accent-light);
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.5rem;
    color: var(--navy-primary);
    margin-bottom: 1rem;
}

.service-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--navy-primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: var(--accent-light);
    gap: 0.75rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--navy-primary) 0%, var(--navy-dark) 100%);
    color: var(--white);
}

.testimonials-section .section-title {
    color: var(--white);
}

.testimonials-section .section-subtitle {
    color: var(--accent-lighter);
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    height: 100%;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-light);
    transform: translateY(-5px);
}

.testimonial-quote {
    font-size: 1.125rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
}

.testimonial-author {
    font-weight: 600;
    color: var(--accent-light);
    margin-bottom: 0.25rem;
}

.testimonial-role {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.quote-icon {
    font-size: 2.5rem;
    color: var(--accent-light);
    opacity: 0.3;
    margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background-color: var(--bg-light);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    color: var(--navy-primary);
    margin-bottom: 1.5rem;
}

.cta-text {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

.cta-button {
    background-color: var(--navy-primary);
    color: var(--white);
    border: 2px solid var(--navy-primary);
    padding: 1rem 3rem;
    font-size: 1.125rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    background-color: transparent;
    color: var(--navy-primary);
    transform: translateY(-2px);
}

/* Content Sections */
.content-section {
    padding: 100px 0;
}

.content-section-alt {
    background-color: var(--bg-light);
}

.content-block {
    margin-bottom: 3rem;
}

.content-title {
    font-size: 2rem;
    color: var(--navy-primary);
    margin-bottom: 1.5rem;
}

.content-text {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.content-list {
    list-style: none;
    padding: 0;
}

.content-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-light);
    font-size: 1.125rem;
}

.content-list li::before {
    content: '\F26A';
    font-family: 'bootstrap-icons';
    position: absolute;
    left: 0;
    color: var(--accent-light);
    font-weight: bold;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    padding: 2rem;
    background-color: var(--white);
    border: 2px solid #E8ECF1;
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: var(--accent-light);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent-light);
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.25rem;
    color: var(--navy-primary);
    margin-bottom: 0.75rem;
}

.feature-description {
    color: var(--text-light);
    font-size: 1rem;
}

/* Contact Form */
.contact-form {
    background-color: var(--white);
    padding: 3rem;
    border: 2px solid #E8ECF1;
}

.form-label {
    color: var(--navy-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    border: 2px solid #E8ECF1;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--accent-light);
    box-shadow: 0 0 0 0.2rem rgba(140, 211, 255, 0.25);
}

.btn-submit {
    background-color: var(--navy-primary);
    color: var(--white);
    border: 2px solid var(--navy-primary);
    padding: 0.875rem 3rem;
    font-size: 1.125rem;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-submit:hover {
    background-color: transparent;
    color: var(--navy-primary);
}

/* Contact Info Cards */
.contact-info-card {
    background-color: var(--bg-light);
    padding: 2rem;
    border-left: 4px solid var(--accent-light);
    height: 100%;
}

.contact-info-icon {
    font-size: 2.5rem;
    color: var(--accent-light);
    margin-bottom: 1rem;
}

.contact-info-title {
    font-size: 1.25rem;
    color: var(--navy-primary);
    margin-bottom: 0.75rem;
}

.contact-info-text {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background-color: var(--navy-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 2rem;
}

.footer-heading {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.office-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.office-badge {
    background-color: rgba(140, 211, 255, 0.2);
    color: var(--accent-light);
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background-color: var(--accent-light);
    color: var(--navy-primary);
}

.cert-badges {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cert-badge {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--accent-light);
    padding: 0.375rem 0.875rem;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(140, 211, 255, 0.3);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0 1.5rem;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 0.95rem;
}

.footer-legal {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-legal:hover {
    color: var(--accent-light);
}

.footer-separator {
    margin: 0 0.75rem;
    color: rgba(255, 255, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .btn-secondary-custom {
        margin-left: 0;
        margin-top: 1rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding: 140px 0 80px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .stats-section,
    .services-section,
    .testimonials-section,
    .cta-section,
    .content-section {
        padding: 60px 0;
    }
    
    .contact-form {
        padding: 2rem;
    }
}

/* Utility Classes */
.mb-6 {
    margin-bottom: 4rem;
}

.mt-6 {
    margin-top: 4rem;
}