/* ==========================================================================
   Base Styles & Variables
   ========================================================================== */
   :root {
    /* Brand Colors */
    --clr-red: #DA251D;
    --clr-red-dark: #b81f18;
    --clr-blue: #1E3F66;
    --clr-blue-dark: #142a44;
    --clr-light-blue: #00AEEF;
    
    /* Neutral Colors */
    --clr-dark: #111111;
    --clr-dark-light: #1a1a1a;
    --clr-light: #f8f9fa;
    --clr-white: #ffffff;
    --clr-gray: #6c757d;
    --clr-gray-light: #e9ecef;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout */
    --container-width: 1200px;
    --section-padding: 80px 0;
    
    /* Transitions & Shadows */
    --transition: all 0.3s ease;
    --shadow-sm: 0 5px 15px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.15);
    --shadow-red: 0 10px 20px rgba(218, 37, 29, 0.3);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* For fixed header */
}

body {
    font-family: var(--font-body);
    color: #333;
    line-height: 1.6;
    background-color: var(--clr-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--clr-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: var(--section-padding);
}

/* Typography Utilities */
.text-red { color: var(--clr-red); }
.text-blue { color: var(--clr-blue); }
.text-white { color: var(--clr-white); }
.text-dark { color: var(--clr-dark); }
.text-light { color: #aaaaaa; }

.bg-light { background-color: var(--clr-light); }
.bg-dark { background-color: var(--clr-dark); color: var(--clr-white); }

.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mb-5 { margin-bottom: 3rem; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

.section-subtitle {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--clr-red);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.title-underline {
    height: 4px;
    width: 60px;
    background: var(--clr-red);
    margin-bottom: 30px;
    position: relative;
    border-radius: 2px;
}

.title-underline::after {
    content: '';
    position: absolute;
    top: 0;
    left: 70px;
    height: 100%;
    width: 15px;
    background: var(--clr-red);
    border-radius: 2px;
}

.lead-text {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--clr-blue);
    margin-bottom: 20px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--clr-red);
    color: var(--clr-white);
    border: none;
    box-shadow: var(--shadow-red);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--clr-blue);
    transition: var(--transition);
    z-index: -1;
}

.btn-primary:hover {
    color: var(--clr-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover::before {
    left: 0;
}

.btn-outline {
    background-color: transparent;
    color: var(--clr-white);
    border: 2px solid var(--clr-white);
}

.btn-outline:hover {
    background-color: var(--clr-white);
    color: var(--clr-dark);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.brand-logo {
    height: 70px;
    width: auto;
    transform: scale(2.5);
    transform-origin: left center;
    transition: var(--transition);
}

.header.scrolled .brand-logo {
    height: 60px;
    transform: scale(2.2);
}

/* Fallback text logo */
.logo-kallatra { color: var(--clr-blue); font-family: var(--font-heading); font-size: 1.8rem; font-weight: 800; letter-spacing: -0.5px;}
.logo-steels { color: var(--clr-gray); margin-left: 6px; font-family: var(--font-heading); font-size: 1.8rem; font-weight: 800; letter-spacing: -0.5px;}

.nav-list {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: var(--clr-dark);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--clr-red);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-link.btn-nav {
    background: var(--clr-red);
    color: var(--clr-white);
    padding: 10px 24px;
    border-radius: 4px;
    box-shadow: var(--shadow-red);
}

.nav-link.btn-nav::after {
    display: none;
}

.nav-link.btn-nav:hover {
    background: var(--clr-blue);
    color: var(--clr-white);
    box-shadow: var(--shadow-sm);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--clr-dark);
    background: transparent;
    border: none;
    cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    animation: zoomInOut 20s infinite alternate;
}

@keyframes zoomInOut {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.15); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(30, 63, 102, 0.9) 0%, rgba(30, 63, 102, 0.6) 50%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding-top: 80px;
}

.hero-text {
    max-width: 800px;
    color: var(--clr-white);
}

.hero-subtitle {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-left: 3px solid var(--clr-red);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    text-transform: uppercase;
    color: var(--clr-white);
}

.hero-desc {
    font-size: 1.2rem;
    font-weight: 300;
    max-width: 600px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
}

.scroll-down a {
    color: var(--clr-white);
    font-size: 24px;
    opacity: 0.7;
}

.scroll-down a:hover {
    opacity: 1;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}

/* ==========================================================================
   Statistics Section
   ========================================================================== */
.statistics {
    background-color: var(--clr-red);
    padding: 40px 0;
    position: relative;
    z-index: 10;
    margin-top: -50px;
    box-shadow: var(--shadow-lg);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-card {
    color: var(--clr-white);
    padding: 20px;
    position: relative;
}

.stat-card:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20%;
    right: -15px;
    height: 60%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.3);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 5px;
    color: var(--clr-white);
}

.stat-text {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--clr-blue);
    z-index: -1;
}

.about-img {
    border-radius: 4px;
    box-shadow: var(--shadow-md);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--clr-red);
    color: var(--clr-white);
    padding: 30px 20px;
    text-align: center;
    border-radius: 4px;
    box-shadow: var(--shadow-lg);
}

.experience-badge i {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.experience-badge span {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.2;
}

.about-content p {
    margin-bottom: 15px;
    color: var(--clr-gray);
}

/* ==========================================================================
   Mission & Vision
   ========================================================================== */
.mission-vision {
    background-image: linear-gradient(135deg, var(--clr-dark) 0%, var(--clr-blue-dark) 100%);
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.mv-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 50px 40px;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.mv-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-lg);
}

.mv-icon {
    font-size: 3rem;
    color: var(--clr-red);
    margin-bottom: 20px;
}

.mv-subtitle {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--clr-light-blue);
    margin-bottom: 10px;
}

