/* --- Variables & Reset --- */
:root {
    --primary-color: #D32F2F; /* Red from "28 Years" stamp */
    --secondary-color: #1976D2; /* Blue from Logo */
    --dark-color: #333;
    --light-color: #f4f4f4;
    --white: #ffffff;
    --text-color: #555;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-color);
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

.section-padding { padding: 60px 0; }
.bg-light { background-color: var(--light-color); }

.logo {
    display: flex;         
    align-items: center;    
    gap: 15px;   
}           

.logo-img {
    height: 50px;         
    width: auto;          
}

.logo-text h1 {
    margin: 0;
    line-height: 1.2;
    color: rgb(61, 61, 202);
    font-size: 30px; 
    font-weight: 800;
}

.logo-text p {
    margin: 2px 0 0; 
    font-size: 12px;
    color: red;
    font-weight: bold;
}

.nav-links {
    display: flex;         
    align-items: center;   
    gap: 25px;               
}

.btn-primary {
    display: inline-block;
    white-space: nowrap; 
    background-color: #D32F2F; 
    color: #ffffff !important; 
    border: gold 2px solid;             
    

    padding: 10px 25px;      
    border-radius: 5px;       
    
  
    font-weight: bold;
    text-decoration: none;     
    
    margin-left: 10px;
    transition: background 0.3s ease;
}

/* 3. Add a Hover Effect */
.btn-primary:hover {
    background-color: #b71c1c; /* Darker red when you hover */
    color: #ffffff;
    cursor: pointer;
}

/* --- Top Bar --- */
.top-bar {
    background-color: red;
    border: gold 1px solid;
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

.social-icons {
    margin-left: auto; 
    display: flex;
    gap: 15px; 
}

.top-bar .container {
    display: flex;
    align-items: center;
    width: 100%; 
}

header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between; /* Pushes Logo to left, Nav to right */
    align-items: center; /* Vertically centers everything */
    padding: 10px 20px;
    height: 80px; /* Enforces a fixed height for consistency */
}

.logo a {
    display: flex;
    align-items: center;
}

.logo img {
    height: 55px; /* Adjust this to fit your logo perfectly */
    width: auto;
}

nav {
    display: flex;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center; 
    gap: 30px; 
    margin: 0;
    padding: 0;
}

.nav-links li {
    display: flex; 
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #D32F2F;
}

.nav-links .btn-primary {
    background-color: #D32F2F;
    color: #ffffff !important; 
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 700;
    transition: transform 0.2s ease, background-color 0.3s;
    display: inline-block;
}

.nav-links .btn-primary:hover {
    background-color: #b71c1c;
    transform: translateY(-2px); 
    color: #ffffff;
}

.hamburger {
    display: none;
    font-size: 26px;
    cursor: pointer;
    color: #333;
}
@media (max-width: 768px) {
    .header-container {
        padding: 10px 15px;
        height: auto;
        min-height: 60px;    }

    .logo a {
        display: block;
        max-width: 65%;
    }

    .logo img {
        height: auto;
        width: 100%;
        max-height: 50px;
        object-fit: contain;
    }

    .logo-text h1 {
        font-size: 20px;
        margin-left: auto;
        line-height: 1.1;
    }
    .logo-text p {
        font-size: 10px;
    }   
    .hamburger {
        font-size: 24px;
        margin-left: 10px;
        flex-shrink: 0;
    }

    .hero-content {
        padding: 0 15px;
    }

    .main-headline {
        font-size: 28px !important;
        line-height: 1.3;
        margin-bottom: 15px;
    }

    .sub-headline {
        font-size: 14px !important;
        margin-bottom: 10px;
    }

    .hero-description {
        font-size: 14px !important;
        line-height: 1.5;
        margin-bottom: 25px;
    }

    .top-bar {
        font-size: 12px;
        padding: 5px 0;
    }

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

/* --- Hero Section --- */
/* --- Hero Section Styling --- */
.hero {
    position: relative;
    height: 100vh; /* Full viewport height */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #ffffff;
    text-align: center;
}

/* 1. Background Slider */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Lowest layer */
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0; 
    transition: opacity 1.5s ease-in-out, transform 3s linear;
    transform: scale(1.05); 
}

.slide.active {
    opacity: 1; /* Visible */
    transform: scale(1); /* Zoom out effect */
}

/* 2. Dark Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Darkens image by 60% so text pops */
    z-index: 2; 
}

.hero-content {
    position: relative;
    z-index: 3; /* Top layer */
    max-width: 900px;
    padding: 20px;
}

.sub-headline {
    color: #FFD700; 
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.main-headline {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-description {
    font-size: 18px;
    margin-bottom: 40px;
    line-height: 1.6;
    color: #e0e0e0;
}

.hero-btn {
    font-size: 18px;
    padding: 15px 35px;
    border-radius: 50px; /* Rounded pill shape */
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.4);
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.6);
}

@media (max-width: 768px) {
    .main-headline { font-size: 32px; }
    .sub-headline { font-size: 18px; }
    .hero-description { font-size: 16px; }
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.line {
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.feature-list { margin-top: 20px; }
.feature-list li { margin-bottom: 10px; }
.feature-list i { color: var(--primary-color); margin-right: 10px; }

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 Columns */
    gap: 20px;
    text-align: center;
    margin-top: 30px;
}

.stat-box {
    background: #D32F2F; 
    color: #ffffff;      
    padding: 20px;
    border-radius: 8px;
    border: gold 2px solid;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px); 
}

