* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
   
    font-family: 'Roboto', sans-serif;
}

body {
    background: #f9f9f9;
}

/* Brand Colors */
:root {
    --brand-blue: #242176;
    --brand-red: #ee1d24;
    --text-dark: #555;
}

/* Header */
.premium-header {
    background: var(--brand-blue);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 15px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease-in-out;
}

.logo img {
    height: 65px;

}

/* Mobile adjustments */
@media (max-width: 768px) {
    .logo img {
        height: 60px;
        /* slightly smaller for tablets */
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 45px;
        /* smaller for mobile */
    }
}

/* Alig Center */
.text-center {
    text-align: center;
}

/* Navigation */
.navbar {
    flex: 1;
    margin-left: 50px;
}

.navbar .nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    font-weight: 800;
    /* Makes text bold */
    color: #ffffff;
    font-weight: 500;
    font-size: 18px;
    transition: color 0.3s ease-in-out;
}

.nav-links a:hover {
    color: var(--brand-red);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    list-style: none;
    /* ensures dropdown appears just below the parent */
    left: 0;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    min-width: 180px;
    z-index: 1001;
}

.dropdown-menu li {
    padding: 10px;
}

.dropdown-menu li a {
    color: var(--text-dark);
    font-size: 14px;
}

/* Desktop Hover Dropdown */
.dropdown:hover .dropdown-menu {
    display: flex;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-box {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 30px;
    padding: 5px 15px;
}

.search-box input {
    border: none;
    outline: none;
    background: transparent;
    width: 180px;
    font-size: 14px;
}

.search-box button {
    border: none;
    background: transparent;
    color: #777;
    cursor: pointer;
}

.user-actions {
    display: flex;
    gap: 15px;
}

.user-actions a {
    color: var(--text-dark);
    font-size: 18px;
    transition: color 0.3s;
}

.user-actions a:hover {
    color: var(--brand-blue);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #ffffff;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .navbar {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 60%;
        height: 100vh;
        background: var(--brand-blue);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        z-index: 999;
    }

    .navbar.active {
        left: -50px;
    }

    .nav-links {
        flex-direction: column;
        padding: 30px;
        gap: 20px;
    }

    .menu-toggle {
        display: block;
    }

    .search-box {
        display: none;
    }

    .premium-header {
        padding: 10px 3%;
    }
}

/* Blinking effect for Today's Price button */
.today-price-btn {
    background: #ee1d24;
    color: #fff;
    padding: 8px 14px;
    border-radius: 20px;
    font-weight: 600;
    text-decoration: none;
    margin: 0 10px;
    transition: background 0.3s ease;
    animation: blink 2s infinite;
    /* 🔥 Add blinking animation */
}

.today-price-btn:hover {
    background: #fffb21;
    color: #1c2aa8;
}

/* Keyframes for blinking */
@keyframes blink {

    0%,
    50%,
    100% {
        opacity: 1;
    }

    25%,
    75% {
        opacity: 0.5;
    }
}


/* Social Icons */
.social-icons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.social-icons a {
    color: #ffffff;
    font-size: 16px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #bd060c;
}

/* Responsive: stack items on mobile */
@media (max-width: 768px) {
    .today-price-btn {
        padding: 6px 12px;
        font-size: 14px;
    }

    .social-icons a {
        font-size: 14px;
    }
}


/* home */
.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slide {
    display: none;
    position: relative;
}

.slide.active {
    display: block;
}

.slide-image {
    position: relative;
    width: 100%;
}

.slide-image img {
    width: 100%;
    height: auto;
    /* maintain original aspect ratio */
    display: block;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: #fff;
    max-width: 80%;
}

.slide-content h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.slide-content p {
    font-size: 18px;
    margin-bottom: 20px;
}

.hero-cta-btn {
    background: #ee1d24;
    color: #fff;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    animation: blink 1.5s infinite;
}

.hero-cta-btn:hover {
    background: #fffb21;
    color: #1c2aa8;
}

/* Slider Navigation */
.slider-nav span {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    user-select: none;
    z-index: 10;
    padding: 5px 10px;
}

.slider-nav .prev {
    left: 10px;
}

.slider-nav .next {
    right: 10px;
}

/* Dots */
.slider-dots {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
}

.slider-dots .dot {
    display: inline-block;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #fff;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.slider-dots .dot.active {
    opacity: 1;
}

/* MOBILE */
/* MOBILE: scale text inside slider */
@media (max-width: 992px) {
    .slide-content h1 {
        font-size: 22px;
        /* smaller heading for mobile */
        line-height: 1.2;
    }

    .slide-content p {
        font-size: 14px;
        /* smaller paragraph */
        line-height: 1.4;
    }

    .hero-cta-btn {
        padding: 8px 20px;
        /* smaller button */
        font-size: 14px;
    }
}

/* featured section  */


/* Section Layout */
.features-news-section {
    padding: 60px 5%;
    background: #f9f9f9;
}

.features-news-section .container {
    display: grid;
    grid-template-columns: 1fr auto 2fr;
    gap: 30px;
    align-items: start;
}

/* Left Column: News */
.news-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-column h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #2e3192;
}

