/* PREMIUM AC WEBSITE STYLESHEET */
@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@300;400;600;700&family=Roboto:wght@300;400;500;700&display=swap');

:root {
    --primary-red: #E60012;
    --primary-red-dark: #b5000e;
    --corporate-blue: #002C5F;
    /* Deep premium blue */
    --tech-blue: #009FE3;
    /* Lighter highlight blue */
    --text-dark: #1a1a1a;
    --text-gray: #555555;
    --light-bg: #f4f7f6;
    --white: #ffffff;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.12);
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-gray);
    background-color: #fafafa;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Barlow', sans-serif;
    color: var(--text-dark);
    font-weight: 700;
    letter-spacing: -0.5px;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* === HEADER & NAV === */
.top-bar {
    background-color: var(--corporate-blue);
    color: #fff;
    font-size: 0.85rem;
    padding: 8px 0;
    font-family: 'Barlow', sans-serif;
    letter-spacing: 0.5px;
}

.top-bar a {
    color: rgba(255, 255, 255, 0.8);
}

.top-bar a:hover {
    color: #fff;
}

/* Stats Overlap Container */
.stats-overlap-container {
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

@media (max-width: 768px) {
    .stats-overlap-container {
        margin-top: 0;
        /* Remove negative margin on mobile */
    }

    .carousel-item img {
        height: auto !important;
        /* Allow natural scaling */
        min-height: auto;
    }
}

.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: 'Barlow', sans-serif;
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--text-dark) !important;
    letter-spacing: -1px;
}

