:root {
    --primary: #1a4b8c;
    --secondary: #2a6fc7;
    --accent: #ff5722;
    --light: #f8fbff;
    --dark: #2c3e50;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --gray: #7a8a9c;
    --light-gray: #f0f4f8;
    --text: #3d4c5e;
    --white: #FFFFFF;
    --navy-blue: #1a4b8c;
    --ocean-blue: #2a6fc7;
    --section-bg: #f8fbff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text);
    overflow-x: hidden;
    background-color: var(--white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--accent);
    color: white;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

.btn-outline:hover {
    background: var(--accent);
    color: white;
}

.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.8rem;
    color: var(--primary);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.section-title p {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
    margin-top: 20px;
}

.text-center {
    text-align: center;
}

.tab-navigation {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
    gap: 10px;
}

.tab-btn {
    padding: 15px 30px;
    background: var(--light);
    color: var(--primary);
    border: none;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.tab-btn:hover {
    background: var(--accent);
    color: white;
}

.tab-btn.active {
    background: var(--primary);
    color: white;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

.nav-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 12px 0;
}

.nav-menu {
    display: flex;
    justify-content: center;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    padding: 15px 30px;
    background: var(--light);
    color: var(--primary);
    border: none;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.nav-link:hover {
    background: var(--accent);
    color: #fff;
}

#header1 {
    position: fixed;
    top: 0;
    left: 0;
    width: 40%;
    z-index: 1000;
    transform: translateY(0);
    transition: transform 0.4s ease;
    box-shadow: none !important;
    background: transparent;
}

#header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(0);
    width: 35%;
    z-index: 1000;
    transition: transform 0.4s ease;
    box-shadow: none !important;
    background: transparent;
}

#header.hide-header,
#header1.hide-header {
    transform: translateY(-100%);
}

#header.scrolled {
    padding: 5px 0;
}

#header1.scrolled {
    padding: 5px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 180px;
    height: 180px;
    top: 0;
    object-fit: cover;
    border-radius: 50%;
    background: white;
    margin-right: 12px;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin: 0 12px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    font-size: 16px;
    padding: 8px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-menu a:hover::after {
    width: 100%;
}

@media (max-width: 768px) {

    #header1,
    #header {
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }

    .header-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 12px;
    }

    .logo {
        display: flex;
        align-items: center;
        order: 1;
    }

    .logo img {
        width: 80px;
        height: 80px;
        object-fit: cover;
        border-radius: 50%;
    }

    .mobile-toggle {
        display: block;
        font-size: 1.8rem;
        color: var(--accent);
        cursor: pointer;
        margin-left: auto;
        z-index: 1001;
        order: 3;
    }

    .nav-menu {
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: 70%;
        height: 100vh;
        background: white;
        padding-top: 60px;
        transform: translateX(100%);
        transition: transform 0.4s ease;
        visibility: hidden;
        opacity: 0;
        z-index: 999;
        order: 2;
        justify-content: center;
        align-items: center;
    }

    .nav-menu.active {
        transform: translateX(0);
        visibility: visible;
        opacity: 1;
    }

    .nav-menu li {
        margin: 16px 0;
    }

    .nav-menu a {
        font-size: 18px;
    }
}

.hero {
    height: 140vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: white;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -2;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, var(--white), transparent);
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.8rem;
    margin-bottom: 25px;
    animation: fadeInDown 1s ease;
    color: var(--white);
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease;
    font-weight: 300;
    max-width: 600px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: fadeIn 1.5s ease;
}

