/* @import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap'); */
/* @import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* Color Variables */
:root {
    --primary-dark-blue: #1d305f;
    /* (29,48,95) */
    /* --secondary-blue: #5d8aaf;         (93,138,175) */
    --secondary-blue: #1E2A6A;
    --neutral-gray: #bfbebf;
    /* (191,190,191) */
    /* --accent-yellow: #f8cc24;          (248,204,36) */
    --accent-yellow: #ffff;
    --accent-green: #497945;
    /* (73,121,69) */
    --light-bg: #f5f5f5;
    --text-dark: #333;
    --white: #fff;
    --light-gray: #f8f9fa;
    --border-color: #ddd;
    --shadow: rgba(0, 0, 0, 0.1);
    --hover-blue: #2980b9;
    --accent: #1E2A6A;
    --accent-dark: #141d4a;
    --glass: rgba(30, 42, 106, 0.18);
    --glass-border: rgba(255, 255, 255, 0.14);
    --blur: 18px;
    --text: #0f172a;
    /* darker text for white bg */
    --text-soft: #334155;
    --shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
        --accent: #1E2A6A;
    --accent-dark: #141d4a;
    --glass: rgba(30, 42, 106, 0.16);
    --glass-border: rgba(255, 255, 255, 0.13);
    --blur: 16px;
    --text: #f8fafc;
    --text-soft: #e2e8f0;
    --shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    /* --head-font: "Poppins", sans-serif; */
    --head-font: "Noto Serif", serif;
    --para-font:   "Poppins", sans-serif;
    --head-color: #ffd966;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Ensure proper width handling without scaling issues */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.5;
    color: var(--text-dark);
    background-color: var(--light-bg);
    width: 100%;
    /* Use percentage instead of vw to prevent scaling issues */
    min-height: 100vh;
    overflow-x: hidden;
    /* Prevent horizontal scroll */
    scroll-behavior: smooth;
    /* Enable smooth scrolling for all anchor links */
}

.container {
    max-width: 100%;
    /* Changed from 90% */
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    /* Consistent padding */
    box-sizing: border-box;
    /* Ensure padding is included in width */
}

/* Container responsive breakpoints */
@media (min-width: 576px) {
    .container {
        max-width: 640px;
        padding: 0 20px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 820px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 1100px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
    }
}

/* Header and Navigation */
header {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 0.5rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: left;
    gap: 2rem;
}

.logo h1 {
    font-size: 1.8rem;
    margin: 0;
    /* Remove default margins */
}


/* Logo on left, nav on right layout */
.navbar .logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

/* Logo image styling */
/* .navbar*/

.navbar .nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin-left: auto;

}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

/* Hamburger Menu Styles */
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: #ffffff;
    z-index: 1002;
    position: relative;
    margin-right: 15px;
    /* Add breathing space from right edge */
}

.hamburger:hover {
    color: #f8cc24;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
        font-size: 20px;
        margin-right: 12px;
        /* Slightly less space on mobile */
    }
}

@media screen and (max-width: 360px) {
    .hamburger {
        display: block;
        font-size: 18px;
        margin-right: 10px;
        /* Even less space on very small screens */
        margin-top: 15px;
    }
}

header {
    background: linear-gradient(135deg, var(--primary-dark-blue) 0%, var(--secondary-blue) 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    /* border-bottom: 3px solid var(--accent-yellow); */
    padding: 0.25rem 0;
}

.navbar .logo h1 {
    color: var(--accent-yellow);
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-size: 1.8rem;
    margin: 0;
}

.navbar .nav-menu a {
    color: var(--light-gray);
    text-decoration: none;
    padding: 0.5rem 0.8rem;
    /* Reduced from 0.8rem 1rem */
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
}

/* Professional underline effect */
.navbar .nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--accent-yellow);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar .nav-menu a:hover::before,
.navbar .nav-menu a.active::before {
    width: 80%;
}

.navbar .nav-menu a:hover,
.navbar .nav-menu a.active {
    color: var(--accent-yellow);
    background-color: rgba(255, 255, 255, 0.1);
}

/* Dropdown styling */
.navbar .dropdown-content {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
    overflow: hidden;
    min-width: 220px;
    margin-top: 0.5rem;
}

.navbar .dropdown-content a {
    color: var(--text-dark);
    padding: 0.8rem 1.2rem;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.2s ease;
    font-size: 1rem;
}

.navbar .dropdown-content a:last-child {
    border-bottom: none;
}

.navbar .dropdown-content a:hover {
    background-color: var(--secondary-blue);
    color: var(--white);
}

/* Mobile menu */
.navbar .nav-menu.active {
    background-color: var(--white);
}

