@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans&display=swap');



:root {
    --section-background: #102039;
}

body {
    font-family: 'Instrument Sans', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

@media (max-width: 480px) {
    .phone-number {
font-size: 12px;
    }
    .email-address {
font-size: 12px;
    
    } 
}

.subheader {
    background-color: var(--section-background);
}

/* ===== STICKY HEADER STYLES ===== */
/* Make the header container sticky */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* Subheader styles */
.subheader {
    background-color: var(--section-background);
    transition: all 0.3s ease;
}

/* Navbar styles */
.navbar {
    background: white !important;
    transition: all 0.3s ease;
}

/* Scroll effect for header */
#header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

#header.scrolled .subheader {
    transform: translateY(-100%);
    opacity: 0;
    height: 0;
    overflow: hidden;
}

/* Ensure proper spacing for hero sections */
body {
    padding-top: 0; /* Remove body padding to let hero section handle spacing */
}

/* Hero section adjustments */
.hero-section {
  /*  margin-top: 140px !important;*/
    position: relative;
    min-height: 55vh;
    padding-top: 60px; /* Add additional padding for better spacing */
    padding-bottom: 60px; /* Add bottom padding for balance */
}

/* Ensure hero content is properly positioned */
.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Responsive adjustments for hero spacing */
@media (max-width: 768px) {
    .hero-section {
      /*  margin-top: 120px !important; */
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

/* Ensure pages without hero sections have proper spacing */
body > *:not(#header):not(script):first-of-type {
    /*  margin-top: 140px !important;*/
}

@media (max-width: 768px) {
    body > *:not(#header):not(script):first-of-type {
         /*  margin-top: 120px !important;*/
    }
}

/* Specific styling for contact page */
.biz-form-wrapper {
     /*  margin-top: 140px !important;*/
}

@media (max-width: 768px) {
    .biz-form-wrapper {
       /* margin-top: 120px !important;*/
    }
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* ===== MOBILE DRAWER MENU STYLES ===== */

/* Drawer Overlay */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.drawer-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Drawer Menu */
.drawer-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100%;
    background-color: white;
    z-index: 1050;
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    overflow: hidden; /* Prevent body scroll */
}

.drawer-menu.open {
    left: 0;
}

/* Drawer Header */
.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    background-color: var(--section-background);
    color: white;
}

.drawer-logo img {
    /* Remove the filter to keep original colors */
}

.drawer-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    transition: transform 0.2s ease;
}

.drawer-close:hover {
    transform: scale(1.1);
}

/* Drawer Content */
.drawer-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow-y: auto; /* Enable scrolling */
    height: calc(100vh - 80px); /* Account for header height */
}

/* Drawer Navigation Section */
.drawer-nav-section {
    flex: 1;
    overflow-y: auto;
}

/* Drawer Navigation */
.drawer-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.drawer-nav-item {
    border-bottom: 1px solid #f0f0f0;
}

.drawer-nav-link {
    display: block;
    padding: 18px 20px;
    color: #102039;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
}

.drawer-nav-link:hover {
    background-color: #f8f9fa;
    color: var(--section-background);
    text-decoration: none;
}

.drawer-nav-link.active {
    background-color: var(--section-background);
    color: white;
}

.drawer-nav-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: #136CCC;
}

/* Drawer Footer */
.drawer-footer {
    padding: 15px 20px;
    border-top: 1px solid #e9ecef;
    background-color: #f8f9fa;
    flex-shrink: 0; /* Prevent footer from shrinking */
    min-height: 180px; /* Ensure minimum height for contact info */
}