.hero-features {
    display: flex;
    gap: 30px;
    margin-top: 50px;
    animation: fadeInUp 1.5s ease;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hero-feature i {
    font-size: 2rem;
    color: var(--accent);
}

.hero-feature span {
    font-size: 1.1rem;
    font-weight: 600;
}

.stats {
    background: var(--light);
    position: relative;
    z-index: 2;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.stat-box {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background: var(--accent);
    transition: all 0.5s ease;
}

.stat-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.stat-box:hover::before {
    height: 100%;
}

.stat-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    font-family: 'Montserrat', sans-serif;
}

.stat-text {
    color: var(--gray);
    font-size: 1.1rem;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.service-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.service-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s ease;
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    opacity: 0;
    transition: all 0.4s ease;
}

.service-card:hover .service-img::after {
    opacity: 1;
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    color: var(--primary);
    margin-bottom: 18px;
    font-size: 1.5rem;
}

.service-content p {
    color: var(--gray);
    margin-bottom: 25px;
    line-height: 1.7;
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-link i {
    margin-left: 8px;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: var(--secondary);
}

.service-link:hover i {
    transform: translateX(5px);
}

.about {
    background: var(--light);
    position: relative;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-img {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    position: relative;
}

.about-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.5s ease;
}

.about-img:hover img {
    transform: scale(1.05);
}

.about-content h2 {
    color: var(--primary);
    margin-bottom: 25px;
    font-size: 2.5rem;
}

.about-content p {
    margin-bottom: 20px;
    color: var(--gray);
    line-height: 1.8;
}

.about-features {
    margin-top: 35px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    background: var(--accent);
    transform: rotate(360deg);
}

.feature-text h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.feature-text p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.team {
    background: var(--white);
}

.team-member {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    padding: 30px;
    transition: all 0.4s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.team-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 5px solid var(--light);
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.team-info p {
    color: var(--gray);
    margin-bottom: 15px;
}

.team-contact {
    margin-top: 20px;
}

.team-contact p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.gallery-section {
    background: var(--light);
    padding: 100px 0;
}

.gallery-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.gallery-slider {
    display: flex;
    transition: transform 0.5s ease;
}

.gallery-slide {
    min-width: 100%;
    position: relative;
}

.gallery-slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    text-align: center;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.gallery-nav:hover {
    background: var(--accent);
    color: white;
}

.gallery-prev {
    left: 20px;
}

.gallery-next {
    right: 20px;
}

.gallery-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}

.gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--light-gray);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-dot.active {
    background: var(--accent);
    transform: scale(1.2);
}

.testimonials-section {
    background: var(--white);
    padding: 100px 0;
}

.testimonials-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.testimonials-slider {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-slide {
    min-width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.testimonial {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: all 0.4s ease;
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.testimonial::before {
    content: '"';
    font-size: 6rem;
    color: var(--light-gray);
    position: absolute;
    top: 20px;
    left: 20px;
    line-height: 1;
    font-family: serif;
    opacity: 0.3;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 25px;
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
    border: 3px solid var(--light);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.author-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 5px;
    color: var(--primary);
    font-size: 1.2rem;
}

.author-info p {
    color: var(--gray);
    font-size: 0.95rem;
}

.testimonial-rating {
    display: flex;
    gap: 5px;
    margin-top: 10px;
}

.rating-star {
    color: var(--warning);
    font-size: 1.1rem;
}

.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: var(--primary);
    font-size: 1.3rem;
}

.testimonial-nav:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.testimonial-prev {
    left: 10px;
}

.testimonial-next {
    right: 10px;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 10px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--light-gray);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    background: var(--accent);
    transform: scale(1.2);
}

.location-section {
    padding: 100px 0;
    background: var(--white);
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    height: 450px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact {
    background: var(--light);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    font-size: 1.3rem;
}

.contact-details h4 {
    color: var(--primary);
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.contact-details p {
    color: var(--gray);
    line-height: 1.7;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.contact-form h3 {
    margin-bottom: 25px;
    font-size: 1.8rem;
    text-align: center;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark);
    font-weight: 600;
    font-size: 1rem;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--light);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(61, 142, 224, 0.1);
    background: white;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.certifications {
    background: var(--white);
}

.certs-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.cert-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    min-width: 200px;
}

.cert-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.cert-item i {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 15px;
}

.cert-item h4 {
    color: var(--primary);
    margin-bottom: 10px;
}

footer {
    background: var(--dark);
    color: white;
    padding: 80px 0 30px;
    position: relative;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h3 {
    color: white;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    font-size: 1.5rem;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.footer-col p {
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.footer-links a:hover {
    color: white;
    padding-left: 8px;
}

.footer-links i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-icon:hover {
    background: var(--accent);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.developer {
    margin-top: 10px;
    font-size: 0.9rem;
}

.developer a {
    color: var(--accent);
    text-decoration: none;
}

.developer a:hover {
    text-decoration: underline;
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 100;
    transition: all 0.3s ease;
    animation: pulse 1.5s infinite;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(10, 38, 71, 0.3);
    z-index: 99;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent);
    transform: translateY(-5px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }

    100% {
        transform: scale(1);
    }
}

@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 3.2rem;
    }
}

@media (max-width: 992px) {

    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .about-img {
        order: -1;
    }

    .testimonial-nav {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }

    .testimonial-prev {
        left: -20px;
    }

    .testimonial-next {
        right: -50px;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 60px;
        transition: all 0.4s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 15px 0;
    }

    .nav-menu a {
        font-size: 1.2rem;
        padding: 12px 0;
    }

    .hero-buttons {
        color: #1a4b8c;
        flex-direction: column;
        gap: 15px;
    }

    .hero-features {
        flex-direction: column;
        gap: 20px;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    .section {
        padding: 80px 0;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content p {
        margin: 0 auto 40px;
    }

    .gallery-nav {
        width: 40px;
        height: 40px;
    }

    .gallery-prev {
        left: 10px;
    }

    .gallery-next {
        right: 10px;
    }

    .gallery-slide img {
        height: 350px;
    }

    .testimonial-nav {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2.3rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .service-card {
        margin-bottom: 30px;
    }

    .logo-text {
        font-size: 1.5rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-social {
        justify-content: center;
    }

    .tab-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .gallery-slide img {
        height: 250px;
    }

    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
        bottom: 25px;
        right: 25px;
    }

    .back-to-top {
        bottom: 90px;
        right: 25px;
        width: 45px;
        height: 45px;
    }
}