@media (max-width: 768px) {
    .navbar .nav-menu {
        background-color: var(--white);
        border-radius: 8px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        margin-top: 1rem;
    }

    /* Expertise Section - Mobile */
    .expertise {
        padding: 50px 0;
    }

    .expertise h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .expertise-grid {
        flex-direction: column;
        gap: 1rem;
    }

    .expertise-card {
        flex: 1 1 100%;
        min-width: unset;
        width: 100%;
        margin-bottom: 1.5rem;
        height: 220px;
        /* Reduced for mobile */
    }

    .expertise-card-front,
    .expertise-card-back {
        padding: 0.8rem;
    }

    .expertise-icon {
        font-size: 3.2rem;
        /* Larger for mobile visibility */
        margin: 0;
        min-height: 50%;
        /* Adjust for mobile */
    }

    .expertise-card-front h3 {
        font-size: 1.1rem;
        margin: 0.5rem 0 0 0;
        line-height: 1.3;
    }

    .expertise-card-back p {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    /* Additional mobile fixes */
    .expertise-card-front,
    .expertise-card-back {
        padding: 0.8rem;
    }

    .navbar .nav-menu a {
        color: var(--text-dark);
    }

    .navbar .nav-menu a:hover,
    .navbar .nav-menu a.active {
        color: var(--secondary-blue);
        background-color: rgba(93, 138, 175, 0.1);
    }
}

/* Specific responsive styles for iPhone and Galaxy Z Fold */
@media (max-width: 414px) {

    /* iPhone Plus/XR/11 Pro Max */
    .expertise {
        padding: 40px 0;
    }

    .expertise h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .expertise-grid {
        gap: 0.8rem;
    }

    .expertise-card {
        height: 200px;
        margin-bottom: 1.2rem;
    }

    .expertise-card-front,
    .expertise-card-back {
        padding: 0.6rem;
    }

    .expertise-icon {
        font-size: 2.8rem;
    }

    .expertise-card-front h3 {
        font-size: 1rem;
    }

    .expertise-card-back p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
}

@media (max-width: 375px) {

    /* Standard iPhone */
    .expertise h2 {
        font-size: 1.7rem;
    }

    .expertise-card {
        height: 190px;
    }

    .expertise-icon {
        font-size: 2.5rem;
    }

    .expertise-card-front h3 {
        font-size: 0.95rem;
    }

    .expertise-card-back p {
        font-size: 0.75rem;
    }
}

@media (max-width: 320px) {

    /* Small iPhone models */
    .expertise h2 {
        font-size: 1.6rem;
    }

    .expertise-grid {
        gap: 0.6rem;
    }

    .expertise-card {
        height: 170px;
    }

    .expertise-card-front,
    .expertise-card-back {
        padding: 0.5rem;
    }

    .expertise-icon {
        font-size: 2.2rem;
    }

    .expertise-card-front h3 {
        font-size: 0.9rem;
    }

    .expertise-card-back p {
        font-size: 0.7rem;
    }
}

/* Responsive styles for Galaxy Z Fold-like devices */
@media (max-width: 280px) {

    /* Galaxy Z Fold in compact mode */
    .expertise {
        padding: 30px 0;
    }

    .expertise h2 {
        font-size: 1.5rem;
        margin-bottom: 1.2rem;
    }

    .expertise-grid {
        gap: 0.5rem;
    }

    .expertise-card {
        height: 150px;
        margin-bottom: 1rem;
    }

    .expertise-card-front,
    .expertise-card-back {
        padding: 0.4rem;
    }

    .expertise-icon {
        font-size: 2rem;
    }

    .expertise-card-front h3 {
        font-size: 0.85rem;
    }

    .expertise-card-back p {
        font-size: 0.65rem;
        line-height: 1.3;
    }
}

/* Landscape mode for foldable devices */
@media (min-width: 280px) and (max-width: 653px) and (orientation: landscape) {
    .expertise {
        padding: 35px 0;
    }

    .expertise h2 {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }

    .expertise-grid {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .expertise-card {
        flex: 1 1 calc(50% - 0.5rem);
        height: 160px;
        max-width: calc(50% - 0.5rem);
    }

    .expertise-card:nth-child(odd) {
        margin-right: 0.5rem;
    }

    .expertise-card:nth-child(even) {
        margin-left: 0.5rem;
    }

    .expertise-card-front,
    .expertise-card-back {
        padding: 0.5rem;
    }

    .expertise-icon {
        font-size: 1.8rem;
    }

    .expertise-card-front h3 {
        font-size: 0.8rem;
    }

    .expertise-card-back p {
        font-size: 0.6rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .navbar .container {
        justify-content: space-between;
        padding: 0 15px;
        /* Consistent padding */
        flex-wrap: nowrap;
        /* Prevent wrapping */
        width: 100vw;
        /* Full viewport width */
        max-width: 100vw;
        overflow-x: hidden;
    }

    .navbar .logo {
        margin-right: 0;
        min-width: 0;
        /* Allow shrinking */
        flex-shrink: 1;
    }

    /* Logo adjustments */
    /* .navbar .logo img {
        max-height: 40px;
        
        max-width: 140px;
        
    } */

    .navbar .nav-menu {
        position: fixed;
        left: -100%;
        top: 45px;
        /* Reduced from 60px to match new navbar height */
        flex-direction: column;
        background-color: var(--white);
        /* Use light background for mobile */
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px var(--shadow);
        padding: 2rem 0;
        margin-left: 0;
        max-height: calc(100vh - 45px);
        /* Prevent overflow */
        overflow-y: auto;
        /* Enable scrolling if needed */
        z-index: 1001;
        border-radius: 0 0 8px 8px;
    }

    .navbar .nav-menu.active {
        left: 0;
    }

    /* Main content wrapper to prevent overflow */
    main {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }

    header .navbar .nav-menu {
        background-color: var(--white);
    }

    /* Enhanced Footer for Mobile */
    footer {
        padding: 2rem 0 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .company-info .footer-logo {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
    }

    .company-info .footer-logo img {
        height: 35px;
    }

    .company-info .footer-logo h3 {
        font-size: 1.3rem;
    }

    .company-description {
        font-size: 0.9rem;
        padding: 0 1rem;
    }

    .social-links {
        justify-content: center;
        gap: 12px;
    }

    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .quick-links h4,
    .contact-info h4 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .quick-links h4::after,
    .contact-info h4::after {
        left: 50%;
        transform: translateX(-50%);
        width: 30px;
    }

    .footer-links a {
        font-size: 0.9rem;
        padding: 0.3rem 0;
    }

    .contact-item {
        justify-content: center;
        text-align: center;
        gap: 10px;
    }

    .contact-label {
        font-size: 0.85rem;
    }

    .contact-value {
        font-size: 0.85rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
        font-size: 0.85rem;
    }
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--primary-dark-blue);
    margin: 0;
    /* Remove default margins */
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1.1rem;
    /* Increased font size for consistency */
    transition: color 0.3s;

}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--secondary-blue);
}

/* Dropdown Button */
.dropbtn {
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
    border: none;
    outline: none;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
}

/* Add a red background color to navbar links on hover */
.nav-menu a:hover,
.dropbtn:hover {
    color: var(--secondary-blue);
}

/* Dropdown container */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 250px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    /* Higher than other elements */
    border-radius: 4px;
    top: 100%;
    left: 0;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: var(--text-dark);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s, color 0.3s;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
    background-color: var(--light-gray);
    color: var(--secondary-blue);
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Show the dropdown menu when 'show' class is added via JavaScript */
.dropdown.show .dropdown-content {
    display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
    color: var(--secondary-blue);
    background-color: transparent;
}

/* Change the background color of the dropdown button when the dropdown content is shown via JS */
.dropdown.show .dropbtn {
    color: var(--secondary-blue);
    background-color: transparent;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: #ffffff;
    z-index: 1002;
    position: relative;
}

.hamburger:hover {
    color: #f8cc24;
}

/* Buttons */
.btn,
.btn_1 {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--secondary-blue);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

/* .btn:hover {
    background-color: var(--hover-blue);
} */

/* Carousel Section */
/* .carousel-section {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
    margin-bottom: 0;
    background-color: #f0f0f0;
    Fallback background
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    top: 0;
    left: 0;
    background-color: #e0e0e0;
    border-radius: 20px;
    Fallback background
}

.carousel-slide.active {
    opacity: 1 !important;
    z-index: 1;
    display: block;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
        background: linear-gradient(to left, transparent, rgba(0, 0, 0, 0.5));
    border-radius: 20px; <-- this rounds the gradient

    color: #fff;
    padding: 3rem;
    text-align: center;
}

.carousel-overlay h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.carousel-overlay p {
    font-size: 1.3rem;
} */
 
.carousel-section {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
    margin-bottom: 0;
    background-color: #f0f0f0; /* fallback */
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    top: 0;
    left: 0;
    border-radius: 20px;
}

.carousel-slide.active {
    opacity: 1 !important;
    z-index: 1;
    display: block;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* border-radius: 20px; */
}

/* Overlay container */
.carousel-overlay {
    position: absolute;
    bottom: 2rem; /* adjust vertical position */
    left: 2rem;   /* adjust horizontal position */
    max-width: 80%;
    border-radius: 15px;
    background: linear-gradient(to left, transparent 10px, rgba(0, 0, 0, 0.5));
    color: #fff;
    padding: 1.5rem 2rem;
    display: inline-block;
}

.carousel-overlay {
    background: linear-gradient(to left, transparent 10px, rgba(0, 0, 0, 0.55));
    border-radius: 15px;
    padding: 1.5rem 2rem;
    color: #fff;

    box-shadow:
        0 0 25px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(255, 255, 255, 0.05);
}

/* Text inside overlay */
.carousel-overlay h2 {
    font-size: 2.5rem;
    margin: 0 0 0.5rem 0;
}

.carousel-overlay p {
    font-size: 1.3rem;
    margin: 0;
}

/* Responsive text */
@media (max-width: 992px) {
    .carousel-overlay {
        max-width: 90%;
        padding: 1rem 1.5rem;
    }
    .carousel-overlay h2 {
        font-size: 2rem;
    }
    .carousel-overlay p {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .carousel-overlay {
        bottom: 1rem;
        left: 1rem;
        max-width: 95%;
        padding: 0.8rem 1rem;
    }
    .carousel-overlay h2 {
        font-size: 1.6rem;
    }
    .carousel-overlay p {
        font-size: 1rem;
    }
}


.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
    border: none;
    padding: 15px 20px;
    font-size: 2rem;
    cursor: pointer;
    transition: background 0.3s;
    z-index: 10;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.5);
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.carousel-indicators .indicator.active {
    background: #fff;
}

/* About Intro Section */

.about-intro {
    padding: 90px 0;
    background: linear-gradient(180deg, #f8f9fb 0%, #ffffff 100%);
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
}

.about-intro.in-view {
    opacity: 1;
    transform: translateY(0);
}

.about-intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 60px;
}

.about-intro .about-image {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-intro.in-view .about-image {
    opacity: 1;
    transform: translateX(0);
}

.about-intro .about-text {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-intro.in-view .about-text {
    opacity: 1;
    transform: translateX(0);
}








.about-image {
    height: 450px;
    /* Increased height */
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* New styles for about image */
.about-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(0, 0, 0, 0.25),
            rgba(0, 0, 0, 0.05));
}


.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.about-text h2 {
    font-family: var(--head-font);
    font-style: italic;
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 0.5rem;
    background-color: #101010;
    -webkit-background-clip: text;
    /* -webkit-text-fill-color: transparent; */
    /* color: var(--primary-dark-blue);
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    position: relative;
    white-space: normal;
    display: block; */
}


.about-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #131111;
    margin-bottom: 1.2rem;
    text-align: justify;
    text-justify: inter-word;
    font-family: var(--para-font);

}

.about-text .btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--primary-dark-blue);
    color: #fff;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.about-text .btn:hover {
    /* background: var(--secondary-blue); */
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}



