/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: #2c3e50;
    background-color: #ffffff;
    font-size: 16px;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.34s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Color Variables */
:root {
    --ocean-blue: #2980b9;
    --forest-green: #27ae60;
    --sunset-orange: #f39c12;
    --crimson-red: #e74c3c;
    --midnight-dark: #34495e;
    --pearl-white: #ecf0f1;
    --shadow-gray: #95a5a6;
    --accent-purple: #9b59b6;
}

/* Layout Grid System */
.content-container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 21px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -13px;
}

.col-md-3, .col-md-4, .col-md-6, .col-md-12,
.col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6 {
    padding: 0 13px;
    flex: 1;
}

.col-md-3 { flex: 0 0 25%; max-width: 25%; }
.col-md-4 { flex: 0 0 33.333%; max-width: 33.333%; }
.col-md-6 { flex: 0 0 50%; max-width: 50%; }
.col-md-12 { flex: 0 0 100%; max-width: 100%; }
.col-lg-2 { flex: 0 0 16.667%; max-width: 16.667%; }
.col-lg-3 { flex: 0 0 25%; max-width: 25%; }
.col-lg-4 { flex: 0 0 33.333%; max-width: 33.333%; }
.col-lg-5 { flex: 0 0 41.667%; max-width: 41.667%; }
.col-lg-6 { flex: 0 0 50%; max-width: 50%; }

/* Navigation Header */
.primary-navigation {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 3px 21px rgba(0, 0, 0, 0.08);
    transition: all 0.41s ease;
}

.nav-container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 21px;
}

.navigation-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 0;
    position: relative;
}

.brand-identity img {
    height: 17px;
    width: auto;
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
}

.hamburger {
    width: 29px;
    height: 3px;
    background: var(--midnight-dark);
    position: relative;
    transition: all 0.32s ease;
}

.hamburger:before,
.hamburger:after {
    content: '';
    position: absolute;
    width: 29px;
    height: 3px;
    background: var(--midnight-dark);
    transition: all 0.32s ease;
}

.hamburger:before { top: -8px; }
.hamburger:after { top: 8px; }

.navbar-nav {
    display: flex;
    list-style: none;
    gap: 34px;
    margin: 0;
}

.nav-link {
    color: var(--midnight-dark);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    font-size: 15px;
}

.nav-link:hover {
    color: var(--ocean-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--ocean-blue);
    transition: width 0.28s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-showcase {
    background: linear-gradient(137deg, var(--ocean-blue) 0%, var(--accent-purple) 100%);
    min-height: 87vh;
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 73px;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: 3.7rem;
    font-weight: 800;
    margin-bottom: 27px;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 41px;
    opacity: 0.92;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.video-button-trigger {
    display: inline-block;
    width: 67px;
    height: 67px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(13px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.34s ease;
}

.video-button-trigger:hover {
    transform: scale(1.08);
    background: rgba(255, 255, 255, 0.25);
}

.play-icon-wrapper {
    width: 21px;
    height: 21px;
    filter: brightness(0) invert(1);
}

/* Features Services Section */
.feature-showcase-area {
    padding: 0;
    background: #ffffff;
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
}

.feature-column {
    flex: 1;
    min-width: 250px;
}

.services-block {
    padding: 47px 29px;
    transition: all 0.41s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
    border-right: 1px solid #f1f1f1;
}

.services-block:last-child {
    border-right: none;
}

.services-block.active {
    background: var(--ocean-blue);
    color: white;
}

.services-block:hover {
    background: var(--ocean-blue);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 13px 34px rgba(41, 128, 185, 0.2);
}

.feature-icon {
    margin-bottom: 27px;
}

.feature-icon img {
    width: 67px;
    height: 67px;
    filter: brightness(0) saturate(100%) invert(27%) sepia(51%) saturate(2878%) hue-rotate(346deg) brightness(104%) contrast(97%);
    margin: 0 auto;
}

.services-block:hover .feature-icon img,
.services-block.active .feature-icon img {
    filter: brightness(0) invert(1);
}

.feature-heading {
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 18px;
    letter-spacing: 0.7px;
}

.feature-content p {
    line-height: 1.6;
    font-size: 15px;
}

/* About Section */
.about-education-section {
    padding: 89px 0;
    background: #fafafa;
}

.about-image-wrapper img {
    width: 100%;
    border-radius: 13px;
    box-shadow: 0 21px 47px rgba(0, 0, 0, 0.08);
}

.section-header-content h3 {
    font-size: 2.9rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--midnight-dark);
    margin-bottom: 34px;
}

.section-header-content h3 span {
    color: var(--ocean-blue);
    font-weight: 300;
}

.section-header-content p {
    color: #666;
    line-height: 1.8;
    font-size: 17px;
    margin-bottom: 41px;
}

.cta-button-primary {
    display: inline-block;
    background: linear-gradient(45deg, var(--ocean-blue), var(--forest-green));
    color: white;
    padding: 17px 39px;
    border-radius: 34px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.31s ease;
    box-shadow: 0 8px 21px rgba(41, 128, 185, 0.25);
}

.cta-button-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 13px 34px rgba(41, 128, 185, 0.35);
}

/* Statistics Counter Section */
.statistics-counter {
    position: relative;
    padding: 97px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(41, 128, 185, 0.87);
    z-index: 1;
}

.stats-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
}