.mv-title {
    font-size: 2rem;
    color: var(--clr-white);
    margin-bottom: 20px;
}

.mv-card p {
    color: #ccc;
    font-size: 1.05rem;
}

/* ==========================================================================
   Why Choose Us
   ========================================================================== */
.section-desc {
    max-width: 700px;
    color: var(--clr-gray);
    font-size: 1.1rem;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.why-card {
    background: var(--clr-white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    border-bottom: 4px solid transparent;
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--clr-red);
}

.why-icon {
    width: 80px;
    height: 80px;
    background: rgba(218, 37, 29, 0.1);
    color: var(--clr-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.why-card:hover .why-icon {
    background: var(--clr-red);
    color: var(--clr-white);
}

.why-card h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.why-card p {
    color: var(--clr-gray);
    font-size: 0.95rem;
}

/* ==========================================================================
   Products / Roles Section
   ========================================================================== */
.product-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 50px;
}

.product-showcase.reverse {
    direction: rtl;
}

.product-showcase.reverse > * {
    direction: ltr;
}

.product-content h3 {
    font-size: 2rem;
    margin-bottom: 25px;
}

.icon-box {
    width: 60px;
    height: 60px;
    background: var(--clr-blue);
    color: var(--clr-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    border-radius: 4px;
    margin-bottom: 20px;
}

.product-showcase.reverse .icon-box {
    background: var(--clr-red);
}

.feature-list {
    display: grid;
    gap: 15px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-list i {
    margin-top: 5px;
    font-size: 1.1rem;
}

.feature-list strong {
    color: var(--clr-dark);
}

.feature-text {
    color: var(--clr-gray);
}

.product-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.product-image img {
    transition: var(--transition);
}

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

/* ==========================================================================
   Case Study
   ========================================================================== */
.case-study {
    background: var(--clr-blue);
    position: relative;
    overflow: hidden;
}

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

.case-image {
    position: relative;
}

.case-image img {
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.case-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--clr-red);
    padding: 20px 30px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow-lg);
}

.case-badge i {
    font-size: 2rem;
}

.case-badge span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
}

.case-content p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
}

/* ==========================================================================
   Team Section
   ========================================================================== */
.team {
    background: var(--clr-light);
}

.founders-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.team-card {
    background: var(--clr-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.team-img-wrapper {
    height: 250px;
    overflow: hidden;
    background: #e9ecef;
}

.img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: #ccc;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.team-card.founder .team-img-wrapper {
    height: 300px;
}

.team-info {
    padding: 25px 20px;
}

.team-info h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--clr-blue);
}

.team-info p {
    color: var(--clr-red);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.key-people-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

/* ==========================================================================
   Partners Section
   ========================================================================== */
.partners-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 30px 0;
    margin-top: 40px;
    background: var(--clr-white);
    border-top: 1px solid var(--clr-gray-light);
    border-bottom: 1px solid var(--clr-gray-light);
}

.partners-marquee::before,
.partners-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.partners-marquee::before {
    left: 0;
    background: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}

.partners-marquee::after {
    right: 0;
    background: linear-gradient(to left, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}

.partners-track {
    display: flex;
    width: max-content;
    animation: scrollMarquee 30s linear infinite;
    gap: 30px;
    padding-left: 30px;
}

.partners-track:hover {
    animation-play-state: paused;
}

@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 15px)); }
}

.partner-logo {
    width: 220px;
    flex-shrink: 0;
    background: var(--clr-white);
    border: 1px solid var(--clr-gray-light);
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--clr-gray);
    border-radius: 4px;
    transition: var(--transition);
    text-align: center;
    padding: 10px;
}

.partner-logo:hover {
    border-color: var(--clr-blue);
    color: var(--clr-blue);
    box-shadow: var(--shadow-sm);
    transform: scale(1.05);
}

/* ==========================================================================
   FAQ / Questions Section
   ========================================================================== */
.questions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.thank-you-card {
    background: var(--clr-white);
    padding: 50px 40px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.thank-you-card::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--clr-red);
    border-radius: 8px;
    z-index: -1;
}

.quote-icon {
    font-size: 3rem;
    opacity: 0.2;
    position: absolute;
    top: 20px;
    right: 30px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: var(--clr-dark-light);
    color: #ccc;
    padding-top: 80px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    margin-bottom: 30px;
    display: inline-block;
}

.footer-brand .brand-logo {
    height: 80px;
    transform: scale(1.8);
    transform-origin: left center;
}

.footer-desc {
    margin-bottom: 25px;
    max-width: 400px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--clr-white);
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--clr-red);
    transform: translateY(-3px);
}

.footer-links h4, .footer-contact h4 {
    color: var(--clr-white);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after, .footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--clr-red);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a:hover {
    color: var(--clr-red);
    padding-left: 5px;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-list i {
    color: var(--clr-red);
    margin-top: 5px;
}

.footer-bottom {
    background: var(--clr-dark);
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
    .stats-grid, .key-people-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 992px) {
    .about-grid, .mv-grid, .product-showcase, .case-grid, .questions-grid {
        grid-template-columns: 1fr;
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
    
    .experience-badge, .case-badge {
        position: relative;
        bottom: 0;
        right: 0;
        left: 0;
        margin-top: -30px;
        z-index: 2;
    }
}

@media (max-width: 768px) {
    .nav-list {
        display: none; /* Hide on mobile initially */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--clr-white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-md);
        gap: 15px;
    }
    
    .nav-list.active {
        display: flex;
    }
    
    .nav-link {
        color: var(--clr-dark);
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card:not(:last-child)::after {
        display: none;
    }
    
    .why-grid, .founders-grid, .key-people-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
}