/* Vision and Mission Section */
/* .vision-mission {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.vision-mission-bg,
.vision-mission-bg2 {
    position: absolute;
    width: 100%;
    height: 0%;
    bottom: 0;
    left: 0;
    z-index: 1;
    transition: height 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.vision-mission-bg {
    background: linear-gradient(135deg, rgba(29, 48, 95, 0.15) 0%, rgba(93, 138, 175, 0.15) 100%);
    clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 30%);
}

.vision-mission-bg2 {
    background: linear-gradient(135deg, rgba(93, 138, 175, 0.15) 0%, rgba(29, 48, 95, 0.15) 100%);
    clip-path: polygon(0 100%, 100% 100%, 100% 30%, 0 0);
    top: 0;
    bottom: auto;
    height: 0%;
    transition: height 1.2s cubic-bezier(0.23, 1, 0.32, 1) 0.3s;
} 

.vision-mission.reveal .vision-mission-bg {
    height: 100%;
}

.vision-mission.reveal .vision-mission-bg2 {
    height: 100%;
}

.vision-mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.vision-box,
.mission-box {
    background: linear-gradient(135deg, var(--primary-dark-blue) 0%, var(--secondary-blue) 100%);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(29, 48, 95, 0.25);
    text-align: center;
    position: relative;
    overflow: hidden;
    transform: translateY(50px);
    opacity: 0;
    transition: all 1s cubic-bezier(0.23, 1, 0.32, 1) 0.6s;
    border: 2px solid var(--accent-yellow);
}

.vision-mission.reveal .vision-box,
.vision-mission.reveal .mission-box {
    transform: translateY(0);
    opacity: 1;
}

.vision-overlay,
.mission-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(135deg, rgba(26, 42, 108, 0.15) 0%, rgba(29, 119, 189, 0.15) 100%);
    z-index: -1;
    transition: height 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.9s;
}

.vision-mission.reveal .vision-overlay,
.vision-mission.reveal .mission-overlay {
    height: 100%;
}

.vision-box h2,
.mission-box h2 {
    font-size: 2rem;
    color: var(--accent-yellow);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1) 1.2s;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.vision-mission.reveal .vision-box h2,
.vision-mission.reveal .mission-box h2 {
    transform: translateY(0);
    opacity: 1;
}

.vision-content,
.mission-content {
    text-align: left;
    position: relative;
    z-index: 2;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1) 1.4s;
}

.vision-mission.reveal .vision-content,
.vision-mission.reveal .mission-content {
    transform: translateY(0);
    opacity: 1;
}

.vision-content p,
.mission-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: #e0e0e0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.vision-content strong,
.mission-content strong {
    color: var(--accent-yellow);
    font-weight: 600;
}*/

/* Expertise Section */
.expertise {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.expertise h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-dark-blue);
    margin-bottom: 3rem;
}

.expertise-grid {
    display: flex;
    gap: 1.5rem;
    padding: 1rem 0;
    overflow: hidden;
    /* Prevent any overflow */
    flex-wrap: nowrap;
    /* Prevent wrapping to next line */
}

.expertise-card {
    perspective: 1000px;
    flex: 1;
    min-width: 0;
    height: 250px;
    /* Reduced height to minimize empty space */
}

.expertise-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    cursor: pointer;
    border-radius: 12px;
}

.expertise-card:hover .expertise-card-inner {
    transform: rotateY(180deg);
}

.expertise-card-front,
.expertise-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    overflow: hidden;
}

/* Front side - Logo and Heading only */

.expertise-card-back {
    /* Back side - Content only, no heading */
    transform: rotateY(180deg);
    text-align: center;
    justify-content: center;
    padding: 2rem;
}

.expertise-icon {
    font-size: 5.5rem;
    /* Increased size for better visibility */
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark-blue);
    flex: 1;
    /* Take available space */
    min-height: 60%;
    /* Ensure icon has enough space */
}

.expertise-card-front h3 {
    color: var(--primary-dark-blue);
    margin: 0.5rem 0 0 0;
    /* Reduced margin */
    font-size: 1.3rem;
    /* Slightly smaller */
    font-weight: 700;
    text-align: center;
    align-self: flex-end;
    width: 100%;
    flex: 0 0 auto;
    /* Don't grow or shrink */
}

.expertise-card-back {
    /* Back side - Content only, no heading */
    transform: rotateY(180deg);
    text-align: center;
    justify-content: center;
    padding: 2rem;
}

.expertise-card-back p {
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
    text-align: center;
}

.expertise-card-back {
    /* Back side - Content only, no heading */
    transform: rotateY(180deg);
    text-align: center;
    justify-content: center;
    padding: 1.2rem;
}

/* Home Products Section */
.home-products {
    padding: 0px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
        overflow: hidden;

}
.products-slider {
    padding-bottom: 40px;
}


