html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    position: relative;
    background-color: var(--white);
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.7;
}

:root {
    --primary-color: #00AEEF;
    --secondary-color: #2E2E54;
    --text-color: #646464;
    --heading-color: #020E28;
    --white: #ffffff;
    --black: #000000;
    --light-bg: #F8F9FA;
    --font-primary: 'DM Sans', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Preloader Styles */
#preloader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: var(--white);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.8s ease-in-out;
}

.loader {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 100px;
    height: 100px;
    border: 3px solid rgba(0, 174, 239, 0.1);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: absolute;
}

.loader-logo {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 24px;
    color: var(--secondary-color);
    animation: pulse 1.5s ease-in-out infinite alternate;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { transform: scale(0.8); opacity: 0.5; }
    100% { transform: scale(1.1); opacity: 1; }
}

.preloader-active {
    overflow: hidden;
}

.preloader-fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Selection color */
::selection {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Typography links etc handled below */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--heading-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

a {
    text-decoration: none;
    transition: var(--transition);
    color: inherit;
}

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

/* Buttons */
.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    padding: 15px 35px;
    font-weight: 600;
    font-family: var(--font-heading);
    border-radius: 0;
    transition: var(--transition) !important;
}

.btn-primary:hover {
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 174, 239, 0.3);
}

/* Common Utilities */
.py-100 {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--light-bg) !important;
}

.bg-dark-blue {
    background-color: var(--secondary-color);
}

.text-primary {
    color: var(--primary-color) !important;
}

.sub-title {
    color: var(--primary-color);
    font-weight: 700;
    font-family: var(--font-heading);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 13px;
    display: inline-block;
    margin-bottom: 15px;
    position: relative;
}

/* Header */
.header-top {
    background-color: var(--secondary-color);
    color: var(--white);
    font-size: 13px;
    padding: 8px 0;
}

.info-item {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.header-top a:hover {
    color: var(--primary-color);
}

.header-top i {
    color: var(--primary-color);
    margin-right: 5px;
}

.main-header {
    background-color: var(--white);
    transition: var(--transition);
    z-index: 1000;
}

.main-header .navbar-nav .nav-link {
    color: var(--secondary-color) !important;
    font-weight: 700;
    font-family: var(--font-heading);
    padding: 20px 15px !important;
    position: relative;
    transition: var(--transition);
}

.main-header .navbar-nav .nav-link:hover,
.main-header .navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

.main-header .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 15px;
    right: 15px;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: var(--transition);
}

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

/* Hero Section */
.hero-section {
    height: 100vh;
    min-height: 500px;
    overflow: hidden;
}

.hero-swiper {
    height: 100%;
}

@media (max-width: 768px) {
    .hero-section {
        height: auto;
        min-height: 100vh;
        overflow: visible;
    }
}

/* Breadcrumb Area */
.breadcrumb-area {
    padding: 120px 0;
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1;
}

.breadcrumb-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(46, 46, 84, 0.95) 0%, rgba(46, 46, 84, 0.6) 100%);
    z-index: -1;
}

.breadcrumb-content h1 {
    font-size: 50px;
    color: var(--white);
    margin-bottom: 15px;
}

.breadcrumb-list {
    display: flex;
    justify-content: center;
    gap: 10px;
    color: var(--white);
    font-weight: 600;
}

.breadcrumb-list a {
    color: var(--primary-color);
}

.breadcrumb-list span {
    color: rgba(255, 255, 255, 0.7);
}

.hero-slide {
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-slide .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(46, 46, 84, 0.9) 0%, rgba(46, 46, 84, 0.4) 100%);
}

.hero-content h1 {
    font-size: 70px;
    line-height: 1.1;
    color: var(--white);
}

.hero-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin: 25px 0 40px;
}
/* Hero Controls */
.hero-section .swiper-button-next,
.hero-section .swiper-button-prev {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.hero-section .swiper-button-next:after,
.hero-section .swiper-button-prev:after {
    font-size: 20px;
    font-weight: bold;
}

.hero-section .swiper-button-next:hover,
.hero-section .swiper-button-prev:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.hero-section .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--white);
    opacity: 0.3;
    transition: var(--transition);
}

.hero-section .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary-color);
    width: 30px;
    border-radius: 10px;
}

.services-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.service-card {
    background: #06163A;
    padding: 25px 20px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    height: 100%;
    display: flex;
    flex-direction: column;
}


.service-content {
    margin-top: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}