.metrics-block {
    text-align: center;
    padding: 21px;
}

.counter-value {
    font-size: 3.8rem;
    font-weight: 800;
    color: white;
    display: block;
    margin-bottom: 13px;
    font-family: 'Arial Black', sans-serif;
}

.metric-content span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.3px;
    font-weight: 600;
}

/* Courses Gallery Section */
.courses-gallery-section {
    padding: 89px 0;
    background: white;
}

.courses-section-title {
    font-size: 2.7rem;
    color: var(--crimson-red);
    margin-bottom: 27px;
    position: relative;
    padding-bottom: 21px;
}

.courses-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 67px;
    height: 3px;
    background: var(--sunset-orange);
}

.lead-text {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 47px;
}

.courses-display-grid {
    margin-top: 47px;
}

.course-card {
    display: block;
    background: white;
    border-radius: 13px;
    overflow: hidden;
    box-shadow: 0 8px 29px rgba(0, 0, 0, 0.08);
    transition: all 0.39s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    margin-bottom: 34px;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 21px 47px rgba(0, 0, 0, 0.15);
}

.course-card img {
    width: 100%;
    height: 213px;
    object-fit: cover;
}

.course-card h2 {
    font-size: 1.4rem;
    font-weight: 600;
    padding: 21px 21px 8px;
    color: var(--midnight-dark);
}

.course-card span {
    color: var(--shadow-gray);
    padding: 0 21px 21px;
    display: block;
    font-size: 14px;
    font-weight: 500;
}

/* Advanced Features Section */
.advanced-features-section {
    background: var(--sunset-orange);
    padding: 89px 0;
    color: var(--midnight-dark);
}

.feature-icon-container {
    width: 97px;
    height: 97px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.feature-icon-container img {
    width: 47px;
    height: 47px;
    filter: brightness(0) saturate(100%) invert(21%) sepia(19%) saturate(2878%) hue-rotate(346deg) brightness(104%) contrast(97%);
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 21px;
    color: var(--midnight-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-text-content p {
    color: var(--midnight-dark);
    opacity: 0.9;
    line-height: 1.7;
}

/* Testimonials Section */
.testimonials-showcase {
    background: var(--pearl-white);
    padding: 89px 0;
}

.testimonials-heading h2 {
    font-size: 2.7rem;
    color: var(--sunset-orange);
    margin-bottom: 47px;
}

.testimonials-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 34px;
    margin-top: 47px;
}

.testimonial-card {
    background: white;
    border-radius: 13px;
    padding: 34px;
    box-shadow: 0 8px 29px rgba(0, 0, 0, 0.08);
    transition: all 0.34s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 21px 47px rgba(0, 0, 0, 0.12);
}

.testimonial-card blockquote {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--midnight-dark);
    line-height: 1.6;
    position: relative;
    margin-bottom: 27px;
}

.testimonial-card figure img {
    width: 67px;
    height: 67px;
    border-radius: 50%;
    margin: 0 auto 18px;
    object-fit: cover;
}

.testimonial-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--midnight-dark);
}