.drawer-cta-btn {
    display: block;
    width: 100%;
    background-color: var(--section-background);
    color: white;
    padding: 12px;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.drawer-cta-btn:hover {
    background-color: #0a1a2e;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

.drawer-contact-info {
    font-size: 18px;
}

.drawer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
    color: #666;
    line-height: 1.3;
}

.drawer-contact-item i {
    color: var(--section-background);
    width: 16px;
    margin-top: 2px;
    flex-shrink: 0;
    font-size: 16px;
}

.drawer-contact-item a,
.drawer-contact-item span {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
    word-break: break-word;
    font-size: 18px;
}

.drawer-contact-item a:hover {
    color: var(--section-background);
}

/* Ensure navigation takes available space */
.drawer-nav {
    flex: 1;
    overflow-y: auto;
}

/* Hide drawer on desktop */
@media (min-width: 992px) {
    .drawer-overlay,
    .drawer-menu {
        display: none !important;
    }
}

/* Mobile optimizations */
@media (max-width: 576px) {
    .drawer-menu {
        width: 280px;
        left: -280px;
    }
    
    .drawer-footer {
        min-height: 160px;
        padding: 12px 15px;
    }
    
    .drawer-contact-item {
        margin-bottom: 10px;
        font-size: 12px;
    }
    
    .drawer-contact-item a,
    .drawer-contact-item span {
        font-size: 15px;
    }
    
    .drawer-cta-btn {
        padding: 10px;
        font-size: 13px;
        margin-bottom: 12px;
    }
}

/* Extra small screens */
@media (max-width: 375px) {
    .drawer-menu {
        width: 260px;
        left: -260px;
    }
    
    .drawer-footer {
        min-height: 150px;
        padding: 10px 12px;
    }
    
    .drawer-contact-item {
        margin-bottom: 8px;
    }
    
    .drawer-contact-item a,
    .drawer-contact-item span {
        font-size: 14px;
    }
}

.subheader {
    background-color: var(--section-background);
}

/* Remove conflicting hero section styles */

.get-quote-btn {
    background-color: var(--section-background);

}

.get-quote-btn:hover {
    background-color: var(--section-background);
    transform: translateY(-2px);

}

.nav-item a {
    color: #102039;
    font-size: 18px
}

.hero-section {
    /* background: url('/PREMIER-DATACOM/images/male-electrician-works-switchboard.png') no-repeat center center/cover; */
    position: relative;
    min-height: 55vh;
     /*  margin-top: 140px !important;*/
    padding-top: 60px; /* Add top padding for better spacing */
    padding-bottom: 60px; /* Add bottom padding for balance */
}

@media (max-width:480px) {
    .hero-section img {
        /* background: url('/PREMIER-DATACOM/images/male-electrician-works-switchboard.png') no-repeat center center/contain; */
        position: relative;
        /* min-height: 50vh; */
    }

    .hero-section {
        background-position-x: right;
       /* margin-top: 120px !important;*/ /* Less margin on mobile */
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

/* .hero-section {
  background: url('/PREMIER-DATACOM/images/male-electrician-works-switchboard.png') no-repeat center center / cover;
  position: relative;
}

@media (min-width: 768px) {
  .hero-section {
    min-height: 55vh;
  }
}

@media (max-width: 480px) {
  .hero-section {
    background-position-x: right;
    background-size: contain;
    background-repeat: no-repeat;
  }
} */


.line {
    width: 25px;
    border: 1px solid;
    text-align: center;
    display: flex;
}

.halfline {
    width: 6px;
    border: 1px solid;
    text-align: center;
    display: flex;
}

.learn-more-btn-home i {
    transition: transform 0.5s ease;
}

.learn-more-btn-home:hover i {
    transform: translateX(5px);
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

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

.navbar-brand span {
    color: #000;
}

.bi {
    margin-right: 5px;
}


.our-services {
    background-color: #fff;
}

.service-card {
    background-color: var(--section-background);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s, background-image 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Slight lift on hover */
.service-card:hover {
    transform: translateY(-5px);
}

/* Service icon */
.service-icon {
    width: 40px;
    height: auto;
}

/* Hover state with background image */
.service-card[data-bg].hovered {
    background-image: var(--hover-bg);
}

/* Optional: Slight dark overlay for readability */
.service-card[data-bg]::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.8);
    /* make lighter than before */
    opacity: 0;
    z-index: 1;
}

.service-card[data-bg].hovered::before {
    opacity: 1;
}

/* Ensure content appears above overlay */
.service-card[data-bg]>* {
    position: relative;
    z-index: 2;
}



.about-section {
    background-color: #0f1e3b;
    position: relative;
    overflow: hidden;
    padding: 20px 0 !important;
    /* Still keep some padding inside */
    display: flex;
    align-items: center;
}


.bg-deco-top {
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: auto;
    z-index: 0;
}

.bg-deco-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200px;
    height: auto;
    z-index: 0;
}

.about-section .container {
    position: relative;
    z-index: 2;
}

.about-section h3 {
    font-size: 1.8rem;
}

.about-section .underline {
    width: 50px;
    height: 3px;
    background-color: #fff;
    margin-bottom: 1rem;
}

.about-section h2 {
    font-size: 2.2rem;
}

.about-section p {
    font-size: 1rem;
}

@media (max-width: 767px) {
    .about-section h2 {
        font-size: 1.6rem;
    }

    .bg-deco-top,
    .bg-deco-bottom {
        display: none !important;
    }
}

.project-card {
    background-color: #F3F4F5;
    border: none;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-3px);
}

.project-card img {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    height: 250px;
    object-fit: cover;
}

.read-more-btn {
    border: 1px solid var(--section-background);
    background-color: white;
    padding: 6px 16px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    background: #102039;
    color: white;
}

.section-title {
    font-weight: bold;
    font-size: 2rem;
}

.section-subtitle {
    color: black;
}


/* footer */
.custom-footer-link {
    text-decoration: none;
}

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

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

.custom-footer-link {
    position: relative;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    width: fit-content;
}

.custom-footer-link i {
    margin-right: 6px;
    transition: transform 0.3s ease;
}

.custom-footer-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 0.6px;
    width: 0;
    background-color: white;
    transition: width 0.3s ease;
}