.news-card {
    background: #ffffff;
    padding: 15px 20px;
    border-left: 4px solid #ee1d24;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card h3 {
    color: #ce0000;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}

/* Divider */
.divider {
    width: 4px;
    background: linear-gradient(to bottom, #EE1D24, #2e3192);
    border-radius: 10px;
}

/* Right Column: Features */
.features-column {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Logo Watermark in Features Column */
.features-column::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: url("{% static 'images/logo.png' %}") no-repeat center center;
    background-size: 300px auto;
    opacity: 0.05;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Feature Card Styles */
.feature-card {
    position: relative;
    background: linear-gradient(135deg, #ee1d24, #2e3192);
    color: #fff;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    opacity: 0;
    animation: fadeInUp 0.8s forwards;
    z-index: 1;
}

.feature-card h4 {
    color: #fffb21;
}

/* Hover Effect */
.feature-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}

/* Fade In Animation */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .features-news-section .container {
        grid-template-columns: 1fr;
    }

    .divider {
        display: none;
    }

    .features-column {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .features-column {
        grid-template-columns: 1fr;
    }
}

/* Features Title */
.features-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    color: #2e3192;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.features-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #ee1d24, #2e3192);
    margin: 10px auto 0;
    border-radius: 2px;
}


/* Advantages Section */
.advantages-section {
    background: #f5f7fa;
    padding: 80px 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.advantages-section::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('../images/logo.png') no-repeat center;
    background-size: 50%;
    opacity: 0.05;
    transform: rotate(15deg);
    z-index: 0;
}

/* Title */
.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
    color: #2e3192;
}

.section-title span {
    color: #ee1d24;
}

.section-subtitle {
    font-size: 18px;
    color: #555;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

/* Grid */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    position: relative;
    z-index: 1;
}

/* Cards */
.advantage-card {
    background: #fff;
    color: #333;
    padding: 30px 20px;
    border-radius: 16px;
    border: 1px solid #ddd;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, background 0.4s ease, color 0.4s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.advantage-card i {
    font-size: 40px;
    margin-bottom: 20px;
    color: #2e3192;
}

/* Hover Effect */
.advantage-card:hover {
    background: #ee1d24;
    color: #fff;
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.advantage-card:hover i {
    color: #fff;
}

/* Scroll Animation */
.advantage-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.advantage-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Typography */
@media (max-width: 768px) {
    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 16px;
    }
}


/* Section Styling */
.product-range-section {
    background: linear-gradient(135deg, #f9f9f9, #f1f1f1);
    padding: 35px 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.section-title {

    font-size: 32px;
    font-weight: 800;
    color: #2e3192;
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    animation: fadeInDown 1s ease;
}


/* Mobile adjustments */
@media (max-width: 768px) {
    .section-title {
        font-size: 20px;
        /* smaller font for mobile */
        margin-bottom: 5px;
        /* reduce spacing */
        text-align: center;
        /* optional, centers the title */
    }
}

.section-subtitle {
    font-size: 16px;
    color: #555;
    margin-bottom: 40px;
    animation: fadeIn 1.2s ease;
}


/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    animation: fadeInUp 1.5s ease;
}

/* Product Card */
.product-card {
    background: #ffffff;
    border: 2px solid transparent;
    border-radius: 15px;
    padding: 30px 15px;
    min-height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 15px;
    padding: 2px;
    background: linear-gradient(135deg, #ee1d24, #2e3192);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    opacity: 0.5;
    transition: opacity 0.3s ease-in-out;
}

.product-size {
    font-size: 24px;
    font-weight: 700;
    color: #2e3192;
    transition: color 0.3s ease;
}

/* Hover Animation */
.product-card:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    background: linear-gradient(135deg, #ee1d24, #2e3192);
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover .product-size {
    color: #fff;
}

/* Animation Keyframes */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .product-card {
        min-height: 110px;
        padding: 25px 12px;
    }

    .product-size {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .product-card {
        min-height: 100px;
    }

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



/* about  */

.about-section {
    padding: 70px 20px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(-45deg, #f8f9fc, #e8ecf7, #f9f9ff, #e0e5fa);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

/* Animated Gradient */
@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.about-section .container {
    max-width: 1300px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    flex-wrap: wrap;
}

/* About Text */
.about-column {
    flex: 2;
    text-align: justify;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-column h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #2e3192;
    margin-bottom: 25px;
    animation: fadeInLeft 1s ease-in-out;
}

.about-column p {
    font-size: 1rem;
    color: #444;
    margin-bottom: 20px;
    line-height: 1.8;
    animation: fadeInLeft 1.2s ease-in-out;
}

/* Form Column */
.form-column {
    flex: 1.2;
    background: #fff;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
    animation: slideUp 1.2s ease-in-out;
    transform: translateY(0);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.form-column:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.18);
}

/* Form Styling */
.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #2e3192;
    text-align: center;
    font-weight: 700;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    margin-bottom: 18px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f9f9f9;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #2e3192;
    background: #fff;
    box-shadow: 0 0 10px rgba(46, 49, 146, 0.2);
    outline: none;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #2e3192, #ee1d24);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.3s ease, background 0.3s ease;
}

.btn-submit:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #ee1d24, #2e3192);
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

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

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

/* Responsive */
@media (max-width: 992px) {
    .about-section .container {
        flex-direction: column;
        text-align: center;
    }

    .about-column {
        text-align: justify;
    }

    .form-column {
        width: 100%;
        margin-top: 30px;
    }
}

/* Floating Shapes */
.about-section::before,
.about-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(46, 49, 146, 0.1);
    animation: float 8s ease-in-out infinite;
    z-index: 0;
}

.about-section::before {
    width: 250px;
    height: 250px;
    top: -80px;
    left: -80px;
}

.about-section::after {
    width: 180px;
    height: 180px;
    bottom: -60px;
    right: -60px;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(20px);
    }
}




/* what we do section  */

/* What We Do Section */
.what-we-do-section {
    padding: 60px 5%;
    background: #f9f9f9;
}

.what-we-do-section .container {
    display: grid;
    grid-template-columns: 1fr auto 2fr;
    /* Matches your features-news-section */
    gap: 30px;
    align-items: start;
}

/* About Column */
.about-column {
    max-width: 500px;
}

.about-column .section-title {
    font-size: 26px;
    font-weight: 800;
    color: #2e3192;
    margin-bottom: 20px;
}

.about-column p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    text-align: justify;
    margin-bottom: 15px;
}

/* Divider */
.divider {
    width: 2px;
    background: #ddd;
    margin: 0 20px;
}

/* Images Column */
.images-column {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.image-wrapper {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.image-wrapper:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 992px) {
    .what-we-do-section .container {
        grid-template-columns: 1fr;
    }

    .divider {
        display: none;
    }

    .images-column {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .images-column {
        grid-template-columns: 1fr;
    }
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.lightbox img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease-in-out;
}

.lightbox .close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    font-weight: bold;
}

@keyframes zoomIn {
    from {
        transform: scale(0.7);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}


/* mobile app  */
/* Dealer App Section */
.dealer-app-section {
    padding: 80px 5%;
    background: linear-gradient(135deg, #a50000, #2e3192);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.dealer-app-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

/* App Image */
.app-image {
    position: relative;
    text-align: center;
    animation: float 4s ease-in-out infinite;
}

.app-image img {
    width: 80%;
    max-width: 70%;
    /* border-radius: 30px; */
    /* box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4); */
    transition: transform 0.4s ease;
}

.app-image img:hover {
    transform: scale(1.05);
}

/* App Badges */
.app-badge {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.app-badge img {
    width: 120px;
    transition: transform 0.3s ease;
}

.app-badge img:hover {
    transform: scale(1.1);
}

/* App Content */
.app-content {
    animation: fadeInRight 1s ease forwards;
}

.app-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.app-content .intro-text {
    font-size: 18px;
    color: #f0f0f0;
    margin-bottom: 20px;
}

.app-content ul {
    list-style: none;
    margin: 20px 0;
    padding: 0;
}

.app-content ul li {
    font-size: 18px;
    color: #fff;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transform: translateX(-20px);
    animation: fadeInList 0.6s ease forwards;
}

.app-content ul li:nth-child(1) {
    animation-delay: 0.3s;
}

.app-content ul li:nth-child(2) {
    animation-delay: 0.5s;
}

.app-content ul li:nth-child(3) {
    animation-delay: 0.7s;
}

.app-content ul li:nth-child(4) {
    animation-delay: 0.9s;
}

.app-content ul li i {
    color: #fffb21;
    font-size: 20px;
}

.cta-btn {
    display: inline-block;
    background: #fffb21;
    color: #1c2aa8;
    padding: 12px 30px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.cta-btn:hover {
    background: #fff;
    color: #ff0000;
    transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

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

@keyframes fadeInList {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .dealer-app-section .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .app-image img {
        max-width: 250px;
    }

    .app-content h2 {
        font-size: 28px;
    }

    .cta-btn {
        font-size: 16px;
        padding: 10px 25px;
    }
}


/* Customer Review Section */
.customer-reviews {
    padding: 80px 5%;
    background: #fff;
    /* Removed gradient, clean white background */
    color: #333;
    text-align: center;
}

.customer-reviews .section-title {

    margin-bottom: 50px;
    font-weight: bold;
    animation: fadeInDown 1s ease-in-out;
    color: #222;
}

/* Reviews Grid */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Review Card */
.review-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

/* Customer Image */
.customer-img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #ee1d24;
    /* Red border to match brand */
    margin-bottom: 15px;
    animation: zoomIn 0.8s ease-in-out;
}

/* Name & Designation */
.review-card h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    font-weight: bold;
}

.designation {
    font-size: 0.95rem;
    color: #777;
    margin-bottom: 15px;
}

/* Review Text */
.review-text {
    font-size: 1rem;
    font-style: italic;
    line-height: 1.6;
    color: #444;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}


/* dealers  */
/* Dealers Network Section */
.dealers-network-section {
    padding: 70px 5%;
    background: #fff;
}

.dealers-network-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

/* Left Content Styling */
.dealers-content {
    flex: 1;
    animation: fadeInLeft 1s ease-in-out;
    margin-left: 150px;
}

.dealers-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: #2e3192;
    margin-bottom: 20px;
}

.dealers-content p {
    font-size: 18px;
    color: #333;
    margin-bottom: 30px;
    max-width: 500px;
    text-align: justify;
}

/* Buttons */
.cta-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease-in-out;
}

.call-btn {
    background: #ee1d24;
    color: #fff;
}

.call-btn:hover {
    background: #c10d15;
    transform: scale(1.05);
}

.mail-btn {
    background: #2e3192;
    color: #fff;
}

.mail-btn:hover {
    background: #1b1f73;
    transform: scale(1.05);
}

/* Right Map */
.dealers-map {
    flex: 1;
    display: flex;
    justify-content: center;
    animation: fadeInRight 1s ease-in-out;
}

.dealers-map img {
    max-width: 70%;
    height: auto;
    object-fit: contain;
    transition: transform 0.4s ease-in-out;
}

.dealers-map img:hover {
    transform: scale(1.05);
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

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

/* Responsive */
@media (max-width: 992px) {
    .dealers-network-section .container {
        flex-direction: column;
        text-align: center;
    }

    .dealers-content {
        margin-left: 0;
        /* Remove forced margin */
    }

    .dealers-content h2 {
        font-size: 28px;
    }

    .dealers-content p {
        font-size: 16px;
        margin: 0 auto 20px;
    }

    .cta-buttons {
        justify-content: center;
    }

    .dealers-map img {
        max-width: 90%;
        /* Bigger map on mobile */
    }
}

@media (max-width: 576px) {
    .dealers-content h2 {
        font-size: 24px;
    }

    .dealers-content p {
        font-size: 14px;
    }

    .btn {
        font-size: 14px;
        padding: 10px 16px;
    }
}


/* Footer */
.site-footer {
    position: relative;
    padding: 60px 3%;
    font-family: 'Poppins', sans-serif;
    color: #fff;
    background: linear-gradient(135deg, #242176 0%, #242176 100%);
    overflow: hidden;
}

/* Floating Logo */
.footer-logo-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.05;
    z-index: 0;
}

.footer-logo-bg img {
    max-width: 400px;
    width: 50%;
    height: auto;
}

/* Footer Container */
.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    position: relative;
    z-index: 1;
}

/* Sections */
.footer-section {
    flex: 1;
    min-width: 220px;
    animation: fadeInUp 1s ease-in-out;
}

/* Section Titles */
.footer-section h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fffb21;
}


.footer-section p {
    margin-bottom: 10px;
    /* Adjust the value as needed */
    color: #ffffff;
    /* Optional: keep text white */
    line-height: 1.5;
    /* Optional: better readability */
}

/* Products Links */
.footer-products ul {
    list-style: none;
    padding: 0;
}

.footer-products ul li {
    margin-bottom: 8px;
}

.footer-products ul li a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-products ul li a:hover {
    color: #fffb21;
    transform: scale(1.05);
}

/* App Buttons */
.footer-apps .apps a img {
    height: 35px;
    margin-right: 10px;
    transition: transform 0.4s ease, opacity 0.4s;
}

.footer-apps .apps a img:hover {
    transform: scale(1.1) rotate(-5deg);
}

/* Social Icons */
.footer-social .social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-social .social-icons a {
    color: #fff;
    font-size: 18px;
    transition: all 0.3s ease;
}

.footer-social .social-icons a:hover {
    color: #fffb21;
    transform: scale(1.2);
}

/* Legal Text */
.footer-social .legal {
    font-size: 13px;
    line-height: 1.5;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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



.dot-animate::after {
    content: '';
    display: inline-block;
    width: 1ch;
    animation: dots 1s steps(4, end) infinite;
}

@keyframes dots {

    0%,
    20% {
        content: '';
    }

    40% {
        content: '.';
    }

    60% {
        content: '..';
    }

    80% {
        content: '...';
    }

    100% {
        content: '....';
    }
}


.footer-about i {
    color: #ee1d24;
    /* your theme color */
    margin-right: 10px;
}

@media (max-width: 992px) {
    .footer-container {
        flex-direction: column;
        gap: 30px;
        text-align: left;
    }

    .footer-section {
        flex: 1 1 100%;
        min-width: auto;
        text-align: left;
    }

    /* Products list: vertical on mobile */
    .footer-products ul {
        display: block;
        /* Stack items vertically */
        padding-left: 0;
    }

    .footer-products ul li {
        margin-bottom: 10px;
        /* Space between items */
    }

    /* App buttons */
    .footer-apps .apps {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 10px;
    }

    /* Social icons */
    .footer-social .social-icons {
        justify-content: flex-start;
    }

    /* Legal text */
    .footer-social .legal {
        text-align: left;
    }

    /* Floating logo */
    .footer-logo-bg {
        max-width: 250px;
        opacity: 0.03;
    }
}

.legal a {
    color: #ffffff;
    /* white color */
    text-decoration: none;
    /* remove underline */
    transition: color 0.3s ease;
}

.legal a:hover {
    color: #fffb21;
    /* optional hover color */
}


/* =============================
   Function Images Grid
   ============================= */
.function-images {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    /* 8 per row desktop */
    gap: 10px;
    margin-top: 15px;
}

.function-images .image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    cursor: pointer;
    background: #f9f9f9;
    padding: 5px;
    transition: transform 0.3s ease;
}

.function-images img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
    transition: transform 0.3s ease;
}

.function-images img:hover {
    transform: scale(1.05);
}

/* Divider Between Functions */
.function-block {
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 2px solid #ddd;
}

/* =============================
   Lightbox Styling
   ============================= */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
}

.lightbox .close,
.lightbox .prev,
.lightbox .next {
    color: #fff;
    font-size: 32px;
    font-weight: bold;
    position: absolute;
    cursor: pointer;
    user-select: none;
    padding: 10px;
    transition: color 0.3s ease;
}

.lightbox .close {
    top: 20px;
    right: 35px;
}

.lightbox .prev {
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
}

.lightbox .next {
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

.lightbox .close:hover,
.lightbox .prev:hover,
.lightbox .next:hover {
    color: #fffb21;
}

/* Caption inside Lightbox */
.lightbox-caption {
    margin-top: 15px;
    text-align: center;
    font-size: 14px;
    color: #fff;
}

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

/* Tablets */
@media (max-width: 992px) {
    .function-images {
        grid-template-columns: repeat(4, 1fr);
        /* 4 per row */
    }
}

/* Mobile */
@media (max-width: 600px) {
    .function-images {
        grid-template-columns: repeat(2, 1fr);
        /* 2 per row */
    }
}

/* ====/* =============================
   Media Section Container
   ============================= */
.media-section .container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
    margin-top: 20px;
}

/* Small screens (mobile) */
@media (min-width: 576px) {
    .media-section .container {
        max-width: 540px;
    }
}

/* Tablets */
@media (min-width: 768px) {
    .media-section .container {
        max-width: 720px;
    }
}

/* Small laptops */
@media (min-width: 992px) {
    .media-section .container {
        max-width: 960px;
    }
}

/* Large desktops */
@media (min-width: 1200px) {
    .media-section .container {
        max-width: 1140px;
    }
}

/* Extra large screens */
@media (min-width: 1400px) {
    .media-section .container {
        max-width: 1320px;
    }
}

.media-section .function-title {
    font-size: 22px;
    font-weight: 700;
    color: #ee1d24;
    /* 🔹 Change this to your brand color */
    margin-bottom: 10px;
    text-transform: uppercase;
}



/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, #2e3192, #ee1d24);
    color: #fff;
    text-align: center;
    padding: 70px 20px;
}

.page-hero h1 {
    font-size: 36px;
    font-weight: 700;
}

.page-hero p {
    font-size: 18px;
    margin-top: 10px;
}

/* Office Section */
.office-section {
    padding: 60px 20px;
    background: #f9f9f9;
}

.office-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.office-card {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

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

.office-card h2 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #2e3192;
}

.office-card p {
    margin-bottom: 12px;
    font-size: 16px;
    color: #444;
}

.office-card i {
    color: #ee1d24;
    margin-right: 8px;
}

/* Contact Form */
.contact-form-section {
    padding: 70px 20px;
    text-align: center;
}

.contact-form-section h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #2e3192;
}

.contact-form-section .form-intro {
    margin-bottom: 30px;
    font-size: 16px;
    color: #555;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    background: #fff;
    transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #2e3192;
    box-shadow: 0 0 8px rgba(46, 49, 146, 0.2);
    outline: none;
}

.contact-form textarea {
    margin-top: 15px;
    resize: none;
}

.contact-form button {
    margin-top: 20px;
    width: 100%;
    background: linear-gradient(135deg, #2e3192, #ee1d24);
    color: #fff;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    transform: scale(1.03);
    background: linear-gradient(135deg, #ee1d24, #2e3192);
}

.form-msg {
    color: green;
    margin-bottom: 20px;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 28px;
    }

    .contact-form-section h2 {
        font-size: 24px;
    }
}

.map-wrapper {
    margin-top: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.map-wrapper iframe {
    display: block;
    width: 100%;
    height: 250px;
}

.office-card p {
    margin: 8px 0;
    font-size: 15px;
    color: #333;
    display: flex;
    align-items: center;
}

.office-card i {
    color: #2e3192;
    /* brand blue */
    margin-right: 8px;
    font-size: 16px;
}

.office-card h3 i {
    color: #ee1d24;
    /* red for titles */
    margin-right: 6px;
}

.office-section .section-title {
    margin-bottom: 40px;
    /* space below Our Offices */
}


.contact-form .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    background: #fff;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 8px rgba(46, 49, 146, 0.2);
    outline: none;
}

.contact-form textarea {
    width: 100%;
    margin-bottom: 20px;
    grid-column: span 2;
}

.contact-form button {
    padding: 14px;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-red));
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
    grid-column: span 2;
}