.navbar-brand i {
    color: var(--primary-red);
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 600;
    font-family: 'Barlow', sans-serif;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 0.5rem 1rem !important;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.btn-primary {
    background: var(--primary-red);
    border: none;
    padding: 10px 25px;
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    /* Slight roundness */
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    background: var(--primary-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 0, 18, 0.3);
}

/* === HERO SECTION === */
.hero-section {
    position: relative;
    /* Updated gradient for more depth */
    background: linear-gradient(135deg, rgba(0, 44, 95, 0.9) 0%, rgba(0, 44, 95, 0.6) 100%), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
    height: 85vh;
    display: flex;
    align-items: center;
    color: #fff;
    clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
    /* Modern angled bottom */
}

.hero-content h1 {
    font-size: 4rem;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    max-width: 600px;
    margin-bottom: 2rem;
}

/* === SECTIONS GENERAL === */
section {
    padding: 80px 0;
}

.section-title {
    margin-bottom: 60px;
    text-align: center;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-red);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-title p {
    color: var(--text-gray);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* === CARDS (Products & Services) === */
.card {
    border: none;
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
}

.product-card:hover,
.service-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.product-img-wrapper {
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.product-img-wrapper img {
    transition: transform 0.5s ease;
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.05);
}

/* Service Box Specifics */
.service-box {
    padding: 40px 30px;
    border-radius: 12px;
    background: #fff;
    text-align: center;
    height: 100%;
    border-bottom: 4px solid transparent;
    transition: all 0.3s ease;
}

.service-box:hover {
    border-bottom-color: var(--primary-red);
}

.service-icon {
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    background: rgba(0, 159, 227, 0.1);
    color: var(--tech-blue);
    font-size: 2rem;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.service-box:hover .service-icon {
    background: var(--tech-blue);
    color: #fff;
    transform: rotateY(180deg);
}

/* === TESTIMONIALS === */
.testimonial-section {
    background: #0a0a0a;
    position: relative;
    overflow: hidden;
}

.testimonial-card {
    border: none !important;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.avatar-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
}

.quote-icon-card {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 2rem;
    color: rgba(0, 0, 0, 0.05);
}

.italic {
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.7;
}

.swiper-pagination-bullet {
    background: #fff !important;
    opacity: 0.3;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary-red) !important;
}

.testimonialSwiper {
    padding-bottom: 50px !important;
}

/* === FOOTER === */
footer {
    background: #111;
    color: #888;
    padding-top: 80px;
    font-size: 0.95rem;
}

footer h5 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

footer a {
    color: #888;
}

footer a:hover {
    color: var(--primary-red);
    padding-left: 5px;
}

/* === FLOATING CALL TO ACTION === */
.sticky-contact {
    bottom: 30px;
    right: 30px;
    gap: 15px;
}

.btn-whatsapp,
.btn-call {
    width: 60px;
    height: 60px;
    font-size: 28px;
    border: 3px solid #fff;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-whatsapp:hover,
.btn-call:hover {
    transform: scale(1.1);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .hero-section {
        height: auto;
        padding: 100px 0;
        background-attachment: scroll;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .display-4 {
        font-size: 2rem;
    }

    .process-step::after {
        display: none;
    }
}

/* === FAQ === */
.accordion-item {
    border: none;
    margin-bottom: 10px;
    border-radius: 8px !important;
    box-shadow: var(--shadow-sm);
}

.accordion-button {
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    padding: 20px;
}

.accordion-button:not(.collapsed) {
    color: var(--primary-red);
    background-color: #fff;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .125);
}

.accordion-body {
    font-size: 0.95rem;
    color: var(--text-gray);
}

/* === PROCESS === */
.process-step {
    position: relative;
    padding: 0 20px;
}

.process-icon {
    width: 70px;
    height: 70px;
    background: #fff;
    border: 2px solid var(--primary-red);
    color: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
    z-index: 2;
    position: relative;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 35px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: #e9ecef;
    z-index: 1;
}

.process-step:last-child::after {
    display: none;
}

/* === BRAND STRIP === */
.brand-strip {
    background: #fff;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.brand-item {
    opacity: 0.5;
    transition: 0.3s;
    font-weight: 700;
    color: #ccc;
    font-size: 1.5rem;
}

.brand-item:hover {
    opacity: 1;
    color: var(--text-dark);
}

/* === FEATURE CARD === */
.feature-card {
    padding: 30px 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: 0.3s;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-red);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 20px;
}

/* === CONTACT SECTION === */
.contact-section {
    background: #f8f9fa;
}

.contact-info-wrap .icon-box {
    width: 50px;
    height: 50px;
    background: rgba(230, 0, 18, 0.1);
    color: var(--primary-red);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-form-card {
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 0.25rem rgba(230, 0, 18, 0.1);
}

.ls-1 {
    letter-spacing: 1px;
}

/* === HERO IMAGE STYLES === */
.hero-image-wrapper {
    position: relative;
    z-index: 1;
    padding: 20px;
}

.floating-ac {
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    animation: floatAC 4s ease-in-out infinite;
    border-radius: 20px;
}

@keyframes floatAC {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(0, 44, 95, 0.1));
    z-index: -1;
}

/* === REFINED 3D HERO IMAGE === */
.hero-image-wrapper {
    perspective: 1000px;
    padding-top: 60px;
    /* Move image lower */
}

.floating-ac {
    transform: rotateY(-15deg) rotateX(5deg);
    transform-style: preserve-3d;
    filter: drop-shadow(-20px 30px 50px rgba(0, 0, 0, 0.5));
    transition: transform 0.5s ease;
}

.floating-ac:hover {
    transform: rotateY(-5deg) rotateX(2deg) scale(1.02);
}

@keyframes floatAC {
    0% {
        transform: rotateY(-15deg) rotateX(5deg) translateY(0px);
    }

    50% {
        transform: rotateY(-15deg) rotateX(5deg) translateY(-25px);
    }

    100% {
        transform: rotateY(-15deg) rotateX(5deg) translateY(0px);
    }
}

/* === HERO SWIPER STYLES === */
.hero-swiper-container {
    position: relative;
    overflow: hidden;
    padding: 0;
}

.hero-slide-content {
    height: 90vh;
    min-height: 600px;
    color: #fff;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

.hero-content h1 {
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.hero-nav-btn {
    color: #fff !important;
    transition: all 0.3s ease;
}

.hero-nav-btn:hover {
    color: var(--primary-red) !important;
    transform: scale(1.2);
}

.hero-nav-btn::after {
    font-size: 24px !important;
    font-weight: bold;
}

.hero-pagination .swiper-pagination-bullet {
    background: #fff !important;
    width: 12px;
    height: 12px;
    opacity: 0.5;
}

.hero-pagination .swiper-pagination-bullet-active {
    background: var(--primary-red) !important;
    opacity: 1;
    width: 30px;
    border-radius: 6px;
}

@media (max-width: 991px) {
    .hero-slide-content {
        height: auto;
        padding: 80px 0;
        /* Reduced padding */
        clip-path: none;
        text-align: center;
        /* Center align on smaller screens */
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-content .d-flex {
        justify-content: center;
        /* Center buttons */
    }
}

@media (max-width: 768px) {
    .hero-slide-content {
        padding: 60px 0;
        min-height: 400px;
        /* Ensure minimum height on mobile */
    }

    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .btn-lg {
        padding: 8px 20px;
        font-size: 0.9rem;
    }

    .hero-swiper-container .swiper-button-next,
    .hero-swiper-container .swiper-button-prev {
        display: none;
        /* Hide navigation arrows on mobile for cleaner look */
    }
}

/* === PREMIUM ABOUT SECTION === */
.about-section {
    background-color: #fdfdfd;
}

.about-img-group {
    position: relative;
    padding: 40px 0;
}

.experience-badge {
    position: absolute;
    top: 0;
    left: -30px;
    z-index: 5;
    text-align: center;
    min-width: 140px;
}

.secondary-img {
    position: absolute;
    bottom: -20px;
    right: -40px;
    width: 280px;
    z-index: 4;
    border: 8px solid #fff;
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modern-feature-card {
    transition: all 0.3s ease;
}

.modern-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1) !important;
}

/* === COUNTER SECTION === */
.counter-section {
    position: relative;
    overflow: hidden;
}

.counter-item {
    transition: transform 0.3s ease;
}

.counter-item:hover {
    transform: translateY(-10px);
}

.counter-section h2 {
    color: #fff;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.ls-1 {
    letter-spacing: 1.5px;
}

/* === ABOUT PAGE PREMIUM STYLES === */
.about-hero-section {
    position: relative;
    overflow: hidden;
}

.about-modern-gallery {
    position: relative;
    padding: 40px 0;
}

.gallery-sub {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 250px;
    border: 8px solid #fff;
    z-index: 2;
}

.icon-wrap {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.bg-danger-soft {
    background-color: rgba(220, 53, 69, 0.1);
}

.bg-primary-soft {
    background-color: rgba(13, 110, 253, 0.1);
}

.bg-dark-soft {
    background-color: rgba(33, 37, 41, 0.1);
}

.transition-up {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.transition-up:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.py-100 {
    padding: 100px 0;
}

@media (max-width: 991px) {
    .py-100 {
        padding: 60px 0;
    }
}

.navbar {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    min-height: 80px;
}

.header-logo {
    height: 75px;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar-brand {
    padding: 0 !important;
    margin-right: 20px;
}

/* === PREMIUM FOOTER STYLES === */
.premium-footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: rgba(255, 255, 255, 0.7);
}

.footer-main {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: 70px;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-heading {
    color: #fff;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
    font-size: 1.1rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #dc3545, #ff6b6b);
    border-radius: 3px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #dc3545;
    padding-left: 5px;
}

.footer-links a i {
    font-size: 0.7rem;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.footer-links a:hover i {
    opacity: 1;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: rgba(220, 53, 69, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-icon i {
    color: #dc3545;
    font-size: 1rem;
}

.contact-text {
    font-size: 0.9rem;
}

.contact-text strong {
    display: block;
    color: #fff;
    margin-bottom: 3px;
    font-size: 0.85rem;
}

.contact-text a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.contact-text a:hover {
    color: #dc3545;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #dc3545;
    color: #fff;
    transform: translateY(-3px);
}

.newsletter-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-form .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    border-radius: 8px 0 0 8px;
    padding: 12px 15px;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form .btn {
    border-radius: 0 8px 8px 0;
    padding: 12px 20px;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.footer-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    margin-left: 10px;
}

.footer-badge i {
    color: #dc3545;
}

/* === CLEAN DROPDOWN MENU === */
.dropdown-menu {
    border: none;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.12);
    padding: 8px 0;
    margin-top: 0;
    min-width: 200px;
    background: #fff;
}

.dropdown-item {
    padding: 10px 18px;
    font-weight: 500;
    font-size: 0.88rem;
    color: #444;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.dropdown-item i {
    width: 22px;
    color: #00529b;
    font-size: 0.85rem;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: #f5f8fa;
    color: #00529b;
}

.dropdown-divider {
    margin: 6px 0;
    border-top: 1px solid #eee;
}

/* Dropdown toggle arrow */
.nav-item.dropdown .nav-link.dropdown-toggle::after {
    border: none;
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.6rem;
    margin-left: 5px;
    vertical-align: middle;
}