.custom-footer-link:hover::after {
    width: 100%;
}

.custom-footer-link:hover i {
    transform: translateX(5px);
}


.custom-footer {
    background-color: var(--section-background);
    color: #FFFFFF;
    padding: 60px 20px 30px;
    position: relative;
    overflow: hidden;
}

/* Footer decorative images */
.custom-footer .bg-deco-top {
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: auto;
    z-index: 0;
}

.custom-footer .bg-deco-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200px;
    height: auto;
    z-index: 0;
}

.custom-footer .container {
    position: relative;
    z-index: 2;
}

.custom-footer-logo {
    max-width: 180px;
    margin-bottom: 10px;
}

.custom-footer-text {
    font-size: 14px;
    color: #FFFFFF;
    max-width: 250px;
}

.custom-footer-heading {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 16px;
}

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

.custom-footer-list a {
    margin-bottom: 10px;
    font-size: 14px;
    color: #FFFFFF;
}

.custom-footer-list i {
    margin-right: 8px;
    color: #FFFFFF;
}

.custom-footer-contact i {
    color: #FFFFFF;
    margin-right: 10px;
}

.custom-footer-bottom {
    font-size: 13px;
    color: #b0b0b0;
    padding-top: 20px;
    border-top: 1px solid #FFFFFF33;
    text-align: center;
    background-color: var(--section-background);
}

.header {
    z-index: 324;
}

.sticky {
    position: fixed;
    top: 0;
    width: 100%;
}

@media (max-width: 576px) {
    .custom-footer {
        text-align: center;
    }

    .custom-footer .col-md-4 {
        margin-bottom: 30px;
    }

    .custom-footer-text {
        margin: 0 auto;
    }
    
    /* Hide footer decorative images on mobile */
    .custom-footer .bg-deco-top,
    .custom-footer .bg-deco-bottom {
        display: none !important;
    }
}


/* caroucel */

.partners-section {
    padding: 40px 20px;
}