/* Footer Section */
.primary-footer {
    background: var(--midnight-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 73px 0 34px;
    position: relative;
}

.footer-widget {
    position: relative;
    z-index: 2;
}

.footer-heading {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 27px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-social {
    list-style: none;
    display: flex;
    gap: 13px;
    margin-top: 27px;
}

.footer-social li a {
    width: 47px;
    height: 47px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.31s ease;
}

.footer-social li a:hover {
    background: var(--ocean-blue);
    transform: translateY(-3px);
}

.footer-social li img {
    width: 21px;
    height: 21px;
    filter: brightness(0) invert(1);
}

.footer-blog-item {
    margin-bottom: 21px;
}

.blog-img {
    width: 73px;
    height: 73px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    flex-shrink: 0;
}

.footer-blog-item .text {
    flex: 1;
}

.footer-blog-item .heading a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    line-height: 1.4;
    transition: all 0.28s ease;
}

.footer-blog-item .heading a:hover {
    color: var(--sunset-orange);
}

.footer-blog-item .meta {
    margin-top: 8px;
}

.footer-blog-item .meta div {
    display: inline-block;
    margin-right: 13px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-blog-item .meta img {
    width: 13px;
    height: 13px;
    filter: brightness(0) invert(1);
    opacity: 0.6;
    margin-right: 5px;
    vertical-align: middle;
}

.footer-widget ul {
    list-style: none;
}

.footer-widget ul li a {
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 0;
    display: block;
    transition: all 0.28s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-widget ul li a:hover {
    color: var(--sunset-orange);
    padding-left: 8px;
}

.contact-block ul li {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
}

.contact-block ul li img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
    margin-right: 13px;
    opacity: 0.8;
}

.contact-block ul li .text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-white { color: white; }
.text-black { color: var(--midnight-dark); }
.mb-3 { margin-bottom: 21px; }
.mb-4 { margin-bottom: 27px; }
.mb-5 { margin-bottom: 34px; }
.d-flex { display: flex; }
.d-block { display: block; }
.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }
.align-self-stretch { align-self: stretch; }
.no-gutters { margin: 0; }
.no-gutters > * { padding: 0; }
.img-fluid { max-width: 100%; height: auto; }
.rounded-circle { border-radius: 50%; }
.mx-auto { margin-left: auto; margin-right: auto; }
.offset-lg-1 { margin-left: 8.333%; }

/* Mobile Navigation */
@media screen and (max-width: 890px) {
    .nav-toggle-label {
        display: block;
        cursor: pointer;
        padding: 13px;
        z-index: 2;
    }

    .nav-wrapper {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: white;
        transition: all 0.34s ease;
        padding-top: 89px;
        flex-direction: column;
        align-items: center;
    }

    .navbar-nav {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 0;
    }

    .nav-item {
        width: 100%;
        text-align: center;
        margin: 13px 0;
    }

    .nav-link {
        display: inline-block;
        padding: 13px 21px;
        font-size: 1.1rem;
        color: var(--midnight-dark);
    }

    .nav-toggle:checked ~ .nav-wrapper {
        left: 0;
    }

    .nav-toggle:checked ~ .nav-toggle-label .hamburger {
        background: transparent;
    }

    .nav-toggle:checked ~ .nav-toggle-label .hamburger:before {
        transform: rotate(45deg);
        top: 0;
    }

    .nav-toggle:checked ~ .nav-toggle-label .hamburger:after {
        transform: rotate(-45deg);
        top: 0;
    }
}

/* Cookie Consent & Accessibility */
.cookie-consent-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--midnight-dark);
    color: white;
    padding: 21px;
    z-index: 9999;
    transform: translateY(100%);
    animation: slideUp 0.5s ease forwards;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1380px;
    margin: 0 auto;
    gap: 21px;
}