.contact-form button:hover {
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .contact-form .form-grid {
        grid-template-columns: 1fr;
    }

    .contact-form textarea,
    .contact-form button {
        grid-column: span 1;
    }
}


/* =============================
   About Page Styling
   ============================= */

/* Hero Section */
.about-hero {
    position: relative;
    background: url("../images/factory-image.jpg") center/cover no-repeat;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.about-hero .hero-overlay {
    background: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 12px;
    animation: fadeIn 2s ease-in-out;
}

.hero-title {
    font-size: 42px;
    color: #fff;
}

.hero-title span {
    color: var(--brand-red);
}

.hero-subtitle {
    font-size: 18px;
    color: #ddd;
    margin-top: 10px;
}

/* About Section */
.about-content {
    padding: 60px 6%;
    background: #fff;
}

.about-text {
    max-width: 900px;
    margin: 0 auto;
    text-align: justify;
}

.about-text h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--brand-blue);
    margin-bottom: 20px;
}

.about-text h2 span {
    color: var(--brand-red);
}

.about-text p {
    margin-bottom: 16px;
    line-height: 1.7;
    font-size: 16px;
    color: #444;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

/* Staggered animation */
.about-text p:nth-child(2) {
    animation-delay: 0.2s;
}

.about-text p:nth-child(3) {
    animation-delay: 0.4s;
}

.about-text p:nth-child(4) {
    animation-delay: 0.6s;
}

.about-text p:nth-child(5) {
    animation-delay: 0.8s;
}

.about-text p:nth-child(6) {
    animation-delay: 1s;
}

/* Mission & Vision */
.mission-vision {
    background: #f9f9f9;
    padding: 60px 8%;
}

.mission-vision .card {
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.mission-vision h3 {
    color: var(--brand-red);
    margin-bottom: 15px;
}

/* Distribution */
.distribution {
    padding: 80px 8%;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.stat-box {
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: scale(1.05);
}

.stat-box h3 {
    font-size: 28px;
    color: var(--brand-blue);
    margin-bottom: 8px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Fixes */
@media (max-width: 992px) {
    .about-hero {
        height: 45vh;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .about-content,
    .mission-vision,
    .distribution {
        padding: 50px 5%;
    }

    .about-text h2 {
        font-size: 24px;
    }

    .about-text p {
        font-size: 15px;
        line-height: 1.6;
    }
}

@media (max-width: 576px) {
    .about-hero {
        height: 35vh;
    }

    .hero-title {
        font-size: 22px;
    }

    .hero-subtitle {
        font-size: 13px;
    }

    .about-content,
    .mission-vision,
    .distribution {
        padding: 40px 4%;
    }

    .about-text h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .about-text p {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 12px;
    }

    .stat-box h3 {
        font-size: 20px;
    }
}

/* Mission & Vision */
.mission-vision {
    background: #f9f9f9;
    padding: 60px 8%;
}

.mission-vision .cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.mission-vision .card {
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

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

.mission-vision h3 {
    color: var(--brand-red);
    margin-bottom: 15px;
    font-size: 22px;
    font-weight: 700;
}

.mission-vision p {
    color: #555;
    line-height: 1.6;
    font-size: 15px;
}

/* =============================
   Director's Message Section
   ============================= */
.director-message {
    /* padding: 60px 6%; */
    background: #fff;
}

.director-message .grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: center;
}

.director-image img {
    width: 100%;
    max-width: 550px;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    transition: transform 0.4s ease;
    margin: 0 auto;
    display: block;
}

.director-image img:hover {
    transform: scale(1.04);
}

.director-text h2 {
    margin-bottom: 18px;
    font-size: 28px;
    font-weight: 700;
    color: var(--brand-blue);
}

.director-text h2 span {
    color: var(--brand-red);
}

.director-text p {
    font-size: 15.5px;
    line-height: 1.7;
    margin-bottom: 12px;
    color: #444;
}

.director-text .signature {
    margin-top: 10px;
    font-style: italic;
    color: #222;
}

/* =============================
   Values Section
   ============================= */
.values-section {
    padding: 50px 6%;
    text-align: center;
}

.infographic-image img {
    max-width: 700px;
    width: 100%;
    margin: 0 auto 25px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    display: block;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.value-box {
    padding: 22px 18px;
    border-radius: 14px;
    color: #fff;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.value-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.value-box i {
    font-size: 32px;
    margin-bottom: 10px;
    display: block;
}

.value-box h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
}

.value-box p {
    font-size: 15px;
    font-weight: 500;
}

/* Gradient Backgrounds */
.gradient-1 {
    background: linear-gradient(135deg, #ff6a00, #ee0979);
}

.gradient-2 {
    background: linear-gradient(135deg, #11998e, #38ef7d);
}

.gradient-3 {
    background: linear-gradient(135deg, #0575e6, #021b79);
}

.gradient-4 {
    background: linear-gradient(135deg, #f7971e, #ffd200);
}

.gradient-5 {
    background: linear-gradient(135deg, #8e2de2, #4a00e0);
}

/* =============================
   Responsive Fixes
   ============================= */
@media (max-width: 992px) {
    .director-message {
        padding: 50px 5%;
    }

    .values-section {
        padding: 40px 5%;
    }

    .director-text h2 {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .director-message {
        padding: 40px 4%;
    }

    .director-text p {
        font-size: 14.5px;
        line-height: 1.6;
    }

    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 18px;
    }

    .value-box {
        padding: 20px 16px;
    }

    .value-box i {
        font-size: 26px;
    }

    .value-box h3 {
        font-size: 20px;
    }

    .value-box p {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .director-image img {
        max-width: 280px;
    }

    .director-text h2 {
        font-size: 20px;
    }

    .values-grid {
        gap: 15px;
    }
}

.value-box p {
    font-size: 15px;
    font-weight: 600;
    /* bold */
    color: #fff;
    /* white to contrast with gradient */
    letter-spacing: 0.5px;
}





/* magadhtmt  */

.magadh-hero {
    position: relative;
    background: url("../images/banner.webp") center/cover no-repeat;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Overlay styling */
.magadh-overlay {
    background: rgba(0, 0, 0, 0.5);
    padding: 30px 20px;
    border-radius: 12px;
    animation: fadeIn 1.5s ease-in-out forwards;
}

/* Title styling */
.magadh-title {
    font-size: 42px;
    color: #fff;
    margin: 0;
    animation: fadeDown 1.5s ease-in-out forwards;
}

.magadh-title span {
    color: var(--brand-red);
}

/* Subtitle styling */
.magadh-subtitle {
    font-size: 18px;
    color: #ddd;
    margin-top: 10px;
    animation: fadeUp 1.5s ease-in-out forwards;
}

/* Animations */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fadeDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .magadh-title {
        font-size: 36px;
    }

    .magadh-subtitle {
        font-size: 16px;
    }

    .magadh-overlay {
        padding: 25px 15px;
    }
}

@media (max-width: 576px) {
    .magadh-title {
        font-size: 28px;
    }

    .magadh-subtitle {
        font-size: 14px;
    }

    .magadh-overlay {
        padding: 20px 10px;
    }
}



/* Content Section */
.tmt-content {
    position: relative;
    padding: 70px 20px;
    background: linear-gradient(-45deg, #f8f9fc, #e8ecf7, #f9f9ff, #e0e5fa);
    background-size: 400% 400%;
    animation: tmt-gradientBG 15s ease infinite;
    overflow: hidden;
}

@keyframes tmt-gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.tmt-container {
    max-width: 1300px;
    margin: auto;
}

/* Text */
.tmt-text h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2e3192;
    margin-bottom: 25px;
    line-height: 1.2;
    text-align: center;
}

.tmt-text p {
    font-size: 1rem;
    color: #444;
    margin-bottom: 20px;
    line-height: 1.8;
    text-align: justify;
}

/* Fade-in Animation */
.tmt-fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: tmt-fadeUp 1s forwards;
}

.tmt-delay-1 {
    animation-delay: 0.3s;
}

.tmt-delay-2 {
    animation-delay: 0.6s;
}

@keyframes tmt-fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating Shapes */
.tmt-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(46, 49, 146, 0.1);
    animation: tmt-float 8s ease-in-out infinite;
    z-index: 0;
}

.tmt-shape-1 {
    width: 250px;
    height: 250px;
    top: -80px;
    left: -80px;
}

.tmt-shape-2 {
    width: 180px;
    height: 180px;
    bottom: -60px;
    right: -60px;
}

@keyframes tmt-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(20px);
    }
}

/* =========================
   Responsive: Mobile
   ========================= */
@media (max-width: 992px) {
    .tmt-text h1 {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 20px;
    }

    .tmt-text p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .tmt-text h1 {
        font-size: 1.5rem;
        line-height: 1.4;
    }

    .tmt-text p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}


/* Features Section */
.tmt-features {
    padding: 70px 20px;
    background: #f9f9ff;
}

.tmt-section-title {
    font-size: 2rem;
    color: #2e3192;
    font-weight: 800;
    margin-bottom: 25px;
    text-align: center;
}

.tmt-cards-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin: 30px 0;
}

.tmt-card {
    flex: 1 1 calc(20% - 20px);
    /* five cards in a row */
    background: linear-gradient(135deg, #2e3192, #d2f704);
    color: #fff;
    padding: 20px 15px;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.tmt-card h3 {
    font-size: 1.2rem;
    margin: 15px 0 10px;
    font-weight: 700;
}

.tmt-card p {
    font-size: 1rem;
    line-height: 1.6;
}

/* Icons */
.tmt-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #fff;
}

/* Fade-in Animation (reuse) */
.tmt-fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: tmt-fadeUp 1s forwards;
}

.tmt-delay-1 {
    animation-delay: 0.3s;
}

.tmt-delay-2 {
    animation-delay: 0.5s;
}

.tmt-delay-3 {
    animation-delay: 0.7s;
}

.tmt-delay-4 {
    animation-delay: 0.9s;
}

.tmt-delay-5 {
    animation-delay: 1.1s;
}

.tmt-delay-6 {
    animation-delay: 1.3s;
}

.tmt-delay-7 {
    animation-delay: 1.5s;
}

@keyframes tmt-fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .tmt-card {
        flex: 1 1 48%;
    }
}

@media (max-width: 600px) {
    .tmt-card {
        flex: 1 1 100%;
    }
}


/* =========================
   TMT 550+ Section Styles
   ========================= */
/* Section */
.tmt-550plus-section {
    padding: 60px 20px;
    background: #f9f9fc;
}

.tmt-550plus-title span {
    color: #ee1d24;
    /* red */
}

.tmt-550plus-title {
    font-size: 2rem;
    text-align: center;
    font-weight: 800;
    color: #2e3192;
    margin-bottom: 15px;
}

.tmt-550plus-intro {
    text-align: center;
    font-size: 1rem;
    margin-bottom: 40px;
    color: #444;
}

/* Cards layout */
.tmt-550plus-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.tmt-550plus-card {
    flex: 1 1 calc(20% - 20px);
    background: #fff;
    border-radius: 14px;
    padding: 25px 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s forwards;
}

.tmt-550plus-card:nth-child(1) {
    animation-delay: 0.2s;
}

.tmt-550plus-card:nth-child(2) {
    animation-delay: 0.4s;
}

.tmt-550plus-card:nth-child(3) {
    animation-delay: 0.6s;
}

.tmt-550plus-card:nth-child(4) {
    animation-delay: 0.8s;
}

.tmt-550plus-card:nth-child(5) {
    animation-delay: 1s;
}

/* Hover effect */
.tmt-550plus-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.tmt-550plus-card:hover .tmt-550plus-icon {
    color: #ee1d24;
    transform: scale(1.2);
}

.tmt-550plus-card h3 {
    font-size: 1.1rem;
    margin: 12px 0;
    font-weight: 700;
    color: #2e3192;
}

.tmt-550plus-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #555;
}

.tmt-550plus-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #2e3192;
    transition: color 0.3s ease, transform 0.3s ease;
}

/* Animation */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .tmt-550plus-card {
        flex: 1 1 45%;
    }
}

@media (max-width: 600px) {
    .tmt-550plus-card {
        flex: 1 1 100%;
    }

    .tmt-550plus-title {
        font-size: 1.5rem;
    }
}




/* Magadh TMT Trust Section */
.tmt-trust-section {
    padding: 0px 20px;
    background: #f9f9fc;
}

.tmt-trust-container {
    max-width: 1200px;
    margin: auto;
}

/* Rows */
.tmt-trust-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

/* Row 2 reverse */
.tmt-trust-row.reverse {
    flex-direction: row-reverse;
}

/* Text Content */
.tmt-trust-text {
    flex: 1;
}

.tmt-trust-text h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #2e3192;
    margin-bottom: 20px;
}

.tmt-trust-text h2 span {
    color: #ee1d24;
}

.tmt-trust-text h3 {
    font-size: 1.3rem;
    color: #2e3192;
    margin: 15px 0 10px;
}

.tmt-trust-text p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 15px;
    color: #444;
    text-align: justify;
}

