.features-slider .swiper-slide {
    display: flex;
    justify-content: center;
}

.fetures-item-three {
    display: flex;
    flex-direction: column;
    width: 100%;                  /* changed from 300px to 100% */
    max-width: 300px;              /* limits maximum width */
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
    margin: 0 auto;                /* centers the card if needed */
}

.fetures-thumb-three img {
    width: 100%;
    height: auto;                  /* maintains aspect ratio */
    object-fit: cover;
}

.fetures-content-three {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.fetures-content-three h4.title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 10px;
    font-size: 1.2rem;             /* use relative units */
}

.fetures-content-three .description {
    overflow: hidden;
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-height: 1.5;
    max-height: 4.5em;
    transition: max-height 0.3s ease;
    font-size: 1rem;
}

.fetures-content-three .description.expanded {
    line-clamp: unset;
    -webkit-line-clamp: unset;
    max-height: 1000px;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    color: #007bff;
    cursor: pointer;
    font-weight: 500;
}

/* Swiper Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  color: #333;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: #fff;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  transform: scale(1.05);
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 20px;
  font-weight: 600;
  color: #2c3e50;
}

.swiper-button-next {
  right: 20px;
}

.swiper-button-prev {
  left: 20px;
}

/* Swiper Pagination */
.swiper-pagination {
  bottom: 20px !important;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.6);
  opacity: 1;
  margin: 0 5px;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background: #fff;
  width: 30px;
  border-radius: 5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .swiper-button-next,
  .swiper-button-prev {
    width: 40px;
    height: 40px;
  }

  .swiper-button-next:after,
  .swiper-button-prev:after {
    font-size: 16px;
  }

  .swiper-button-next {
    right: 10px;
  }

  .swiper-button-prev {
    left: 10px;
  }

  .swiper-pagination-bullet-active {
    width: 20px;
  }
}
.features-slider.swiper-container {
  width: 100%;
  height: auto;
  overflow: hidden;
  position: relative;
}

.swiper-wrapper {
  display: flex;
  align-items: stretch;
}
/* Horizontal Slider Container */
.footer-blog-slider {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 5px;

    /* Hide scrollbar (clean look) */
    scrollbar-width: none;
}

.footer-blog-slider::-webkit-scrollbar {
    display: none;
}

/* Each Slide Item */
.footer-blog-item {
    flex: 0 0 auto;
    width: 100px;                   /* base width */
    aspect-ratio: 1 / 1;            /* square */
    border-radius: 10px;
    overflow: hidden;
    background: #f4f6ff;
    display: block;
}

.footer-blog-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.footer-blog-item:hover img {
    transform: scale(1.1);
}

.footer-blog-slider {
    position: relative;
}

.footer-blog-slider .swiper-button-prev,
.footer-blog-slider .swiper-button-next {
    color: #fff;
    width: 30px;
    height: 30px;
}

.services-dropdown {
    max-height: 300px;
    overflow-y: auto;
    scroll-behavior: smooth;
    max-height: min(300px, 60vh);
}

/* ===== Hero Slider Base ===== */
.home-slider {
    width: 100%;
    height: 100vh; /* Full viewport height */
    position: relative;
}

.hero-slide {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Animated gradient overlay */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.6), rgba(0,0,0,0.3));
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    z-index: 2;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Hero content */
.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 0 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    align-items: center;   /* FIX */
}

/* Hero text styling */
.hero-title {
    font-size: 3rem;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.hero-text {
    font-size: 1.25rem;
    margin-bottom: 25px;
    color: #f8f9fa;
}

.hero-btn {
    padding: 6px 14px;
    display: inline-block;
    width: fit-content;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Swiper navigation */
.swiper-button-next,
.swiper-button-prev {
    color: #fff;
    transition: color 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    color: #ffc107;
}

/* Swiper pagination */
.swiper-pagination-bullet {
    background: #fff;
    opacity: 0.7;
}

.swiper-pagination-bullet-active {
    background: #ffc107;
    opacity: 1;
}

/* ===== Responsive Styles ===== */

/* Large tablets / small desktops */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-text {
        font-size: 1.1rem;
    }
}

/* Tablets */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2rem;
    }
    .hero-text {
        font-size: 1rem;
    }
    .hero-btn {
        padding: 10px 25px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hero-title {
        font-size: 1.6rem;
    }
    .hero-text {
        font-size: 0.95rem;
    }
    .hero-btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.4rem;
    }
    .hero-text {
        font-size: 0.85rem;
    }
    .hero-btn {
        padding: 6px 15px;
        font-size: 0.8rem;
    }
}