.cookie-accept-btn {
    background: var(--ocean-blue);
    color: white;
    border: none;
    padding: 13px 27px;
    border-radius: 21px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cookie-accept-btn:hover {
    background: var(--forest-green);
    transform: translateY(-2px);
}

.cookie-policy-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
    font-size: 14px;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 21px;
    background: var(--ocean-blue);
    color: white;
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    z-index: 10000;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 21px;
}

@keyframes slideUp {
    to {
        transform: translateY(0);
    }
}

.fully-loaded .animate-on-scroll {
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(34px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1280px) {
    .content-container {
        max-width: 1140px;
        padding: 0 18px;
    }

    .hero-title {
        font-size: 3.2rem;
    }
}

@media (max-width: 890px) {
    .hero-title {
        font-size: 2.4rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .about-education-section,
    .courses-gallery-section,
    .advanced-features-section,
    .testimonials-showcase {
        padding: 67px 0;
    }

    .section-header-content h3 {
        font-size: 2.2rem;
    }

    .courses-section-title {
        font-size: 2.1rem;
    }

    .feature-column {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 21px;
    }

    .services-block {
        border-right: none;
        border-bottom: 1px solid #f1f1f1;
    }

    .col-md-3, .col-md-4, .col-md-6,
    .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 27px;
    }

    .offset-lg-1 {
        margin-left: 0;
    }

    .testimonials-carousel {
        grid-template-columns: 1fr;
        gap: 21px;
    }
}

@media (max-width: 640px) {
    .content-container {
        padding: 0 13px;
    }

    .row {
        margin: 0 -8px;
    }

    .col-md-3, .col-md-4, .col-md-6, .col-md-12,
    .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6 {
        padding: 0 8px;
    }

    .hero-title {
        font-size: 1.9rem;
    }

    .services-block {
        padding: 34px 18px;
    }

    .statistics-counter {
        padding: 56px 0;
    }

    .counter-value {
        font-size: 2.8rem;
    }

    .primary-footer {
        padding: 47px 0 21px;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 13px;
    }

    .cookie-content p {
        font-size: 14px;
        margin-bottom: 13px;
    }
}

/* Additional styles for About page */
.about-hero-banner {
    background: linear-gradient(142deg, var(--ocean-blue) 0%, var(--forest-green) 100%);
    padding: 127px 0 89px;
    margin-top: 73px;
    position: relative;
    color: white;
}

.about-hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(41, 128, 185, 0.1);
    backdrop-filter: blur(2px);
}

.about-hero-content {
    position: relative;
    z-index: 2;
}

.about-hero-title {
    font-size: 3.4rem;
    font-weight: 800;
    margin-bottom: 23px;
    line-height: 1.2;
}

.about-hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 670px;
    margin: 0 auto;
}

.company-stats-section {
    padding: 67px 0;
    background: var(--pearl-white);
}

.stat-card {
    background: white;
    padding: 39px 27px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 7px 23px rgba(0, 0, 0, 0.08);
    transition: all 0.37s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    margin-bottom: 31px;
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 41px rgba(0, 0, 0, 0.12);
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--ocean-blue);
    display: block;
    margin-bottom: 11px;
}