.tmt-trust-text ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.tmt-trust-text ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    font-size: 1rem;
    color: #333;
}

.tmt-trust-text ul li::before {
    content: "✔";
    color: #ee1d24;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Images */
.tmt-trust-image {
    flex: 1;
    text-align: center;
}

.tmt-trust-image img {
    max-width: 100%;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
}

.tmt-trust-image img:hover {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 992px) {

    .tmt-trust-row,
    .tmt-trust-row.reverse {
        flex-direction: column;
        text-align: center;
    }

    .tmt-trust-text {
        text-align: center;
    }

    .tmt-trust-text p {
        text-align: center;
    }

    .tmt-trust-text ul {
        text-align: left;
        display: inline-block;
        margin: 15px auto;
    }
}


/* FAQ Section */
.tmt-faq-section {
    padding: 60px 20px;
    background: #f9f9fc;
}

.tmt-faq-container {
    max-width: 900px;
    margin: auto;
}

.tmt-faq-container h2 {
    font-size: 2rem;
    color: #ee1d24;
    font-weight: 800;
    margin-bottom: 40px;
    text-align: center;
}

.tmt-faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.tmt-faq-question {
    width: 100%;
    padding: 18px 20px;
    text-align: left;
    background: #2e3192;
    color: #fff;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background 0.3s ease;
}

.tmt-faq-question:hover {
    background: #ee1d24;
}

.tmt-faq-question.active {
    background: #ee1d24;
}

.tmt-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: #fff;
    padding: 0 20px;
}