.partners-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.partners-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.marquee-wrapper {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.marquee-container {
    overflow: hidden;
    position: relative;
    border-radius: 10px;
}

/* Desktop - 6 logos */
@media (min-width: 992px) {
    .marquee-container {
        width: calc(6 * 180px);
        /* 6 logos × 180px each */
    }
}

/* Tablet - 4 logos */
@media (min-width: 768px) and (max-width: 991px) {
    .marquee-container {
        width: calc(4 * 180px);
        /* 4 logos × 180px each */
    }
}

/* Phone - 3 logos */
@media (max-width: 767px) {
    .marquee-container {
        width: calc(3 * 160px);
        /* 3 logos × 160px each */
    }
}

.marquee-content {
    display: flex;
    align-items: center;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    gap: 0;
}

.marquee-right {
    animation-name: scrollRight;
    animation-duration: 20s;
}

.marquee-left {
    animation-name: scrollLeft;
    animation-duration: 25s;
}

.marquee-content:hover {
    animation-play-state: paused;
}

.logo-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

/* Desktop logo sizing */
@media (min-width: 992px) {
    .logo-item {
        width: 180px;
    }
}

/* Tablet logo sizing */
@media (min-width: 768px) and (max-width: 991px) {
    .logo-item {
        width: 180px;
    }
}

/* Phone logo sizing */
@media (max-width: 767px) {
    .logo-item {
        width: 160px;
        padding: 0 15px;
    }
}

.partner-logo {
    height: 60px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    /* filter: grayscale(100%); */
    opacity: 1;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    /* filter: grayscale(0%); */
    opacity: 1;
    transform: scale(1.1);
}

/* Marquee animations */
@keyframes scrollRight {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

@keyframes scrollLeft {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(0);
    }
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .partners-title {
        font-size: 2rem;
    }

    .partners-subtitle {
        font-size: 1rem;
    }

    .partner-logo {
        height: 50px;
        max-width: 120px;
    }

    .marquee-right {
        animation-duration: 15s;
    }

    .marquee-left {
        animation-duration: 18s;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .partner-logo {
        height: 55px;
        max-width: 130px;
    }

    .marquee-right {
        animation-duration: 18s;
    }

    .marquee-left {
        animation-duration: 22s;
    }
}

/* Gradient fade effects on edges */
.marquee-container::before,
.marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50px;
    z-index: 2;
    pointer-events: none;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, #f8f9fa, transparent);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, #f8f9fa, transparent);
}

@media (max-width: 767px) {

    .marquee-container::before,
    .marquee-container::after {
        width: 30px;
    }
}

/* contact us */

.biz-form-wrapper .form-control,
.biz-form-wrapper .form-select {
    border: none !important;
    border-bottom: 1px solid #102039 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background-color: transparent !important;
}

.biz-form-wrapper .form-control:focus,
.biz-form-wrapper .form-select:focus {
    border-color: var(--section-background) !important;
    box-shadow: none !important;
    outline: none !important;
}

.biz-form-wrapper .form-check-input:checked {
    background-color: #102039;
    border-color: #102039;
}

.biz-form-wrapper .form-check-input {
    border: 2px solid #7f8285;
}

/* form */

.contact-section {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem;
}

.contact-section h2 {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.contact-section p {
    margin-bottom: 2rem;
}

.form-control {
    border-radius: 8px;
    padding: 12px;
    font-size: 1rem;
}

.form-control:focus,
.form-control:active {
    border-color: #102039;
    box-shadow: 0 0 0 0.2rem rgba(16, 32, 57, 0.25);
    outline: none;
}

.form-control::placeholder {
    color: #999;
}

.btn-submit {
    background-color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 500;
    margin-top: 1rem;
    color: var(--section-background);
}

.btn-submit:hover {
    /* background-color: black; */
    background-color: white;
    color: var(--section-background);
    transform: translateY(-2px);
}

/* about us */
.about-row-equal-height {
    display: flex;
    align-items: stretch;
}

.about-image-container {
    width: 100%;
    object-fit: cover;
    height: 100%;
    border-radius: 20px;
}

.about-text-container {
    padding-left: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-heading {
    font-size: 28px;
    font-weight: bold;
}

.about-premier {
    font-size: 16px;
}

@media (max-width: 767px) {
    .about-text-container {
        padding-left: 0;
        padding-top: 20px;
    }

    .about-heading {
        font-size: 24px;
    }
}

/* testimonials section  */


.testimonial-square {
    width: 25px;
    height: 25px;
    background-color: var(--section-background);
}

.testimonial-line {
    height: 1px;
    background-color: var(--section-background);
    margin-left: 0;
    width: 40px;
}

.testimonial-section {
    background: #102039;
    padding: 20px 0;
    color: white;
}

.testimonial-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 20px;
    pointer-events: none;
}

.testimonial-box {
    border: 5px solid white;
    width: 100%;
    max-width: 300px;
    height: 280px;
    position: relative;
    background: transparent;
    z-index: 1;
    
}

.testimonial-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-24%, -50%);
    background: white;
    color: #333;
    padding: 20px;
    width: 100%;
    max-width: 500px;
    min-height: 240px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    z-index: 10;

}

.testimonial-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.testimonial-text {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.client-info>div.divider {
    width: 20px;
    height: 1px;
    background-color: #102039;
}

.client-details h6 {
    margin: 0;
    font-weight: 600;
    color: #102039;
}

.client-details p {
    margin: 0;
    font-size: 12px;
    color: #102039;
}

.stars {
    color: #ffc107;
}

.nav-arrows {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 15;
    /* display: flex;
        gap: 10px;
        justify-content: flex-end; */
}

.nav-btn {
    width: 35px;
    height: 35px;
    background: #102039;
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-btn,
.nav-btn-left {
    position: relative;
    z-index: 16;
}


.nav-btn:hover {
    background: #102039;
    transform: scale(1.1);
}

.nav-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}


.nav-btn-left {
    width: 35px;
    height: 35px;
    background-color: white;
    color: #102039;

    border: 1px solid #102039;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-btn-left:hover {
    transform: scale(1.1);
}

.nav-btn-left:disabled {
    cursor: not-allowed;
    transform: none;
    background: #ccc;

}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    /* font-size: 2.5rem; */
    margin-bottom: 5px;
    font-weight: 700;
}

.section-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.swiper-pagination {
    position: relative;
    margin-top: 30px;
}