.stat-label {
    color: var(--midnight-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-size: 14px;
}

.our-history-section {
    padding: 89px 0;
    background: white;
}

.history-timeline {
    position: relative;
    padding: 34px 0;
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 47px;
    position: relative;
}

.timeline-year {
    background: var(--sunset-orange);
    color: white;
    padding: 13px 21px;
    border-radius: 27px;
    font-weight: 700;
    font-size: 18px;
    margin-right: 34px;
    min-width: 97px;
    text-align: center;
}

.timeline-content {
    flex: 1;
    background: var(--pearl-white);
    padding: 27px;
    border-radius: 11px;
    border-left: 4px solid var(--ocean-blue);
}

.timeline-content h4 {
    color: var(--midnight-dark);
    font-size: 1.3rem;
    margin-bottom: 13px;
    font-weight: 700;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.services-showcase {
    background: var(--midnight-dark);
    padding: 89px 0;
    color: white;
    position: relative;
}

.services-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(52, 73, 94, 0.95) 0%, rgba(41, 128, 185, 0.95) 100%);
}

.services-content {
    position: relative;
    z-index: 2;
}

.service-item {
    background: rgba(255, 255, 255, 0.08);
    padding: 34px;
    border-radius: 13px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.39s ease;
    margin-bottom: 27px;
}

.service-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px);
}

.service-icon {
    width: 67px;
    height: 67px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 23px;
}

.service-icon img {
    width: 34px;
    height: 34px;
    filter: brightness(0) invert(1);
}

.service-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 17px;
    color: white;
}

.service-description {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.team-section {
    padding: 89px 0;
    background: white;
}

.section-title-about {
    font-size: 2.6rem;
    color: var(--midnight-dark);
    text-align: center;
    margin-bottom: 47px;
    position: relative;
    padding-bottom: 19px;
}

.section-title-about::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 73px;
    height: 3px;
    background: var(--sunset-orange);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 34px;
    margin-top: 47px;
}

.team-member {
    background: var(--pearl-white);
    padding: 34px;
    border-radius: 13px;
    text-align: center;
    transition: all 0.34s ease;
}

.team-member:hover {
    background: white;
    box-shadow: 0 13px 34px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.member-icon {
    width: 89px;
    height: 89px;
    background: var(--ocean-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 23px;
}

.member-icon img {
    width: 47px;
    height: 47px;
    filter: brightness(0) invert(1);
}

.member-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--midnight-dark);
    margin-bottom: 8px;
}

.member-role {
    color: var(--ocean-blue);
    font-weight: 600;
    margin-bottom: 17px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
}

.member-description {
    color: #666;
    line-height: 1.6;
    font-size: 15px;
}

.mission-vision-section {
    background: var(--sunset-orange);
    padding: 89px 0;
    color: var(--midnight-dark);
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 47px;
    margin-top: 47px;
}

.mission-card, .vision-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 41px;
    border-radius: 15px;
    backdrop-filter: blur(5px);
    box-shadow: 0 11px 29px rgba(0, 0, 0, 0.08);
}

.mission-card h4, .vision-card h4 {
    font-size: 1.5rem;
    margin-bottom: 23px;
    color: var(--midnight-dark);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 17px;
}

.mission-card img, .vision-card img {
    width: 39px;
    height: 39px;
    filter: brightness(0) saturate(100%) invert(21%) sepia(19%) saturate(2878%) hue-rotate(346deg) brightness(104%) contrast(97%);
}

.contact-cta-section {
    background: var(--midnight-dark);
    padding: 67px 0;
    text-align: center;
    color: white;
}

.cta-title {
    font-size: 2.3rem;
    margin-bottom: 23px;
    font-weight: 700;
}

.cta-subtitle {
    font-size: 1.1rem;
    margin-bottom: 34px;
    opacity: 0.9;
}

.cta-button-secondary {
    display: inline-block;
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 17px 39px;
    border-radius: 34px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.31s ease;
}