.footer-about {
    max-height: 120px;                /* adjust as needed */
    overflow-y: auto;
    line-height: 1.6;
}

.about-experiences-wrap {
    padding-top: 40px;
    padding-bottom: 80px;             /* increases vertical space */
    margin-bottom: 60px;               /* extra space from next section */
}

/* ========== RESPONSIVE MEDIA QUERIES ========== */

/* Large devices (desktops, up to 1200px) */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 40px;
    }
    .hero-text {
        font-size: 16px;
    }
}

/* Medium devices (tablets, up to 992px) */
@media (max-width: 992px) {
    .hero-title {
        font-size: 36px;
    }
    .hero-text {
        font-size: 15px;
    }
    .fetures-content-three {
        padding: 15px;                /* reduce padding */
    }
}

/* Small devices (landscape phones, up to 768px) */
@media (max-width: 768px) {
    .home-slider,
    .hero-slide {
        height: 50vh;                 /* reduce height */
    }
    .hero-title {
        font-size: 28px;
    }
    .hero-text {
        font-size: 14px;
    }
    .fetures-item-three {
        max-width: 260px;              /* slightly smaller card */
    }
    .fetures-content-three h4.title {
        font-size: 1.1rem;
    }
    .fetures-content-three .description {
        font-size: 0.9rem;
    }
    .footer-blog-item {
        width: 85px;                   /* smaller slider items */
    }
    .footer-about {
        max-height: 100px;              /* adjust for mobile */
    }
    .about-experiences-wrap {
        padding-top: 30px;
        padding-bottom: 50px;
        margin-bottom: 40px;
    }
}

/* Extra small devices (phones, up to 480px) */
@media (max-width: 480px) {
    .home-slider,
    .hero-slide {
        height: 40vh;                 /* even smaller height */
    }
    .hero-title {
        font-size: 22px;
    }
    .hero-text {
        font-size: 12px;
    }
    .fetures-item-three {
        max-width: 220px;              /* smaller card */
    }
    .fetures-content-three {
        padding: 12px;
    }
    .fetures-content-three h4.title {
        font-size: 1rem;
    }
    .fetures-content-three .description {
        font-size: 0.85rem;
        line-clamp: 2;
        -webkit-line-clamp: 2;          /* show fewer lines if needed */
    }
    .footer-blog-item {
        width: 70px;                   /* smallest slider items */
    }
    .footer-about {
        max-height: 80px;
    }
    .about-experiences-wrap {
        padding-top: 20px;
        padding-bottom: 30px;
        margin-bottom: 30px;
    }
}
/* =====================================
   Premium Corporate Top Header
===================================== */

.top-header {
    background: #1f2937;
    color: #f9fafb;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Layout Control */
.top-header .top-contact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

/* Contact Items */
.top-header .contact-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
    transition: all 0.25s ease;
}

.top-header .contact-item i {
    font-size: 13px;
    color: #ff8c42;
}

.top-header .contact-item a {
    color: #f9fafb;
    text-decoration: none;
    font-size: 13px;
}

.top-header .contact-item:hover {
    background: var(--tg-primary-color);
}

/* ===============================
   Share Section
================================= */

.share-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 20px;
    margin-left: 20px;
    border-left: 1px solid rgba(255,255,255,0.1);
}

.share-actions .title {
    font-size: 13px;
    color: #9ca3af;
    margin: 0;
}

/* Share List */
.share-list {
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.share-list li {
    list-style: none;
}

/* Control AddToAny icon wrapper */
.share-list a {
    width: 26px !important;
    height: 26px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.06) !important;
    transition: all 0.25s ease;
}

/* Control SVG icon size */
.share-list a .a2a_svg {
    width: 14px !important;
    height: 14px !important;
}

/* Subtle hover */
.share-list a:hover {
    background: rgba(255,255,255,0.15) !important;
    transform: translateY(-2px);
}

/* Brand Hover Colors */
.share-list a.a2a_button_facebook:hover {
    color: #1877f2 !important;
}

.share-list a.a2a_button_twitter:hover {
    color: #1da1f2 !important;
}

.share-list a.a2a_button_linkedin:hover {
    color: #0a66c2 !important;
}