.testimonial-container {
    position: relative;
    max-width: 100%;
    padding: 0 0px;
    overflow: hidden;
}


.testimonialSwiper {
    overflow: visible;
    position: relative;
    z-index: 5;
    /* allows slides to peek */
}

.swiper-wrapper {
    padding-bottom: 30px;
    
    /* to avoid cut-off shadows */
}

.testimonial-slide {
    transition: transform 0.3s ease;
}

.testimonial-slide .nav-arrows {

    z-index: 20;
    pointer-events: auto;
}

.swiper-slide {
    opacity: 0.2;
    transition: opacity 0.5s ease;
}

.swiper-slide-active {
    opacity: 1 !important;
}

.swiper-slide-next,
.swiper-slide-prev {
    opacity: 0.4;
}


@media (max-width: 576px) {
    .swiper-pagination {
        margin-top: 10px;
    }

    .testimonial-box {

        height: 330px;

    }

    .testimonial-card {
        min-height: 280px;
    }

    .testimonial-container {

        padding: 0 20px;

    }


}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: white;
}

/* Hide default Swiper navigation */
.swiper-button-next,
.swiper-button-prev {
    display: none;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .testimonial-card {
        transform: translate(-50%, -50%);
        left: 50%;
        max-width: 90%;
    }

    .testimonial-box {
        left: -27%;
    }


}

@media (max-width: 768px) {
    .testimonial-slide {
        flex-direction: column;
        padding: 0;
    }

    .testimonial-box {
        display: none;
    }

    .testimonial-card {
        position: relative;
        transform: none;
        /* margin-top: 30px; */
        width: 100%;
        max-width: none;
        left: auto;
        top: auto;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .testimonial-section {
        padding: 60px 0;
    }

    .testimonial-card {
        padding: 20px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }
}


/* contact us */
.contact-btn {
    background-color: #102039;
    color: white;
    padding: 10px 20px;
    border: none;
    /* border-radius: 5px; */
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 200px;
}

.contact-btn:hover {
    background-color: #0c1a2b;
    color: white;
    transform: translateY(-2px);

}


/* blogs */

.blog-card {
    /* border: 1px solid #102039; */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    background: #F3F4F5;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image {
    height: 220px;
    object-fit: cover;
    width: 100%;
}

.blog-meta {
    font-size: 14px;
    color: #102039;
}

.read-more-blog {
    border: 1px solid #102039;
    border-radius: 30px;
    padding: 6px 20px;
    font-size: 14px;
    color: #102039;
    transition: 0.3s;
    text-decoration: none;
}

.read-more-blog:hover {
    background: #102039;
    color: white;
}

.bi-person {
    color: #102039;
    font-size: 16px;
}

.bi-calendar3 {
    color: #102039;
    font-size: 16px;
}

/* Scroll Animation Styles */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.scroll-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Slide animations */
.scroll-slide-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.scroll-slide-left.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.scroll-slide-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.scroll-slide-right.animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* Scale animation */
.scroll-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.scroll-scale.animate-in {
    opacity: 1;
    transform: scale(1);
}

/* Fade animation */
.scroll-fade {
    opacity: 0;
    transition: opacity 1.2s ease-out;
}

.scroll-fade.animate-in {
    opacity: 1;
}

/* Stagger delay for multiple elements */
.scroll-animate[data-delay="100"] { transition-delay: 0.1s; }
.scroll-animate[data-delay="200"] { transition-delay: 0.2s; }
.scroll-animate[data-delay="300"] { transition-delay: 0.3s; }
.scroll-animate[data-delay="400"] { transition-delay: 0.4s; }
.scroll-animate[data-delay="500"] { transition-delay: 0.5s; }
.scroll-animate[data-delay="600"] { transition-delay: 0.6s; }
.scroll-animate[data-delay="700"] { transition-delay: 0.7s; }
.scroll-animate[data-delay="800"] { transition-delay: 0.8s; }
.scroll-animate[data-delay="900"] { transition-delay: 0.9s; }
.scroll-animate[data-delay="1000"] { transition-delay: 1.0s; }

/* Responsive adjustments */
@media (max-width: 767px) {
    .scroll-animate {
        transform: translateY(20px);
    }
    
    .scroll-slide-left,
    .scroll-slide-right {
        transform: translateX(30px);
    }
    
    .scroll-slide-left {
        transform: translateX(-30px);
    }
}

/* Disable animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .scroll-animate,
    .scroll-slide-left,
    .scroll-slide-right,
    .scroll-scale,
    .scroll-fade {
        transition: none;
        opacity: 1;
        transform: none;
    }
}