.cta-button-secondary:hover {
    background: white;
    color: var(--midnight-dark);
    transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 890px) {
    .about-hero-title {
        font-size: 2.4rem;
    }

    .timeline-item {
        flex-direction: column;
        text-align: center;
    }

    .timeline-year {
        margin-right: 0;
        margin-bottom: 17px;
    }

    .our-history-section,
    .services-showcase,
    .team-section,
    .mission-vision-section {
        padding: 67px 0;
    }
}

@media (max-width: 640px) {
    .about-hero-banner {
        padding: 97px 0 67px;
    }

    .about-hero-title {
        font-size: 2rem;
    }

    .company-stats-section {
        padding: 47px 0;
    }

    .stat-card {
        padding: 27px 19px;
    }

    .service-item,
    .mission-card,
    .vision-card {
        padding: 27px;
    }
}

/* Contact Page Specific Styles */
.contact-hero-section {
    background: linear-gradient(126deg, var(--crimson-red) 0%, var(--sunset-orange) 100%);
    padding: 119px 0 83px;
    margin-top: 73px;
    position: relative;
    color: white;
    overflow: hidden;
}

.contact-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(231, 76, 60, 0.12);
    backdrop-filter: blur(3px);
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.contact-hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 21px;
    line-height: 1.15;
    text-shadow: 0 2px 7px rgba(0, 0, 0, 0.3);
}

.contact-hero-subtitle {
    font-size: 1.18rem;
    opacity: 0.93;
    max-width: 690px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-main-section {
    padding: 91px 0;
    background: white;
}

.contact-form-wrapper {
    background: var(--pearl-white);
    padding: 43px;
    border-radius: 17px;
    box-shadow: 0 9px 31px rgba(0, 0, 0, 0.07);
    border: 1px solid #e9ecef;
}

.contact-form-title {
    font-size: 2.1rem;
    color: var(--midnight-dark);
    margin-bottom: 29px;
    font-weight: 700;
    text-align: center;
    position: relative;
    padding-bottom: 17px;
}

.contact-form-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 67px;
    height: 3px;
    background: var(--crimson-red);
    border-radius: 2px;
}

.form-group {
    margin-bottom: 23px;
    position: relative;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--midnight-dark);
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.form-control {
    width: 100%;
    padding: 16px 19px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    color: var(--midnight-dark);
    background: white;
    transition: all 0.29s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-sizing: border-box;
}

.form-control:focus {
    border-color: var(--ocean-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(41, 128, 185, 0.1);
    transform: translateY(-1px);
}

.form-control.error {
    border-color: var(--crimson-red);
    background-color: rgba(231, 76, 60, 0.05);
}

.form-control.success {
    border-color: var(--forest-green);
    background-color: rgba(39, 174, 96, 0.05);
}

.error-message {
    color: var(--crimson-red);
    font-size: 13px;
    margin-top: 5px;
    display: none;
    font-weight: 500;
}

.form-control.error + .error-message {
    display: block;
}

.textarea-field {
    min-height: 127px;
    resize: vertical;
    font-family: inherit;
}

.submit-button {
    background: linear-gradient(45deg, var(--crimson-red), var(--sunset-orange));
    color: white;
    border: none;
    padding: 18px 41px;
    border-radius: 31px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    cursor: pointer;
    transition: all 0.32s ease;
    width: 100%;
    box-shadow: 0 7px 19px rgba(231, 76, 60, 0.3);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 11px 27px rgba(231, 76, 60, 0.4);
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.contact-info-section {
    background: var(--midnight-dark);
    padding: 91px 0;
    color: white;
    position: relative;
}

.contact-info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(139deg, rgba(52, 73, 94, 0.97) 0%, rgba(41, 128, 185, 0.97) 100%);
}

.contact-info-content {
    position: relative;
    z-index: 2;
}

.contact-info-title {
    font-size: 2.4rem;
    margin-bottom: 41px;
    text-align: center;
    color: white;
    font-weight: 700;
}

.offices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 37px;
    margin-bottom: 47px;
}