.home-products h2 {
    font-family: var(--head-font);
    font-style: italic;
    text-align: center;
    font-size: clamp(2.6rem, 5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 0.5rem;
    background-color: #101010;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    /* text-align: center;
    font-size: 2.5rem;
    color: var(--primary-dark-blue);
    margin-bottom: 3rem; */
}

/* Enhanced Responsive Styles for Expertise Section on Small Devices */
@media (max-width: 768px) {
    .expertise-grid {
        flex-direction: column;
        align-items: center;
    }

    .expertise-card {
        width: 100%;
        max-width: 400px;
        margin-bottom: 1.5rem;
        height: 200px;
    }
}

/* iPhone specific responsive styles */
@media (max-width: 414px) {

    /* iPhone 6/7/8 Plus, iPhone XR, iPhone 11 Pro Max */
    .expertise {
        padding: 40px 0;
    }

    .expertise h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .expertise-grid {
        gap: 1rem;
    }

    .expertise-card {
        height: 180px;
        margin-bottom: 1.2rem;
    }

    .expertise-card-front,
    .expertise-card-back {
        padding: 0.6rem;
    }

    .expertise-icon {
        font-size: 2.8rem;
        min-height: 45%;
    }

    .expertise-card-front h3 {
        font-size: 1rem;
    }

    .expertise-card-back p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
}

@media (max-width: 375px) {

    /* Standard iPhone */
    .expertise h2 {
        font-size: 1.8rem;
    }

    .expertise-grid {
        gap: 0.8rem;
    }

    .expertise-card {
        height: 170px;
    }

    .expertise-card-front,
    .expertise-card-back {
        padding: 0.5rem;
    }

    .expertise-icon {
        font-size: 2.5rem;
        min-height: 45%;
    }

    .expertise-card-front h3 {
        font-size: 0.95rem;
    }

    .expertise-card-back p {
        font-size: 0.75rem;
        line-height: 1.3;
    }
}

@media (max-width: 320px) {

    /* Smaller iPhone models */
    .expertise h2 {
        font-size: 1.6rem;
    }

    .expertise-grid {
        gap: 0.6rem;
    }

    .expertise-card {
        height: 150px;
    }

    .expertise-card-front,
    .expertise-card-back {
        padding: 0.4rem;
    }

    .expertise-icon {
        font-size: 2.2rem;
        min-height: 40%;
    }

    .expertise-card-front h3 {
        font-size: 0.85rem;
    }

    .expertise-card-back p {
        font-size: 0.65rem;
        line-height: 1.2;
    }
}

/* Samsung Galaxy Z Fold specific styles */
@media (max-width: 280px) {

    /* Galaxy Z Fold in compact mode */
    .expertise {
        padding: 30px 0;
    }

    .expertise h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .expertise-grid {
        gap: 0.5rem;
    }

    .expertise-card {
        height: 130px;
        margin-bottom: 1rem;
    }

    .expertise-card-front,
    .expertise-card-back {
        padding: 0.4rem;
    }

    .expertise-icon {
        font-size: 2rem;
    }

    .expertise-card-front h3 {
        font-size: 0.8rem;
    }

    .expertise-card-back p {
        font-size: 0.7rem;
        line-height: 1.3;
    }
}

/* Landscape mode for foldable devices */
@media (min-width: 280px) and (max-width: 653px) and (orientation: landscape) {
    .expertise {
        padding: 35px 0;
    }

    .expertise h2 {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }

    .expertise-grid {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.8rem;
    }

    .expertise-card {
        flex: 1 1 calc(50% - 0.4rem);
        height: 140px;
        max-width: calc(50% - 0.4rem);
        min-width: 140px;
    }

    .expertise-card:nth-child(odd) {
        margin-right: 0.4rem;
    }

    .expertise-card:nth-child(even) {
        margin-left: 0.4rem;
    }

    .expertise-card-front,
    .expertise-card-back {
        padding: 0.5rem;
    }

    .expertise-icon {
        font-size: 1.8rem;
    }

    .expertise-card-front h3 {
        font-size: 0.8rem;
    }

    .expertise-card-back p {
        font-size: 0.65rem;
    }
}

/* iPad and tablet adjustments */
@media (max-width: 1024px) and (min-width: 769px) {
    .expertise-grid {
        gap: 1.2rem;
    }

    .expertise-card {
        height: 220px;
    }

    .expertise-icon {
        font-size: 4rem;
    }

    .expertise-card-front h3 {
        font-size: 1.2rem;
    }

    .expertise-card-back p {
        font-size: 0.9rem;
    }
}










.products-grid {
    display: flex;
    gap: 2rem;
    padding: 20px 0;
    overflow-x: auto;
    scroll-behavior: smooth;
    /* Hide scrollbar for clean look */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
    /* Ensure consistent sizing */
    width: 100%;
    position: relative;
}

/* .product-card {
    background-color: #fff;
    border-radius: 12px;
    Increased border radius
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    Increased shadow
    transition: transform 0.3s, box-shadow 0.3s;
    min-width: 320px;
    Increased from 280px
    width: 340px;
    Increased from 300px
    max-width: 340px;
    Increased from 300px
} */

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.product-image {
    width: 100%;
    height: 200px;
    background-color: #e0e0e0;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    color: var(--primary-dark-blue);
    margin-bottom: 0.5rem;
    font-family: var(--head-font);
    font-style: italic;
    font-size: 20px;
    text-align: left;
    font-weight: bold;
}

.product-info p {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-family: var(--para-font);
    /* text-align: left; */
}

/* Auto-scroll animation for products */
@keyframes autoScroll {
    0% {
        transform: translateX(0);
    }

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

.products-grid.auto-scroll {
    display: flex;
    /* Changed to flex instead of inline-flex to support manual scrolling */
    animation: autoScroll 30s linear infinite;
    gap: 2rem;
    width: 200%;
    /* Make it twice as wide to support the animation */
}

.products-grid.auto-scroll.paused {
    animation-play-state: paused;
}

/* Footer */
footer .company-info {
    margin-top: 1.5rem;
    margin-right: 1.5rem;
}

footer {
    /* background: linear-gradient(135deg, var(--primary-dark-blue) 0%, #fff 100%); */
    background-color: #f5f5f5;
    color: var(--white);
    /* padding: 2.5rem 0 1rem; */
    /* margin-top: 4rem; */
    position: relative;
}

.footer-bottom p {
    font-size: 16px;
    font-family: var(--para-font);
    font-style: italic;
    /* increase size */
}

@media (min-width: 992px) {
    .footer-bottom p {
        font-size: 18px;
        font-family: var(--para-font);
        font-style: italic;
    }
}


footer .container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

/* Company Info Section */
.company-info .footer-logo {
    display: flex;
    align-items: center;
    /* gap: 4px; */
    margin-bottom: 0.8rem;
    margin-left: -20px;
}

.company-info .footer-logo img {
    height: 36px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.company-info .footer-logo img:hover {
    filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(255, 255, 255, 0.6));
    transform: scale(1.05);
}

.company-info .footer-logo h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 0 10px;
}

.company-description {
    color: #cbd5e1;
    line-height: 1.5;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 0.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-links a:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 119, 189, 0.4);
}

/* Quick Links Section */
.quick-links h4 {
    margin-bottom: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--secondary-blue);
    font-size: 1rem;
    position: relative;
}

.quick-links h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 1.5px;
    background: var(--secondary-blue);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 12px;
    font-size: 0.9rem;
}

.footer-links a::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--secondary-blue);
    font-size: 0.6rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 16px;
}

.footer-links a:hover::before {
    opacity: 1;
    left: 4px;
}

/* Contact Info Section */
.contact-info h4 {
    margin-bottom: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--secondary-blue);
    font-size: 1rem;
}

.contact-item {
    display: flex;
    gap: 10px;
    margin-bottom: 0.8rem;
    align-items: flex-start;
}

.contact-item .icon {
    font-size: 1.1rem;
    min-width: 20px;
    color: var(--white);
}

.contact-label {
    margin: 0 0 0.2rem 0;
    font-weight: 600;
    color: var(--white);
    font-size: 0.85rem;
}

.contact-value {
    margin: 0;
    color: #cbd5e1;
    line-height: 1.5;
    font-size: 0.85rem;
}

/* Footer Divider */
.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    margin: 1.2rem 0 1rem 0;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
}

.footer-bottom-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: #101010;
    margin: 0;
    font-family: var(--para-font);
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-intro-content {
        max-width: 100%;
        /* Use full width instead of 1400px limit */
        padding: 0 25px;
        /* Reduced padding for better fit */
        gap: 2rem;
        /* Reduced gap for better responsiveness */
    }

    .about-image {
        height: 380px;
        /* Adjusted height */
    }

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