.service-card:hover {
    background: var(--white);
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.service-card:hover h3,
.service-card:hover h3 a,
.service-card:hover p {
    color: var(--heading-color) !important;
}

.service-img {
    position: relative;
    z-index: 1;
    height: 250px;
    width: 100%;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-img.framed-img {
    background-color: var(--white);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-img.framed-img img {
    object-fit: contain !important;
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
    transition: var(--transition);
    z-index: 2;
    bottom: 20px;
    right: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}



.transition-link {
    transition: var(--transition);
}

.service-card:hover .transition-link {
    padding-left: 5px;
}

.service-card:hover .service-icon {
    background: var(--secondary-color);
    transform: rotateY(180deg);
}

/* Office Card */
.office-card {
    height: 100%;
    transition: var(--transition);
    background: var(--white);
    display: flex;
    flex-direction: column;
}

.office-img {
    height: 250px;
    width: 100%;
    overflow: hidden;
}

.office-img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.office-card:hover .office-img img {
    transform: scale(1.1);
}

.office-content {
    flex: 1;
}

/* Process Card */
.process-card {
    transition: var(--transition);
    position: relative;
    height: 100%;
}

.process-img-box {
    height: auto;
    aspect-ratio: 16 / 9;
    position: relative;
    z-index: 1;
}

.process-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.process-card:hover .process-img-box img {
    transform: scale(1.1);
}

.process-icon-mini {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border: 5px solid var(--white);
    margin-bottom: -30px;
    z-index: 10;
    position: relative;
}

.process-card-content {
    position: relative;
    z-index: 1;
}

.step-count {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 40px;
    font-weight: 900;
    color: rgba(0, 174, 239, 0.05);
    line-height: 1;
    font-family: var(--font-heading);
}

.process-card:hover {
    transform: translateY(-10px);
}


/* Team Card */
.team-card {
    background: var(--white);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.team-img {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}


/* Why Choose Us Section */
.choose-us-section {
    background: #06163A;
    position: relative;
    z-index: 1;
}

.choose-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 15px;
    transition: all 0.4s ease;
    height: 100%;
    text-align: center;
}

.choose-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.choose-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 174, 239, 0.1);
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.choose-card:hover .choose-icon {
    background: var(--primary-color);
    color: var(--white);
    transform: rotateY(180deg);
}

.choose-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    transition: var(--transition);
}

.choose-card:hover h3 {
    color: var(--primary-color);
}

.choose-card p {
    margin-bottom: 0;
    line-height: 1.6;
    color: var(--white);
}

/* Review Section */
.review-section {
    background: #F1F3F4; /* Google background color */
}

.review-card {
    background: #FFFFFF;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(60,64,67,0.30), 0 4px 8px 3px rgba(60,64,67,0.15);
    height: 100%;
    transition: all 0.2s ease-in-out;
    border: none;
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    box-shadow: 0 4px 12px rgba(60,64,67,0.30);
}

.reviewer-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.reviewer-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.reviewer-details {
    flex-grow: 1;
}

.reviewer-name {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 0;
    color: #202124; /* Google text color */
}

.review-date {
    font-size: 12px;
    color: #70757a;
}

.star-rating {
    color: #fbbc05; /* Google Star Color */
    font-size: 14px;
    margin-bottom: 12px;
    display: flex;
    gap: 2px;
}

.google-icon-box {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.google-g-logo {
    font-weight: 900;
    font-size: 16px;
    background: linear-gradient(45deg, #4285f4 25%, #ea4335 25% 50%, #fbbc05 50% 75%, #34a853 75%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.review-text {
    font-size: 14px;
    line-height: 1.5;
    color: #3c4043;
    margin-bottom: 0;
}

.google-summary {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #dadce0;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
}

/* Projects Section */
.project-box {
    height: 450px;
    overflow: hidden;
    position: relative;
}

.project-main-img {
    height: 100%;
    object-fit: cover;
    transition: 0.8s;
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(0deg, rgba(46, 46, 84, 0.95) 0%, rgba(46, 46, 84, 0) 100%);
    transition: var(--transition);
}

.project-box:hover .project-main-img {
    transform: scale(1.1);
}

.project-btn {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.project-box:hover .project-btn {
    background: var(--primary-color);
    color: var(--white);
}

/* Footer */
.main-footer {
    background: var(--secondary-color);
    color: rgba(255, 255, 255, 0.7);
    padding-top: 100px;
}

.footer-widget-title {
    color: var(--white);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer-list li {
    margin-bottom: 15px;
}

.footer-list a:hover {
    padding-left: 10px;
    color: var(--primary-color);
}

.footer-bottom {
    background: #1a1a3a;
    padding: 25px 0;
    margin-top: 80px;
}

/* Floating-Buttons */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(15deg);
    color: var(--white);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 36px;
    }

    .display-5 {
        font-size: 32px;
    }

    .py-100 {
        padding: 50px 0;
    }


    .navbar-collapse {
        background: var(--white);
        padding: 20px;
        border-radius: 10px;
        box-shadow: var(--shadow-md);
        margin-top: 15px;
    }
}

@media (max-width: 768px) {
    .whatsapp-float, .back-to-top {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
    }
    .whatsapp-float { left: 20px; }
    .back-to-top { right: 20px; font-size: 18px; }


    .section-head h2 {
        font-size: 28px;
    }

    .service-card {
        padding: 30px 20px;
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 575px) {
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-content p {
        font-size: 14px;
    }

    .sub-title {
        font-size: 12px;
    }
}

/* Tracking Page Styles */
.tracking-form-card {
    border-top: 5px solid #00AEEF !important;
}

.tracking-input-box .form-control:focus {
    border-color: #00AEEF;
    box-shadow: none;
}

.track-progress .progress-bar {
    transition: width 1.5s ease-in-out;
}

.track-stepper .step-visual .step-dot {
    box-shadow: 0 0 0 5px rgba(0, 174, 239, 0.1);
}

.track-stepper .active-step .step-content h5 {
    color: #011C39 !important;
}

.track-stepper .inactive-step {
    opacity: 0.6;
}

.hover-primary-link:hover {
    color: #00AEEF !important;
    transition: 0.3s;
}

/* Tracking Result Card Header */
.tracking-result-dashboard .card-header {
    background: linear-gradient(135deg, #00AEEF 0%, #0087b8 100%);
}

@media (max-width: 575px) {
    .tracking-form-card {
        padding: 30px 20px !important;
    }
}

/* Contact Info Icons */
.icon-circle {
    min-width: 60px;
    height: 60px;
    font-size: 20px;
    transition: var(--transition);
}

.contact-info-item:hover .icon-circle {
    background: var(--primary-color) !important;
    color: var(--white) !important;
    transform: rotate(10deg);
}

@media (max-width: 575px) {
    .icon-circle {
        min-width: 50px;
        height: 50px;
        font-size: 18px;
    }
}