.office-card {
    background: rgba(255, 255, 255, 0.09);
    padding: 37px;
    border-radius: 13px;
    backdrop-filter: blur(7px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.34s ease;
}

.office-card:hover {
    background: rgba(255, 255, 255, 0.13);
    transform: translateY(-4px);
}

.office-name {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 19px;
    color: white;
    display: flex;
    align-items: center;
    gap: 13px;
}

.office-name img {
    width: 29px;
    height: 29px;
    filter: brightness(0) invert(1);
}

.office-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.office-details li {
    margin-bottom: 11px;
    display: flex;
    align-items: center;
    gap: 11px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

.office-details img {
    width: 17px;
    height: 17px;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.contact-methods-section {
    background: var(--pearl-white);
    padding: 67px 0;
}

.contact-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 27px;
    margin-top: 41px;
}

.contact-method-card {
    background: white;
    padding: 31px;
    border-radius: 11px;
    text-align: center;
    box-shadow: 0 5px 19px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    transition: all 0.31s ease;
}

.contact-method-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 9px 29px rgba(0, 0, 0, 0.1);
}

.contact-method-icon {
    width: 73px;
    height: 73px;
    background: var(--ocean-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 19px;
}

.contact-method-icon img {
    width: 37px;
    height: 37px;
    filter: brightness(0) invert(1);
}

.contact-method-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--midnight-dark);
    margin-bottom: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-method-info {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

.contact-method-info a {
    color: var(--ocean-blue);
    font-weight: 600;
    text-decoration: none;
}

.contact-method-info a:hover {
    text-decoration: underline;
}

.company-info-section {
    background: white;
    padding: 67px 0;
    border-top: 1px solid #eee;
}

.company-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 31px;
    margin-top: 37px;
}

.company-info-item {
    text-align: center;
    padding: 23px;
}

.company-info-label {
    font-size: 13px;
    color: var(--shadow-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 7px;
    font-weight: 600;
}

.company-info-value {
    font-size: 16px;
    color: var(--midnight-dark);
    font-weight: 600;
}

/* Success Popup Styles */
.success-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(4px);
}

.success-popup.show {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.popup-content {
    background: white;
    padding: 43px;
    border-radius: 17px;
    text-align: center;
    max-width: 470px;
    width: 90%;
    box-shadow: 0 15px 41px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.4s ease;
}

.popup-icon {
    width: 73px;
    height: 73px;
    background: var(--forest-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 23px;
}

.popup-icon img {
    width: 37px;
    height: 37px;
    filter: brightness(0) invert(1);
}

.popup-title {
    font-size: 1.7rem;
    color: var(--midnight-dark);
    margin-bottom: 17px;
    font-weight: 700;
}

.popup-message {
    color: #666;
    line-height: 1.6;
    margin-bottom: 27px;
}

.popup-close-btn {
    background: var(--ocean-blue);
    color: white;
    border: none;
    padding: 13px 29px;
    border-radius: 21px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.popup-close-btn:hover {
    background: var(--forest-green);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 890px) {
    .contact-hero-title {
        font-size: 2.3rem;
    }

    .contact-main-section,
    .contact-info-section {
        padding: 67px 0;
    }

    .contact-form-wrapper {
        padding: 31px;
    }

    .offices-grid {
        grid-template-columns: 1fr;
        gap: 23px;
    }
}

@media (max-width: 640px) {
    .contact-hero-section {
        padding: 89px 0 61px;
    }

    .contact-hero-title {
        font-size: 1.9rem;
    }

    .contact-form-wrapper {
        padding: 23px;
    }

    .office-card {
        padding: 27px;
    }

    .popup-content {
        padding: 31px;
        width: 95%;
    }

    .contact-methods-section,
    .company-info-section {
        padding: 47px 0;
    }
}

.col-md-12 .text-center .copyright p {
    color: #fff;
}