.share-list a.a2a_button_email:hover {
    color: #ff8c42 !important;
}

/* ===============================
   Responsive
================================= */

@media (max-width: 991px) {

    .top-header {
        text-align: center;
    }

    .top-header .d-md-flex {
        flex-direction: column !important;
        gap: 10px;
    }

    .share-actions {
        border-left: none;
        padding-left: 0;
        margin-left: 0;
        justify-content: center;
    }

    .top-header .top-contact {
        justify-content: center;
    }
}

@media (max-width: 576px) {

    .top-header {
        font-size: 12px;
        padding: 6px 10px;
    }

    .top-header .contact-item {
        padding: 3px 8px;
    }

    .top-header .contact-item a {
        font-size: 12px;
    }

    .share-list a {
        width: 22px !important;
        height: 22px !important;
    }

    .share-list a .a2a_svg {
        width: 12px !important;
        height: 12px !important;
    }
}

/* Container */
.blog-details-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px 0;
    border-top: 1px solid #e0e0e0;
}

/* Section styling */
.post-tags, .share-section {
    display: flex;
    flex-direction: column;
}

/* Lists */
.tags-list, .share-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 5px 0 0 0;
}

/* Tags styling */
.tags-list li a {
    background: #f1f1f1;
    color: #333;
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 14px;
    text-decoration: none;
    transition: 0.3s;
}

.tags-list li a:hover {
    background: #007BFF;
    color: #fff;
}

/* Share buttons styling */
.share-list li a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f1f1;
    color: #333;
    transition: 0.3s;
    text-decoration: none;
}

.share-list li a:hover {
    background: #007BFF;
    color: #fff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .blog-details-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .post-tags, .share-section {
        width: 100%;
        margin-bottom: 15px;
    }

    .share-list {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .tags-list li a, .share-list li a {
        font-size: 13px;
        padding: 4px 10px;
        width: 32px;
        height: 32px;
    }
}

/* ---------- About Section ---------- */
.about-area {
    padding-top: 120px;
    padding-bottom: 90px;
}
.about-img-wrap img {
    max-width: 100%;
    border-radius: 15px;
    margin-bottom: 15px;
}
.about-list ul li {
    list-style: none;
    margin-bottom: 8px;
    color: #333;
}
.about-list ul li i {
    color: #28a745;
    margin-right: 8px;
}

/* ---------- Diagonal Wave Separator ---------- */
.section-separator {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}
.section-separator svg {
    display: block;
    width: 100%;
    height: 100px;
}

/* ---------- Vision / Mission / Commitment ---------- */
.vision-mission-area {
    background: linear-gradient(135deg, #0052D4, #6FB1FC);
    padding: 100px 0 60px 0;
}

.vm-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
}

.vm-col {
    position: relative;
}

.vm-col:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    right: -1px;
    width: 2px;
    height: calc(100% - 40px);
    background: rgba(255, 255, 255, 0.3);
}

.vm-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px 25px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    color: #fff;
    text-align: center;
}
.vm-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 35px 60px rgba(0, 0, 0, 0.25);
}

.icon-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 20px;
    background: rgba(255,255,255,0.15);
    box-shadow: 0 0 20px rgba(255,255,255,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.vm-item:hover .icon-circle {
    transform: scale(1.2);
    box-shadow: 0 0 35px rgba(255,255,255,0.5);
}

/* Gradient per card */
.vision-card .icon-circle {
    background: linear-gradient(135deg, #00c6ff, #0072ff);
}
.mission-card .icon-circle {
    background: linear-gradient(135deg, #28a745, #85e085);
}
.commitment-card .icon-circle {
    background: linear-gradient(135deg, #f39c12, #ffcc66);
}

.vm-item .title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}
.vm-item p {
    font-size: 1rem;
    line-height: 1.7;
    color: #f0f0f0;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .vm-col:not(:last-child)::after { display: none; }
    .vm-item { margin-bottom: 30px; }
}
@media (max-width: 767px) {
    .icon-circle { width: 70px; height: 70px; font-size: 2rem; }
    .vm-item .title { font-size: 1.25rem; }
    .vm-item p { font-size: 0.95rem; }
}
/* Bottom wave separator for Vision/Mission section */
.section-separator-bottom {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    margin-top: 60px; /* optional spacing from cards */
}
.section-separator-bottom svg {
    display: block;
    width: 100%;
    height: 100px;
}