.stat-box h3 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 5px;
}

@media (max-width: 992px) {
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .about-stats {
        grid-template-columns: 1fr;
    }
}

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

/* --- Solutions Grid --- */
/* --- Solutions Section (Card Style) --- */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* Wider cards */
    gap: 30px;
    margin-top: 40px;
}

.solution-card {
    background: #ffffff;
    border-radius: 12px; 
    overflow: hidden; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-bottom: 4px solid transparent; 
    display: flex;
    flex-direction: column; 
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    border-bottom: 4px solid #D32F2F; /* Red bottom border on hover */
}

.card-image {
    width: 100%;
    height: 220px; /* Fixed height for uniformity */
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image fills box without stretching */
    transition: transform 0.5s ease;
}

.solution-card:hover .card-image img {
    transform: scale(1.1); /* Slight zoom on image when hovering */
}

.card-content {
    padding: 25px;
    text-align: center;
    flex-grow: 1; /* Pushes content to fill space */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #333;
}

.card-content p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* --- Brands --- */
.brand-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 40px;
    align-items: center;
    justify-items: center;
    margin-top: 40px;
}

.brand-item {
    width: 100%;
    max-width: 180px; 
    height: 100px;    /* Fixed height for uniformity */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
     border: 1px solid #eee; 
     border-radius: 8px; 
}

.brand-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Ensures logo fits without stretching */
    transition: all 0.3s ease;
}

.brand-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1); /* Slight zoom on hover */
}
/* --- Clients --- */

.clients-scroller {
    position: relative;
    width: 100%;
    overflow: hidden; 
    padding: 20px 0;
    background: #fff; 
}

.clients-track {
    display: flex;
    width: calc(250px * 22); 
    animation: scroll 40s linear infinite; /* Adjust '40s' to make it faster/slower */
}

.slide-logo {
    width: 250px; 
    padding: 0 30px; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-logo img {
    max-width: 100%;
    max-height: 80px; 
    object-fit: contain;
    opacity: 0.7;
    transition: 0.3s;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Move left by exactly half the track width (the length of Set 1) */
        transform: translateX(calc(-250px * 11)); 
    }
}

/* Mobile Adjustment */
@media (max-width: 768px) {
    .slide-logo {
        width: 150px;
        padding: 0 15px;
    }
    
    .clients-track {
        /* Recalculate width for mobile size */
        width: calc(150px * 22);
    }
    
    @keyframes scroll {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-150px * 11)); }
    }
}
/* --- Contact Footer Layout --- */
/* --- Contact Footer Layout --- */
#contact {
    background-color: #f8f9fa;
    padding-top: 60px;
    color: #333;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Splits Left and Right side 50/50 */
    gap: 60px;
    margin-bottom: 50px;
    align-items: start; /* Ensures both sides start at the top */
}

/* FIX: Force the left info box to stack items vertically */
.contact-info-box {
    display: flex;
    flex-direction: column; /* This forces Title -> Office -> Phone -> Email */
    justify-content: flex-start;
}

/* --- Left Side: Info Box Styling --- */
.section-title-left h2 {
    font-size: 36px;
    color: #222; 
    margin-bottom: 10px;
    font-weight: 700;
}

.line-left {
    width: 60px;
    height: 4px;
    background: #D32F2F;
    margin-bottom: 20px;
}

.contact-desc {
    color: #555;
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.5;
}

/* Info Items (Icons + Text) */
.info-item {
    display: flex;
    align-items: center; /* Aligns icon vertically with text */
    margin-bottom: 25px;
    width: 100%; /* Ensures it takes full width of the column */
}

.icon-circle {
    width: 45px;
    height: 45px;
    background-color: #ffebee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0; 
}

.icon-circle i {
    font-size: 18px;
    color: #D32F2F;
}

.info-text h4 {
    margin: 0 0 5px 0;
    font-size: 18px;
    color: #222;
    font-weight: 600;
}

.info-text p {
    margin: 0;
    font-size: 15px;
    color: #555;
    line-height: 1.5;
}

/* --- Right Side: Form Box Styling --- */
.contact-form-box {
    background: #ffffff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-top: 4px solid #D32F2F;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #444;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 10px;
    background: #fdfdfd;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    font-family: inherit;
}

.full-width-btn {
    width: 100%;
    margin-top: 10px;
    padding: 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.map-section {
    width: 100%;
    margin-bottom: -7px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr; /* Stack vertically on mobile */
        gap: 40px;
    }
}
footer {
    background: #222;
    color: #fff;
    padding-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a:hover { color: var(--primary-color); }

/* --- Footer Bottom Section --- */
.copyright-section {
    background-color: #1a1a1a; /* Slightly darker than main footer */
    padding: 20px 0;
    border-top: 1px solid #333;
}

.copyright-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.copyright-content p {
    margin: 0;
    font-size: 14px;
    color: #bbb;
}

.footer-socials {
    display: flex;
    gap: 20px;
}

.footer-socials a {
    color: #fff;
    font-size: 20px;
    background: #333;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s ease;
}

.footer-socials a:hover {
    background: var(--primary);
    transform: translateY(-3px); 
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0;
        top: 80px;
        background: var(--white);
        flex-direction: column;
        width: 100%;
        text-align: center;
        display: none;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }

    .nav-links.active { display: flex; }
    .nav-links a { margin: 15px 0; }
    .hamburger { display: block; }
    
    .about-grid { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 32px; }
}