@media (max-width: 992px) {
    .about-intro-content {
        gap: 2rem;
        /* Reduced gap for better responsiveness */
        padding: 0 20px;
    }

    .about-image {
        height: 320px;
    }

    .about-text h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .navbar .container {
        justify-content: space-between;
        padding: 0 15px;
        /* Consistent padding */
        flex-wrap: nowrap;
        /* Prevent wrapping */
        width: 100vw;
        /* Full viewport width */
        max-width: 100vw;
        overflow-x: hidden;
    }

    .navbar .logo {
        margin-right: 0;
        min-width: 0;
        /* Allow shrinking */
        flex-shrink: 1;
    }

    /* Logo adjustments */
    /* .navbar .logo img {
        max-height: 40px;
       
        max-width: 140px;
        
    } */

    .navbar .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        /* Reduced from 70px for better positioning */
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px var(--shadow);
        padding: 2rem 0;
        margin-left: 0;
        max-height: calc(100vh - 60px);
        /* Prevent overflow */
        overflow-y: auto;
        /* Enable scrolling if needed */
    }

    .navbar .nav-menu.active {
        left: 0;
    }

    .carousel-section {
        height: 250px;
    }

    .carousel-overlay h2 {
        font-size: 1.8rem;
    }

    .carousel-overlay p {
        font-size: 1rem;
    }

    .carousel-overlay {
        padding: 2rem 1rem;
    }

    .carousel-btn {
        padding: 10px 15px;
        font-size: 1.5rem;
    }

    .about-intro {
        padding: 60px 0;
    }

    .about-intro-content {
        grid-template-columns: 1fr;
        padding: 0 20px;
        /* Adjusted padding for mobile */
        gap: 2rem;
        /* Reduced gap for mobile */
        max-width: 100%;
        /* Full width on mobile */
        margin: 0 auto;
    }

    .about-image {
        height: 300px;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .about-text h2 {
        font-size: 2rem;
        text-align: center;
        white-space: normal;
        display: block;
    }

    .about-text p {
        font-size: 1rem;
        text-align: left;
    }

    .about-text .btn {
        display: block;
        width: fit-content;
        margin: 20px auto 0;
        padding: 10px 25px;
        font-size: 0.95rem;
    }

    .speciality h2,
    .vision h2,
    .vision-mission h2,
    .expertise h2,
    .home-products h2 {
        font-size: 2rem;
    }

    .vision-mission-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .expertise-grid {
        flex-direction: column;
    }

    .expertise-card {
        flex: 1 1 100%;
        min-width: unset;
        width: 100%;
        margin-bottom: 1.5rem;
        height: 250px;
    }

    .expertise-card-front,
    .expertise-card-back {
        padding: 1.5rem;
    }

    .expertise-icon {
        font-size: 3.5rem;
        /* Increased for mobile */
        margin: 0;
    }

    .expertise-card-front h3,
    .expertise-card-back h3 {
        font-size: 1.3rem;
    }

    .expertise-card-back p {
        font-size: 0.9rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }



    .products-grid {
        display: flex;
        flex-wrap: nowrap;
        /* keep sliding */
    }

    .product-card {
        flex: 0 0 100%;
        /* 🔥 full-width slide */
        max-width: 100%;
        min-width: 100%;
        margin: 0;
    }

    .product-image {
        height: 220px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        text-align: center;
    }

    .company-info .footer-logo {
        justify-content: center;
    }

    .company-info .footer-logo h3 {
        font-size: 1.3rem;
    }

    .social-links {
        justify-content: center;
        gap: 10px;
    }

    .quick-links h4,
    .contact-info h4 {
        text-align: center;
        margin-bottom: 0.6rem;
    }

    .quick-links h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-section .footer-links {
        align-items: center;
    }

    .contact-item {
        justify-content: center;
        margin-bottom: 0.6rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 0.6rem;
    }
    /* WhatsApp Float Button */
.whatsapp-float {
       position: fixed;
    bottom: 65px;
    right: 5px;
    width: 50px;
    height: 50px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

}

/* Whatsapp Icon */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Mobile Optimization for Homepage Sections */
@media (max-width: 768px) {

    /* Hero Section */
    .hero-section {
        height: 250px;
    }

    .hero-overlay h1 {
        font-size: 2rem;
    }

    .hero-overlay p {
        font-size: 1rem;
    }

    /* Speciality Section */
    .speciality {
        padding: 60px 0;
    }

    .speciality h2 {
        font-size: 2rem;
    }

    .speciality-content p {
        font-size: 1rem;
        padding: 0 15px;
    }

    .speciality-list li {
        padding: 0.8rem;
        font-size: 0.95rem;
        margin: 0 10px 0.5rem 10px;
    }

    /* Vision & Mission Section */
    .vision-mission {
        padding: 50px 0;
    }

    .vision-box,
    .mission-box {
        padding: 2rem 1.5rem;
        margin: 0 10px;
    }

    .vision-box h2,
    .mission-box h2 {
        font-size: 1.8rem;
    }

    .vision-content p,
    .mission-content p {
        font-size: 1rem;
        line-height: 1.6;
    }

    /* Expertise Section */
    .expertise {
        padding: 50px 0;
    }

    .expertise h2 {
        font-size: 2rem;
    }

    .expertise-grid {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .expertise-card {
        padding: 2rem 1.5rem;
        width: 90%;
        max-width: 400px;
        margin: 0 auto;
    }

    .expertise-icon {
        font-size: 2.8rem;
    }

    .expertise-card h3 {
        font-size: 1.4rem;
    }

    .expertise-card p {
        font-size: 1rem;
    }

    /* Home Products Section */
    .home-products {
        padding: 50px 0;
    }

    .home-products h2 {
        font-size: 2rem;
    }

    .products-container {
        padding: 10px 0;
    }

    .product-card {
        min-width: 240px;
        width: 260px;
        max-width: 260px;
        margin: 0 0.8rem;
    }

    .product-image {
        height: 180px;
    }

    .product-info {
        padding: 1.2rem;
    }

    .product-info h3 {
        font-size: 1.2rem;
    }

    .product-info p {
        font-size: 0.95rem;
    }

    .product-info .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    /* Container adjustments */
    .container {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .about-intro {
        padding: 40px 0;
    }

    .about-intro-content {
        padding: 0 15px;
        gap: 1.5rem;
    }

    .about-image {
        height: 250px;
        max-width: 300px;
    }

    .about-text h2 {
        font-size: 1.8rem;
    }

    .about-text p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .about-text .btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }

    /* Product Cards - Enhanced Mobile Optimization */
    .product-card {
        min-width: 220px;
        width: 240px;
        max-width: 240px;
        margin: 0 0.5rem;
    }

    .product-image {
        height: 160px;
    }

    .product-info {
        padding: 1rem;
    }

    .product-info h3 {
        font-size: 1.1rem;
    }

    .product-info p {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }

    .product-info .btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    /* Critical fix for very small screens */
    .navbar .container {
        padding: 0 10px;
        width: 100vw;
        max-width: 100vw;
    }

    /* .navbar .logo img {
        max-height: 40px;
        max-width: 120px;
    } */

    .navbar .logo h1 {
        font-size: 1.4rem;
    }

    .nav-menu {
        top: 50px;
    }
}

/* Ultra-small screens (under 500px) - Fixed scaling issues */
@media (max-width: 500px) {

    /* Remove problematic vw units that cause scaling */
    body {
        overflow-x: hidden;
    }

    .container {
        padding: 0 10px;
    }

    main {
        overflow-x: hidden;
    }

    /* Enhanced navbar for very small screens */
    .navbar .container {
        padding: 0 8px;
        width: 100vw;
        max-width: 100vw;
    }

    .navbar .logo {
        flex-shrink: 1;
        min-width: 0;
    }

    /* .navbar .logo img {
        max-height: 35px;
        max-width: 100px;
    } */

    .navbar .logo h1 {
        font-size: 1.2rem;
    }

    .hamburger {
        display: block;
        font-size: 20px;
    }

    .nav-menu {
        top: 45px;
        padding: 1.5rem 0;
    }

    .nav-menu a {
        padding: 0.6rem 1rem;
        font-size: 0.95rem;
    }

    /* Hero Section */
    .hero-section {
        height: 250px;
    }

    .hero-overlay {
        padding: 1rem;
    }

    .hero-overlay h1 {
        font-size: 1.6rem;
    }

    .hero-overlay p {
        font-size: 0.9rem;
    }

    /* Speciality Section */
    .speciality {
        padding: 40px 0;
    }

    .speciality h2 {
        font-size: 1.6rem;
    }

    .speciality-content p {
        font-size: 0.9rem;
        padding: 0 10px;
    }

    .speciality-list li {
        padding: 0.6rem;
        font-size: 0.9rem;
        margin: 0 5px 0.3rem 5px;
    }

    /* Vision & Mission Section */
    /* .vision-mission {
        padding: 40px 0;
    }

    .vision-box,
    .mission-box {
        padding: 1.5rem 1rem;
        margin: 0 5px;
    }

    .vision-box h2,
    .mission-box h2 {
        font-size: 1.5rem;
    }

    .vision-content p,
    .mission-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    } */

    /* Expertise Section */
    .expertise {
        padding: 40px 0;
    }

    .expertise h2 {
        font-size: 1.6rem;
    }

    .expertise-grid {
        gap: 0.8rem;
    }

    .expertise-card {
        padding: 1.5rem 1rem;
        width: 95%;
        max-width: 350px;
    }

    .expertise-icon {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .expertise-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .expertise-card p {
        font-size: 0.9rem;
    }

    /* Home Products Section */
    .home-products {
        padding: 40px 0;
    }

    .home-products h2 {
        font-size: 1.6rem;
    }

    .products-container {
        padding: 5px 0;
    }

    .product-card {
        min-width: 200px;
        width: 220px;
        max-width: 220px;
        margin: 0 0.5rem;
    }

    .product-image {
        height: 150px;
    }

    .product-info {
        padding: 1rem;
    }

    .product-info h3 {
        font-size: 1rem;
    }

    .product-info p {
        font-size: 0.85rem;
        margin-bottom: 0.6rem;
    }

    .product-info .btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    /* Prevent horizontal scrolling */
    .navbar,
    header {
        width: 100vw;
        max-width: 100vw;
        overflow-x: hidden;
    }
}


/* Critical mobile-first optimizations */
@media screen and (max-width: 360px) {

    /* Very small phone optimizations */
    body {
        font-size: 14px;
    }

    .container {
        padding: 0 8px;
    }

    /* Enhanced navbar for tiny screens */
    .navbar .container {
        padding: 0 6px;
    }

    /* .navbar .logo img {
        max-height: 30px;
        max-width: 80px;
    } */

    .navbar .logo h1 {
        font-size: 1.1rem;
    }

    .hamburger {
        display: block;
        font-size: 18px;
    }

    .nav-menu {
        top: 40px;
        padding: 1rem 0;
    }

    .nav-menu a {
        padding: 0.5rem 0.8rem;
        font-size: 0.9rem;
    }

    /* Hero Section for tiny screens */
    .hero-section {
        height: 250px;
    }

    .hero-overlay {
        padding: 0.8rem;
    }

    .hero-overlay h1 {
        font-size: 1.3rem;
    }

    .hero-overlay p {
        font-size: 0.8rem;
    }

    /* Content section optimizations */
    .about-intro {
        padding: 30px 0;
    }

    .about-intro-content {
        padding: 0 10px;
        gap: 1rem;
    }

    .about-image {
        height: 200px;
        max-width: 250px;
    }

    .about-text h2 {
        font-size: 1.6rem;
    }

    .about-text p {
        font-size: 0.9rem;
    }

    /* Speciality Section */
    .speciality {
        padding: 30px 0;
    }

    .speciality h2 {
        font-size: 1.4rem;
    }

    .speciality-content p {
        font-size: 0.85rem;
        padding: 0 5px;
    }

    .speciality-list li {
        padding: 0.5rem;
        font-size: 0.85rem;
        margin: 0 3px 0.2rem 3px;
    }

    /* Vision & Mission Section */
    /* .vision-mission {
        padding: 30px 0;
    }

    .vision-box,
    .mission-box {
        padding: 1.2rem 0.8rem;
        margin: 0 3px;
    }

    .vision-box h2,
    .mission-box h2 {
        font-size: 1.3rem;
    }

    .vision-content p,
    .mission-content p {
        font-size: 0.85rem;
        line-height: 1.4;
    } */

    /* Expertise Section */
    .expertise {
        padding: 30px 0;
    }

    .expertise h2 {
        font-size: 1.4rem;
    }

    .expertise-grid {
        gap: 0.5rem;
    }

    .expertise-card {
        padding: 1.2rem 0.8rem;
        width: 95%;
        max-width: 300px;
    }

    .expertise-icon {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }

    .expertise-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }

    .expertise-card p {
        font-size: 0.85rem;
    }

    /* Home Products Section */
    .home-products {
        padding: 30px 0;
    }

    .home-products h2 {
        font-size: 1.4rem;
    }

    .products-container {
        padding: 3px 0;
    }

    .product-card {
        min-width: 100%;
        width: 100%;
        max-width: 100%;
        margin: 0 0.3rem;
    }

    .product-image {
        height: 250px;
    }

    .product-info {
        padding: 0.8rem;
    }

    .product-info h3 {
        font-size: 0.95rem;
    }

    .product-info p {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }

    .product-info .btn {
        padding: 6px 12px;
        font-size: 0.75rem;
    }

    /* Footer for tiny screens */
    footer {
        padding: 1.2rem 0 0.6rem;
    }

    .footer-content {
        gap: 1rem;
    }

    .company-info .footer-logo img {
        height: 28px;
    }

    .company-info .footer-logo h3 {
        font-size: 1rem;
    }

    .company-description {
        font-size: 0.8rem;
    }

    .social-links a {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
    }

    .quick-links h4,
    .contact-info h4 {
        font-size: 0.9rem;
    }

    .footer-links a {
        font-size: 0.8rem;
    }

    .contact-label {
        font-size: 0.75rem;
    }

    .contact-value {
        font-size: 0.75rem;
    }

    .footer-bottom-content {
        font-size: 0.75rem;
    }
}

/* Prevent any horizontal overflow */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body,
html {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}


/* Reveal effect for elements */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* When visible */
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Contact Popup Form */
.contact-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    /* Explicitly set to viewport height */
    background-color: rgba(0, 0, 0, 0.5);
    /* Reduced opacity for better visibility */
    z-index: 2000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.5s ease-in-out;
    overflow: hidden;
    /* Prevent scrolling of background */
}

.contact-popup.show {
    display: flex;
}

.popup-content {
    background: white;
    border-radius: 15px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    /* Reduced height */
    height: auto;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: grid;
    grid-template-columns: 1fr 1fr;
    animation: slideIn 0.5s ease-in-out;
    /* overflow: hidden; */
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    color: #333;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 2001;
    /* Higher than popup content */
    font-weight: bold;
    /* Touch-friendly enhancements */
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.close-btn:hover {
    background-color: rgba(240, 240, 240, 0.8);
    transform: rotate(90deg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.popup-left {
    background: linear-gradient(135deg, var(--primary-dark-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    padding: 40px 30px;
    border-radius: 15px 0 0 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.company-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-bottom: 25px;
}

.popup-logo {
    max-width: 120px;
    height: auto;
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
}

.popup-left h2 {
    color: var(--accent-yellow);
    margin-bottom: 15px;
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
}

.popup-left p {
    margin-bottom: 25px;
    line-height: 1.6;
    font-size: 0.95rem;
    opacity: 0.9;
    text-align: center;
    max-width: 300px;
}

.contact-details .contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 12px;
}

.contact-details i {
    color: var(--accent-yellow);
    font-size: 1.2rem;
    min-width: 20px;
    margin-top: 3px;
}

.popup-right {
    padding: 40px 30px;
    background: white;
    border-radius: 0 15px 15px 0;
}

.popup-right h3 {
    color: var(--primary-dark-blue);
    margin-bottom: 25px;
    font-size: 1.8rem;
    font-weight: 700;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

/* Ensure form inputs are touch-friendly */
.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
    /* Touch-friendly enhancements */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    touch-action: manipulation;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-blue);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(93, 138, 175, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.captcha-group {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
}

.captcha-display {
    background: #f0f0f0;
    padding: 12px 15px;
    border-radius: 8px;
    font-weight: bold;
    color: #333;
    min-width: 80px;
    text-align: center;
    border: 2px solid #e0e0e0;
}

.captcha-group input {
    flex: 1;
    margin-bottom: 0;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary-dark-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    /* Touch-friendly enhancements */
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(29, 48, 95, 0.3);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Design for Popup */
@media (max-width: 992px) {
    .popup-content {
        grid-template-columns: 1fr;
        width: 95%;
        max-width: 600px;
    }

    .popup-left {
        border-radius: 15px 15px 0 0;
        padding: 30px 25px;
    }

    .popup-right {
        border-radius: 0 0 15px 15px;
        padding: 30px 25px;
    }

    .close-btn {
        top: 15px;
        right: 15px;
        font-size: 32px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 768px) {
    .contact-popup {
        padding: 10px;
        background-color: rgba(0, 0, 0, 0.4);
        /* More transparent on mobile */
    }

    .popup-content {
        width: 100%;
        max-width: none;
        max-height: 95vh;
        border-radius: 12px;
    }

    .popup-left,
    .popup-right {
        padding: 25px 20px;
    }

    .close-btn {
        top: 12px;
        right: 12px;
        font-size: 28px;
        width: 40px;
        height: 40px;
    }

    .popup-logo {
        max-width: 100px;
        margin-bottom: 15px;
    }

    .popup-left h2 {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }

    .popup-right h3 {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 1rem;
    }

    .captcha-group {
        flex-direction: column;
        gap: 10px;
    }

    .captcha-display {
        padding: 12px;
        font-size: 1.1rem;
    }

    .submit-btn {
        padding: 14px 20px;
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .contact-popup {
        padding: 5px;
        background-color: rgba(0, 0, 0, 0.3);
        /* Even more transparent on small mobile */
    }

    .popup-content {
        width: 100%;
        margin: 0;
        max-height: 100vh;
        border-radius: 10px;
    }

    .popup-left,
    .popup-right {
        padding: 20px 15px;
    }

    .close-btn {
        top: 10px;
        right: 10px;
        font-size: 26px;
        width: 35px;
        height: 35px;
    }

    .popup-left h2 {
        font-size: 1.4rem;
    }

    .popup-right h3 {
        font-size: 1.4rem;
    }

    .popup-left p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 0.95rem;
    }

    .captcha-display {
        padding: 10px;
        font-size: 1rem;
    }

    .submit-btn {
        padding: 12px 18px;
        font-size: 1rem;
    }

    .contact-details .contact-item {
        gap: 10px;
        margin-bottom: 12px;
    }

    .contact-details i {
        font-size: 1.1rem;
        min-width: 18px;
    }
}

/* Ultra-mobile optimization for small screens */
@media (max-width: 400px) {
    .contact-popup {
        background-color: rgba(0, 0, 0, 0.25);
        /* Most transparent on tiny screens */
    }

    .popup-content {
        border-radius: 8px;
    }

    .popup-left,
    .popup-right {
        padding: 15px 12px;
    }

    .close-btn {
        top: 8px;
        right: 8px;
        font-size: 24px;
        width: 32px;
        height: 32px;
    }

    .popup-left h2 {
        font-size: 1.3rem;
    }

    .popup-right h3 {
        font-size: 1.3rem;
    }

    .popup-left p {
        font-size: 0.85rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 8px 10px;
        font-size: 0.9rem;
    }

    .submit-btn {
        padding: 10px 16px;
        font-size: 0.95rem;
    }
}

/* Ensure popup doesn't show for returning visitors */
popup-showed {
    display: none;
}

/* Tiny screen optimizations (360px and below) */
@media screen and (max-width: 360px) {
    header {
        padding: 0.15rem 0;
    }

    .navbar {
        padding: 0.3rem 0;
    }

    /* .navbar .logo img {
        max-height: 250px;
        max-width: 100px;
    } */

    .navbar .logo h1 {
        font-size: 1.4rem;
    }

    .navbar .nav-menu a {
        padding: 0.4rem 0.6rem;
        font-size: 0.9rem;
    }

    .navbar .nav-menu {
        top: 35px;
        padding: 1.5rem 0;
        max-height: calc(100vh - 35px);
    }

    .hamburger {
        font-size: 18px;
    }
}

/* Mobile optimization for contact popup */
@media (max-width: 768px) {
    .popup-content {
        width: 95%;
        max-width: 95%;
        max-height: 95vh;
        grid-template-columns: 1fr;
        /* Stack on mobile */
    }

    .popup-left {
        border-radius: 15px 15px 0 0;
        padding: 25px 20px;
    }

    .popup-right {
        padding: 25px 20px;
    }

    .close-btn {
        top: 10px;
        right: 10px;
        z-index: 2001;
        /* Higher than popup content */
        font-size: 24px;
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .popup-content {
        width: 98%;
        max-width: 98%;
        max-height: 98vh;
        margin: 1vh auto;
    }

    .popup-left,
    .popup-right {
        padding: 20px 15px;
    }

    .popup-right h3 {
        font-size: 1.4rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px;
        font-size: 0.95rem;
    }

    .close-btn {
        top: 8px;
        right: 8px;
        z-index: 2001;
        font-size: 30px;
        width: 30px;
        height: 30px;
        color: #fff;
    }
}


/*================
new flip card
===============*/
.flip-card {
    perspective: 1000px !important;
    margin-bottom: 1.5rem !important;
}

.flip-card-inner {
    position: relative !important;
    width: 100% !important;
    height: 240px !important;
    text-align: center !important;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
    transform-style: preserve-3d !important;
    border-radius: 14px !important;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12) !important;
    background-color: white !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: 20px !important;
}

.flip-card:hover .flip-card-inner,
.flip-card:focus .flip-card-inner {
    transform: rotateY(180deg) !important;
}

.flip-card-front,
.flip-card-back {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    backface-visibility: hidden !important;
    border-radius: 14px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 20px !important;
    box-sizing: border-box !important;
    text-align: center !important;
}

.flip-card-front {
    color: #1a2a52 !important;
    font-weight: 700 !important;
    font-size: 1.25rem !important;
    gap: 15px !important;
}

.flip-card-back {
    transform: rotateY(180deg) !important;
    color: #34495e !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    border: 1px solid #ddd !important;
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.05) !important;
    background-color: white !important;
}

.flip-card i {
    font-size: 50px !important;
    margin-bottom: 12px !important;
    color: #1a2a52 !important;
}

@media (max-width: 576px) {
    .flip-card-inner {
        height: 260px !important;
        padding: 15px !important;
    }

    .flip-card i {
        font-size: 40px !important;
        margin-bottom: 10px !important;
    }

    .flip-card-front {
        font-size: 1.1rem !important;
    }

    .flip-card-back {
        font-size: 0.95rem !important;
    }
}

/* Make each card full width on xs */
@media (max-width: 575.98px) {
    .col-6 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

.expertise_head {
    text-align: center;
    color: #1a2a52;
    margin-bottom: 2rem;
    /* font-weight: 700; */
    font-size: 2.5rem;
}

/* Logo */
.logo-img {
    width: 400px;
    /* adjust for your logo */
    max-width: 100%;
    height: auto;
    /* keep aspect ratio */
    display: block;

    /* Convert black to white */
    filter: brightness(0) invert(1);
}


/* Navigation menu */
.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 20px;
}

.nav-menu li a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: #f0a500;
    /* highlight color */
}

/* Hamburger menu - hidden on desktop */
.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #fff;
}

/* Responsive styles */
@media (max-width: 768px) {
    .logo-img {
        width: 260px;
        /* adjust for your logo */
        max-width: 100%;
        height: auto;
        /* keep aspect ratio */
        display: block;

        /* Convert black to white */
        filter: brightness(0) invert(1);
    }

    .hamburger {
        display: block;
    }

    .nav-menu {
        flex-direction: column;
        width: 100%;
        display: none;
        /* hide menu by default on mobile */
    }

    .nav-menu.active {
        display: flex;
        background-color: #111;
        padding: 10px 0;
    }

    .nav-menu li {
        margin: 10px 0;
        text-align: center;
    }
}


/* Slider container */
.products-slider {
    overflow: hidden;
    width: 100%;
    margin-top: 20px;
}

/* Track containing all cards */
.products-track {
    display: flex;
    gap: 20px;
    animation: slide 40s linear infinite;
}

/* Individual product card */
/* .product-card {
    flex: 0 0 300px;
    adjust width
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
    text-align: center;
} */
 .product-card {
    flex: 0 0 340px;          /* card width for flex layouts */
    min-width: 320px;
    width: 340px;
    max-width: 340px;

    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;

    padding: 15px;
    text-align: center;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


/* Card image */
.product-card img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 10px;
}

/* Buttons */
.btn_1 {
    display: inline-block;
    padding: 12px 30px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 10px;
}

.btn_1:hover {
    background-color: #0056b3;
}

/* Auto-slide animation */
@keyframes slide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
        /* moves left by half track */
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .product-card {
        flex: 0 0 250px;
    }
}

@media (max-width: 768px) {
    .product-card {
        flex: 0 0 200px;
    }
}

@media (max-width: 480px) {
    .product-card {
        flex: 0 0 160px;
        padding: 10px;
    }

    .btn_1 {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}

/* Auto-slide animation */
@keyframes slide {
    0% {
        transform: translateX(0);
    }

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

/* Default animation: slower on desktop */
.products-track {
    display: flex;
    gap: 20px;
    align-items: stretch;
    animation: slide 40s linear infinite;
    /* default speed */
}

/* Speed up on tablets */
@media (max-width: 1024px) {
    .products-track {
        animation-duration: 30s;
        /* faster */
    }
}

/* Speed up more on small screens */
@media (max-width: 768px) {
    .products-track {
        animation-duration: 20s;
        /* even faster */
    }
}

/* Speed for mobile */
@media (max-width: 480px) {
    .products-track {
        animation-duration: 15s;
        /* fastest */
    }
}


.flip-card {
    perspective: 1300px;
    height: 280px;
    border-radius: 1.8rem;
}

.flip-card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
    border-radius: 1.8rem;
    box-shadow: var(--shadow);
}

.flip-card:hover .flip-card-inner,
.flip-card:focus-within .flip-card-inner {
    transform: rotateY(180deg) translateZ(20px);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    inset: 0;
    border-radius: 1.8rem;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 1.6rem;
    text-align: center;

    /* ✅ CARD GLASS BACKGROUND KEPT */
    background: var(--glass);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    border: 1px solid var(--glass-border);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.25);
}

.flip-card-front {
    color: #020617;
}

.flip-card-back {
    transform: rotateY(180deg);
    color: var(--text-soft);
    font-size: 1.05rem;
    line-height: 1.55;
}

.flip-card i {
    font-size: 4.2rem;
    margin-bottom: 1.3rem;
    color: #4338ca;
    transition: all 0.4s ease;
}

.flip-card:hover i {
    transform: scale(1.18) translateY(-6px);
    color: #1e3a8a;
}

.flip-card-front h3 {
    font-size: 1.55rem;
    font-weight: 700;
    margin: 0.4rem 0 0;
    letter-spacing: 0.5px;
    font-style: italic;
}

@media (max-width: 767px) {
    .flip-card {
        height: 260px;
    }
}

.expertise-head {
    font-family: var(--head-font);
    font-style: italic;
    text-align: center;
    font-size: clamp(2.6rem, 5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 0.5rem;
    background-color: #101010;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}



.vision-mission {
    position: relative;
    padding: 6rem 1rem;
    color: var(--text);
    overflow: hidden;
}

/* Background */
.vision-mission-bg,
.vision-mission-bg2 {
    position: absolute;
    inset: 0;
    z-index: -2;
}

/* .vision-mission-bg {
    background: linear-gradient(135deg, #0f172a 0%, #0e1a3f 50%, #0f172a 100%);
}

.vision-mission-bg2 {
    background: radial-gradient(circle at 20% 30%, rgba(30, 42, 106, 0.18) 0%, transparent 60%);
    opacity: 0.7;
} */

.vision-mission-bg,
.vision-mission-bg2 {
    background: transparent;
}

.vision-mission-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* .glass-card {
    border-radius: 1.6rem;
    padding: 2.5rem 2rem;
    background: var(--glass);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow), inset 0 0 20px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
} */
 .glass-card {
    border-radius: 1.6rem;
    padding: 2.5rem 2rem;

    /* LOCKED glass background */
    /* background: rgba(17, 17, 17, 0.671); */
    background: linear-gradient(135deg, #0f172a 0%, #0e1a3f 50%, #0f172a 100%);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: var(--shadow), inset 0 0 20px rgba(0, 0, 0, 0.3);

    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}


.glass-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}

/* Shine effect on hover */
.glass-card::before {
    content: '';
    position: absolute;
    inset: -100%;
    background: linear-gradient(135deg,
            transparent 40%,
            rgba(199, 210, 254, 0.12) 50%,
            transparent 60%);
    transform: translateX(-100%);
    transition: transform 0.8s ease;
    pointer-events: none;
}

.glass-card:hover::before {
    transform: translateX(200%);
}

.glass-card h2 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, #e0f2fe, #c7d2fe, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
    font-family: var(--head-font);
    font-style: italic;
}

.glass-card p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-soft);
    margin: 0;
    font-family: var(--para-font);

}

/* ────────────────────────────────────────────────
     RESPONSIVE DESIGN
  ──────────────────────────────────────────────── */

/* Large screens - side by side */
@media (min-width: 992px) {
    .vision-mission-content {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .glass-card {
        padding: 3rem 2.5rem;
    }

    .glass-card h2 {
        font-size: 2.8rem;
    }
}

/* Medium screens (tablets) */
@media (min-width: 768px) and (max-width: 991px) {
    .vision-mission {
        padding: 5rem 1.5rem;
    }

    .vision-mission-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .glass-card {
        padding: 2.5rem 2rem;
    }

    .glass-card h2 {
        font-size: 2.3rem;
    }

    .glass-card p {
        font-size: 1.05rem;
    }
}

/* Small screens (mobile) */
@media (max-width: 767px) {
    .vision-mission {
        padding: 4rem 1rem;
    }

    .glass-card {
        padding: 2rem 1.6rem;
    }

    .glass-card h2 {
        font-size: 2rem;
        margin-bottom: 1.2rem;
    }

    .glass-card p {
        font-size: 1rem;
        line-height: 1.65;
    }
}

/* Very small phones */
@media (max-width: 480px) {
    .vision-mission {
        padding: 3.5rem 0.9rem;
    }

    .glass-card {
        border-radius: 1.2rem;
        padding: 1.8rem 1.4rem;
    }

    .glass-card h2 {
        font-size: 1.8rem;
    }

    .glass-card p {
        font-size: 0.98rem;
    }
}

.about-intro .container {
    max-width: 100%;
    margin: 0;
    padding: 0;
}
.footer a {
    color: inherit;
    text-decoration: none !important;
}

.footer a:hover {
    text-decoration: underline;
}

/* =========================
   CAROUSEL TEXT OVERLAY BASE
   ========================= */
.carousel-overlay {
    position: absolute;
    bottom: 40px;
    left: 40px;
    padding: 1.4rem 2rem;
    /* border-radius: 14px; */
    /* max-width: 520px; */
    background: linear-gradient(to left, transparent 10px, rgba(0, 0, 0, 0.55));
    color: #fff;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: all 0.4s ease;
}

/* Text styling */
.carousel-overlay h2 {
    font-size: 2.4rem;
    margin-bottom: 0.6rem;
}

.carousel-overlay p {
    font-size: 1.2rem;
    margin: 0;
}


/* =========================
   SLIDE-WISE COLORS + GLOW
   ========================= */

/* Slide 1 – Gold / Premium */
.slide-1 .carousel-overlay {
    background: linear-gradient(to left, transparent 10px, rgba(19, 19, 18, 0.75));
    /* box-shadow: 0 0 30px rgba(255, 180, 0, 0.45); */
}
.slide-1 h2 { color: #ffd966; }
.slide-1 p  { color: #fff3cd; }


/* Slide 2 – Blue / Engineering */
.slide-2 .carousel-overlay {
   background: linear-gradient(to left, transparent 10px, rgba(19, 19, 18, 0.75));
    /* box-shadow: 0 0 30px rgba(255, 180, 0, 0.45); */
}
.slide-2 h2 { color: #ffd966; }
.slide-2 p  { color: #fff3cd; }


/* Slide 3 – Green / Safety */
.slide-3 .carousel-overlay {
 background: linear-gradient(to left, transparent 10px, rgba(19, 19, 18, 0.75));
    /* box-shadow: 0 0 30px rgba(255, 180, 0, 0.45); */
}
.slide-3 h2 { color: #ffd966; }
.slide-3 p  { color: #fff3cd; }


/* Slide 4 – Purple / Innovation */
.slide-4 .carousel-overlay {
    background: linear-gradient(to left, transparent 10px, rgba(19, 19, 18, 0.75));
    /* box-shadow: 0 0 30px rgba(255, 180, 0, 0.45); */
}
.slide-4 h2 { color: var(--head-color); }
.slide-4 p  { color: #fff3cd; }


/* =========================
   MOBILE RESPONSIVE
   ========================= */
@media (max-width: 768px) {
    .carousel-overlay {
        left: 15px;
        right: 15px;
        bottom: 20px;
        max-width: unset;
        padding: 1rem 1.2rem;
        text-align: left;
    }

    .carousel-overlay h2 {
        font-size: 1.6rem;
    }

    .carousel-overlay p {
        font-size: 1rem;
    }
}


.head-text{
    font-family: var(--head-font);
    font-style: italic;
}


/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 90px; /* Increased from 30px to avoid WhatsApp button */
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1d305f 0%, #5d8aaf 100%);
    color: #f8cc24;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(29, 48, 95, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top:hover {
    background: linear-gradient(135deg, #5d8aaf 0%, #1d305f 100%);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(29, 48, 95, 0.4);
    color: #ffffff;
}

.back-to-top.show {
    display: flex;
}

/* Mobile responsive for back-to-top button */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

.carousel-slide {
    height: 500px; /* desktop height */
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mobile Fix */
@media (max-width: 768px) {
    .carousel-slide {
        height: 250px;   /* reduce height */
    }

    .carousel-slide img {
        object-fit: cover;
        object-position: center; /* adjust if needed */
    }
}

.products-slider {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; /* smooth mobile scroll */
}

.products-track {
    display: flex;
    gap: 20px;
    width: max-content;
}

.product-card {
    min-width: 300px; /* card width */
    flex: 0 0 auto;
}

/* Optional: Hide scrollbar */
.products-slider::-webkit-scrollbar {
    display: none;
}
.products-slider {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