.tmt-faq-answer p {
    margin: 15px 0;
    line-height: 1.7;
    color: #444;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
    .tmt-faq-question {
        font-size: 0.95rem;
        padding: 15px 18px;
    }

    .tmt-faq-answer p {
        font-size: 0.9rem;
    }
}


/* ===== Pop Image Overlay (first layer) ===== */
.popup-overlay {
    position: fixed;
    inset: 0;
    /* top:0; right:0; bottom:0; left:0 */
    display: none;
    /* shown by JS on load */
    justify-content: center;
    align-items: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.55);
    /* subtle dark shadow so home remains visible */
    backdrop-filter: blur(2px);
    /* soft blur behind */
    z-index: 2147483647;
    /* sit on top of everything */
}

/* The image + caption container */
.popup-card {
    position: relative;
    margin: 0;
    max-width: min(92vw, 1200px);
}

/* The image itself */
.popup-img {
    display: block;
    max-width: 92vw;
    max-height: 78vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

/* Caption overlay (only text shown, no extra chrome) */
.popup-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 14px;
    color: #fff;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 85%);
    border-radius: 0 0 12px 12px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

/* Close (X) button */
.popup-close {
    position: fixed;
    top: clamp(8px, 2vh, 24px);
    right: clamp(8px, 2vh, 24px);
    width: 42px;
    height: 42px;
    line-height: 42px;
    border: none;
    border-radius: 999px;
    color: #fff;
    background: rgba(0, 0, 0, 0.6);
    font-size: clamp(20px, 2.4vw, 30px);
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

/* Mobile tweaks */
@media (max-width: 768px) {
    .popup-img {
        max-width: 95vw;
        max-height: 70vh;
        border-radius: 10px;
    }

    .popup-caption {
        font-size: 14px;
        padding: 8px 12px;
        border-radius: 0 0 10px 10px;
    }

    .popup-close {
        width: 36px;
        height: 36px;
        line-height: 36px;
    }
}



/* Full Width Manufacturing Steps */
.manufacturing-steps {
    width: 100%;
    background: linear-gradient(135deg, #f9f9fc, #f1f1f9);
    padding: 80px 5%;
    position: relative;
    overflow: hidden;
}

/* Container inside section to align content */
.manufacturing-steps .container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

/* Step Row */
.step-row {
    display: flex;
    gap: 40px;
    align-items: center;
    border-radius: 16px;
    padding: 30px;
    background: #fff;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.step-row.reverse {
    flex-direction: row-reverse;
}

.step-row:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* Step Text */
.step-text {
    flex: 1;
}

.step-text h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2e3192;
    margin-bottom: 15px;
    position: relative;
}

.step-text h2 span {
    color: #ee1d24;
    font-weight: 800;
}

/* Step Number Circle */
.step-text h2::before {
    content: counter(step);
    counter-increment: step;
    position: absolute;
    left: -70px;
    top: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ee1d24, #2e3192);
    color: #fff;
    font-weight: bold;
    font-size: 1.3rem;
    border-radius: 50%;
    text-align: center;
    line-height: 60px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Reset counter for steps */
.manufacturing-steps {
    counter-reset: step;
}

/* Step Image */
.step-image {
    flex: 1;
    text-align: center;
    overflow: hidden;
    border-radius: 16px;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.step-image img {
    width: 100%;
    border-radius: 16px;
    transition: transform 0.5s ease;
}

.step-image:hover img {
    transform: scale(1.05);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

/* Alternate Background for Steps */
.step-row:nth-child(even) {
    background: #f5f7fa;
}

/* Highlight Last Step */
.step-row:last-child {
    border: 2px solid #ee1d24;
    box-shadow: 0 0 20px rgba(238, 29, 36, 0.25);
}

/* Fade-in on scroll */
.step-row {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.step-row.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive for Mobile */
@media (max-width: 992px) {

    .step-row,
    .step-row.reverse {
        flex-direction: column;
        text-align: center;
    }

    .step-text h2::before {
        left: 50%;
        top: -70px;
        transform: translateX(-50%);
    }

    .step-text {
        margin-bottom: 20px;
    }
}

.tmt-hero {
    position: relative;
    width: 100%;
    height: 450px;
    /* adjust height as needed */
    overflow: hidden;
}

.tmt-hero picture,
.tmt-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* ensures full coverage without stretching */
    display: block;
}

.tmt-hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    max-width: 90%;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.5);
}

.tmt-hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
}

.tmt-hero-content h1 span {
    color: #ee1d24;
}

.tmt-hero-content p {
    font-size: 1.2rem;
    margin-top: 15px;
}

.step-text p {
    text-align: justify;

}


/* Responsive for Mobile */
@media (max-width: 768px) {
    .tmt-hero {
        height: 300px;
    }

    .tmt-hero-content h1 {
        font-size: 1.8rem;
    }

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

.step-text h2 span {
    color: #ee1d24;
    /* red color to match your theme */
}





