/*
Theme Name: Siddharth Infra Theme
Description: Customized theme for Siddharth Infra with #E53935 primary color and Inter font.
Version: 1.0
Author: WP Dev
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #E53935;
    --text-dark: #121212;
    --text-light: #555555;
    --bg-light: #f9f9f9;
    --bg-dark: #111115;
    --white: #ffffff;
    --border-color: #eeeeee;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

@keyframes growWidth20 {
    from {
        width: 0;
    }

    to {
        width: 20px;
    }
}

@keyframes growWidth30 {
    from {
        width: 0;
    }

    to {
        width: 30px;
    }
}

@keyframes scaleXIn {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}


/* SECTION HEADINGS */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-subtitle {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    font-weight: 800;
    /* Extra Bold Inter */
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 8px;
    text-transform: uppercase;
}

.section-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    transform-origin: left;
    transform: scaleX(0);
    animation: scaleXIn 1s ease-out forwards;
}



.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
}

.section-title p {
    color: var(--text-light);
    max-width: 850px;
    margin: 15px auto 0;
    font-size: 14px;
    line-height: 1.7;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary);
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid var(--primary);
}

.btn:hover {
    background-color: transparent;
    color: var(--primary);
}

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

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

/* HEADER */
.top-header {
    background: var(--white);
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.close-menu {
    display: none;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
}

.logo span {
    color: var(--primary);
    margin-left: 5px;
}

.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-dark);
}

.mobile-menu-header {
    display: none;
}

.mobile-menu-close {
    display: none;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    position: relative;
    padding: 5px 0;
    will-change: color;
    /* Performance optimization */
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease-in-out;
}

.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn).active::after,
.nav-links .current-menu-item>a::after,
.nav-links .current_page_item>a::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active,
.nav-links .current-menu-item>a,
.nav-links .current_page_item>a {
    color: var(--primary);
}

.nav-links a.btn {
    margin-left: 60px;
    width: 145px;
    height: 38px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: var(--white);
    background-color: var(--primary);
    text-align: center;
    box-shadow: 0 4px 12px rgba(229, 57, 53, 0.2);
    transition: all 0.3s ease;
    border: none;
}

.nav-links a.btn:hover {
    background-color: #d32f2f;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(229, 57, 53, 0.3);
}

.nav-links a.btn::after {
    display: none;
}

/* HERO SECTION */
.hero {
    position: relative;
    height: 600px;
    background-color: #f4f4f4; /* Light base instead of dark to avoid 'blackish' flash */
    background-image: url('images/hero-bg.png');
    /* Expected user background path */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    transition: none !important; /* Disable transition to prevent 'flicker' or 'fade' effect on load */
}

/* Page Hero used in subpages */
.page-hero, .events-hero {
    background-color: #f4f4f4;
    background-image: url('images/hero-bg.png');
    background-size: cover;
    background-position: center;
    position: relative;
    transition: none !important;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: left;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4); /* Shadow to keep text legible on bright images */
}

.hero-content h1 span {
    color: var(--primary);
    display: block;
}

.hero-content p {
    color: #e0e0e0;
    font-size: 16px;
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* RELIABLE SOLUTIONS */
.solutions {
    padding: 80px 0;
    background: var(--bg-light);
}

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

.solution-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    /* Changed from visible to hidden for image zoom, but need to handle icon-box */
    border-radius: 4px;
    position: relative;
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.solution-img {
    height: 250px;
    position: relative;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    /* Added to clip the img */
}

.solution-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.solution-card:hover .solution-img img {
    transform: scale(1.1);
}

.solution-card:hover .solution-img {
    filter: brightness(1.1);
}

.solution-img .icon-box {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 5;
    transition: 0.3s;
}

.solution-card:hover .icon-box {
    width: 60px;
    height: 60px;
    font-size: 24px;
}

.solution-info {
    padding: 25px 20px;
    background: var(--white);
    transition: 0.3s;
}

.solution-info h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1a1a1a;
    line-height: 1.3;
    transition: color 0.3s;
}

.solution-card:hover h3 {
    color: var(--primary);
}

.solution-info p {
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}


.indicator {
    display: flex;
    gap: 5px;
    transition: 0.3s;
}

.indicator span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    transition: 0.3s;
}

.solution-card:hover .indicator span {
    width: 40px;
}

.indicator::after {
    content: '';
    width: 15px;
    height: 3px;
    background: #e0e0e0;
    box-shadow: 20px 0 0 #e0e0e0;
    transition: 0.3s;
}

.solution-card:hover .indicator::after {
    opacity: 0.5;
}




/* ABOUT SECTION */
.about {
    padding: 80px 0;
}

.about-wrapper {
    display: flex;
    gap: 60px;
    align-items: center;
}

.about-img-wrap {
    flex: 1;
    position: relative;
}

.about-img {
    width: 100%;
    height: 500px;
    display: block;
    border-radius: 4px;
    background-size: cover;
    background-position: center;
}

.years-exp {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary);
    color: white;
    padding: 30px;
    text-align: center;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(229, 57, 53, 0.3);
}

.years-exp h4 {
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
}

.years-exp p {
    font-size: 12px;
    font-weight: 600;
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-size: 36px;
    font-weight: 800;
    margin: 10px 0 20px;
    color: var(--text-dark);
}

.about-content p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.about-subtitle {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.about-subtitle::after {
    display: none;
}

.about-list-new {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.about-list-new li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 16px;
    color: #374151;
}

.about-list-new li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background-color: var(--primary);
    border-radius: 50%;
}

.about-quote {
    border-left: 4px solid var(--primary);
    padding: 10px 0 10px 25px;
    margin-top: 35px;
}

.about-quote p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    line-height: 1.5;
    font-style: normal;
    margin-bottom: 0;
}

.years-exp {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background: var(--primary);
    color: white;
    padding: 30px 25px;
    text-align: center;
    min-width: 160px;
    box-shadow: 0 15px 35px rgba(229, 57, 53, 0.4);
}

.years-exp h4 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 10px;
}

.years-exp p {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
}

/* STATS BAR */
.stats {
    background: var(--primary);
    padding: 40px 0;
    color: white;
}

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

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

.stat-item p {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* VISION MISSION */
.vision-mission {
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
}

.vm-flex {
    display: flex;
    gap: 40px;
}

.vm-item {
    flex: 1;
    background: var(--bg-light);
    padding: 30px;
    border-top: 3px solid var(--primary);
}

.vm-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.vm-item h3 i {
    color: var(--primary);
}

.vm-item p {
    color: var(--text-light);
    font-size: 14px;
}

/* AREA OF OP */
.operations {
    padding: 80px 0;
}

.op-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.op-card {
    border: 1px solid var(--border-color);
    padding: 30px;
    text-align: left;
    transition: all 0.3s;
}

.op-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.op-card i {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 20px;
    display: block;
}

.op-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 700;
}

.op-card p {
    font-size: 14px;
    color: var(--text-light);
}

/* WHY US */
.why-us {
    background: var(--bg-dark);
    color: white;
    padding: 80px 0;
}

.why-us .section-subtitle {
    display: none;
}

.why-us .section-title h2 {
    color: white;
}

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

.why-card {
    background: #1c1c23;
    padding: 30px 20px;
    border-bottom: 3px solid transparent;
    transition: 0.3s;
}

.why-card:hover {
    border-color: var(--primary);
}

.why-card .icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 4px;
}

.why-card h4 {
    font-size: 16px;
    margin-bottom: 10px;
}

.why-card p {
    font-size: 13px;
    color: #999;
}

/* WHY CHOOSE (About) */
.why-choose {
    background: #f8fafc;
    padding: 80px 0;
}

.why-choose-header {
    text-align: center;
    margin-bottom: 40px;
}

.why-choose-header .section-subtitle {
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 0.12em;
    font-size: 12px;
}

.why-choose-header h2 {
    font-size: 26px;
    font-weight: 800;
    margin: 10px 0 8px;
    color: #0f172a;
}

.why-choose-header p {
    color: #64748b;
    max-width: 760px;
    margin: 0 auto;
    font-size: 14px;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.why-choose-card {
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.why-choose-card h4 {
    font-size: 14px;
    font-weight: 700;
    margin: 10px 0 8px;
    color: #0f172a;
}

.why-choose-card p {
    font-size: 12px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

.why-choose-card .why-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(227, 30, 36, 0.1);
    color: var(--primary);
    font-size: 16px;
}

/* PROJECTS (EXCELLENCE) */
.projects {
    padding: 80px 0;
}

.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.projects-header .section-title {
    text-align: left;
    margin-bottom: 0;
}

.proj-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.proj-card {
    position: relative;
    width: 100%;
    max-width: 592px;
    aspect-ratio: 592/370;
    border-radius: 23px;
    overflow: hidden;
    background: #333;
}

.proj-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.proj-info h4 {
    font-size: 20px;
    font-weight: 700;
    position: relative;
    padding-bottom: 8px;
    display: inline-block;
}

.proj-info h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    transform-origin: left;
    transform: scaleX(0);
    animation: scaleXIn 1.2s ease-out forwards;
}

.proj-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: white;
}

.proj-info h4 {
    font-size: 20px;
    font-weight: 700;
}

/* CLIENTS TICKER */
.clients {
    padding: 100px 0;
    /* More breathing room */
    background: linear-gradient(135deg, #fdfdfd 0%, #f4f4f4 100%);
    /* Subtle premium gradient */
    text-align: center;
    overflow: hidden;
    position: relative;
}

.clients h4 {
    font-size: 14px;
    font-weight: 800;
    color: #6B7280;
    /* Updated to requested gray color */
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

.clients h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    transform-origin: left;
    transform: scaleX(0);
    animation: scaleXIn 1.2s ease-out forwards;
    /* Animated left-to-right */
}

/* Ticker wrapper: clips overflow */
.ticker-wrap {
    overflow: hidden;
    position: relative;
    width: 100%;
    margin-bottom: 30px;
    padding: 10px 0;
}

/* Superior Fade edges */
.ticker-wrap::before,
.ticker-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    width: 250px;
    /* Wider fade for more depth */
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.ticker-wrap::before {
    left: 0;
    background: linear-gradient(to right, #f4f4f4 0%, transparent 100%);
}

.ticker-wrap::after {
    right: 0;
    background: linear-gradient(to left, #f4f4f4 0%, transparent 100%);
}

/* The moving strip */
.ticker-track {
    display: flex;
    width: max-content;
    align-items: center;
}

/* Row 1: scroll left */
.ticker-track.row1 {
    animation: tickerLeft 20s linear infinite;
    /* Faster speed */
}

/* Row 2: scroll right */
.ticker-track.row2 {
    animation: tickerRight 24s linear infinite;
    /* Faster speed */
}

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

/* Premium Client Card */
.ticker-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px 35px;
    margin: 0 20px;
    background: #ffffff;
    border: 1.5px solid rgba(0, 0, 0, 0.08);
    /* Sophisticated minimalist border */
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.ticker-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, transparent 100%);
    opacity: 0;
    transition: 0.5s;
    z-index: 1;
}

.ticker-item:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.2);
    /* Darker on hover */
}

.ticker-item:hover::before {
    opacity: 0.03;
    /* Very subtle theme color tint on hover */
}

.ticker-item i {
    color: var(--primary);
    font-size: 16px;
    display: none;
    /* Hide icons in favor of images */
}

.ticker-item img {
    height: 52px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    filter: none;
    /* Removed filters for full clarity */
    transition: all 0.5s ease;
    z-index: 2;
    position: relative;
}

.ticker-item:hover img {
    filter: brightness(1) contrast(1.2);
    /* Enhanced pop on hover */
    transform: scale(1.05);
}

@keyframes tickerLeft {
    0% {
        transform: translateX(0);
    }

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

@keyframes tickerRight {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

/* RECOGNITION SECTION */
.certifications {
    padding: 100px 0;
    background: #fff;
}

.recognition-subtitle::after {
    display: none !important;
}

.recognition-subtitle {
    color: #e31e24 !important;
    font-weight: 700;
}

.cert-grid {
    display: grid;
    grid-template-columns: 1.2fr 2.8fr;
    gap: 60px;
    align-items: center;
}

.cert-left h2 {
    font-size: 38px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 20px;
}

.cert-left p {
    color: #64748b;
    font-size: 16px;
    line-height: 1.6;
    max-width: 380px;
}

.cert-boxes {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.cert-box {
    background: #fff;
    border: 1px solid #f1f5f9;
    padding: 20px;
    width: 248px;
    height: 192px;
    flex: 0 0 248px;
    text-align: center;
    border-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cert-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.cert-icon-wrap {
    font-size: 38px;
    color: #e31e24;
    /* Explicit matching red */
    margin-bottom: 15px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-icon-wrap img {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.cert-box h4 {
    font-size: 18px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.cert-box p {
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
    line-height: 1.3;
    text-transform: uppercase;
    margin: 0;
}

.cert-box.award {
    background: #e31e24;
    /* Explicit matching red */
    border-color: #e31e24;
    box-shadow: 0 15px 30px -5px rgba(227, 30, 36, 0.3);
}

.cert-box.award .cert-icon-wrap,
.cert-box.award h4,
.cert-box.award p {
    color: #fff;
}

.cert-box.award p {
    opacity: 0.95;
}

/* EVENTS & AWARDS PAGE */
.events-hero {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    background-image: url('images/hero-bg.png');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.events-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: transparent; /* Removed dark overlay as requested */
}

.events-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.events-hero-content h1 {
    font-size: 56px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 20px;
}

.events-hero-content h1 span {
    color: var(--primary);
    display: inline-block; /* Make it side-by-side on desktop */
}

.events-hero-content p {
    color: #cbd5e1;
    font-size: 16px;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .events-hero-content {
        text-align: left;
    }
    .events-hero-content h1 span {
        display: block; /* Break to new line on mobile */
    }
    .events-hero-content p {
        margin: 0;
    }
}

.awards-section {
    padding: 90px 0;
    background: #fff;
}

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

.award-card {
    background: var(--white);
    border: 1px solid #f1f1f1;
    border-left: 4px solid var(--primary);
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.award-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.award-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(229, 57, 53, 0.12);
    color: var(--primary);
    font-size: 20px;
    margin-bottom: 16px;
}

.award-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.award-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

.quality-section {
    padding: 100px 0;
    background: #111216; /* Dark background matching screenshot better */
    color: var(--white);
}

.quality-section .section-title {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.quality-section .section-title h2 {
    color: var(--white);
    font-size: 36px;
    margin-bottom: 15px;
}

.quality-section .section-title p {
    color: #9ca3af;
    font-size: 16px;
    line-height: 1.6;
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns as per screenshot */
    gap: 24px;
}

.quality-card {
    background: #1f2125; /* Sleek dark card background */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quality-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.1);
}

.quality-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e31e24; /* Solid red */
    color: #ffffff;
    font-size: 24px;
    box-shadow: 0 0 20px rgba(227, 30, 36, 0.6); /* Red glow */
}

.quality-card h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
}

.quality-card p {
    font-size: 14px;
    color: #9ca3af;
    font-weight: 400;
}

.events-stats {
    padding: 32px 0;
}

.events-stats .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.events-stats .stat-item i {
    font-size: 20px;
    margin-bottom: 2px;
}

/* SERVICES HERO CONTENT */
.services-hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.services-hero-content h1 {
    font-size: clamp(3rem, 8vw, 64px);
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 15px;
    line-height: 1.1;
    white-space: nowrap;
}

.services-hero-content h1 span {
    color: var(--primary);
    display: inline-block;
}

.services-hero-content p {
    font-size: 18px;
    color: #cbd5e1;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
    white-space: normal;
}

@media (max-width: 768px) {
    .services-hero-content {
        text-align: left;
    }
    .services-hero-content h1 {
        white-space: normal;
    }
    .services-hero-content h1 span {
        display: block;
    }
    .services-hero-content p {
        margin: 0;
    }
}

/* FOOTER */
footer {
    background: #020617;
    color: white;
    padding: 40px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1.8fr; /* Adjusted for better spacing */
    gap: 40px;
    margin-bottom: 60px;
}

.footer-about p {
    color: #888;
    font-size: 14px;
    margin-top: 20px;
}

.footer-col h4 {
    font-size: 16px;
    margin-bottom: 20px;
    border-left: 3px solid var(--primary);
    padding-left: 10px;
    display: block; /* So it spans as expected, though inline-block with no ::after is fine too */
    font-weight: 700;
}


.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #888;
    font-size: 14px;
    position: relative;
    padding-bottom: 2px;
    display: inline-block;
}

.footer-col ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.footer-col ul li a:hover::after {
    width: 100%;
}

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

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    color: #666;
    font-size: 12px;
}

/* RESPONSIVE STYLES */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 46px;
    }

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

    .about-wrapper {
        flex-direction: column;
    }

    .about-img {
        height: 350px;
    }

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

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

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 40px;
    }

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

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

    .cert-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .section-title {
        text-align: left;
    }

    .section-subtitle {
        justify-content: flex-start;
    }

    .recognition-subtitle::after {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: left;
    }

    .footer-col {
        text-align: left;
    }

    .footer-col h4::after {
        left: 0;
    }

    .footer-bottom {
        text-align: left;
    }
}

@media (max-width: 768px) {
    body.menu-open {
        overflow: hidden;
    }

    body.menu-open .hamburger {
        opacity: 0;
        pointer-events: none;
    }

    .hamburger {
        display: block;
        z-index: 1002;
    }

    .top-header .container {
        flex-direction: row;
        justify-content: space-between;
        position: relative;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        width: 100vw;
        height: 100vh;
        position: fixed;
        top: 0;
        right: 0;
        background: var(--white);
        padding: 0 24px 24px;
        box-shadow: -8px 0 30px rgba(0, 0, 0, 0.08);
        gap: 14px;
        align-items: flex-start;
        z-index: 1001;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.3s ease, opacity 0.2s ease, visibility 0.2s ease;
    }

    .nav-links.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .events-hero {
        padding: 60px 0;
    }

    .awards-grid,
    .quality-grid {
        grid-template-columns: 1fr;
    }

    .mobile-menu-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 16px 4px 12px;
        border-bottom: 1px solid var(--border-color);
        position: sticky;
        top: 0;
        background: var(--white);
        z-index: 2;
    }

    .mobile-menu-brand {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        text-decoration: none;
        color: var(--text-dark);
        font-weight: 800;
        font-size: 16px;
    }

    .mobile-menu-brand img {
        height: 40px;
        width: auto;
        display: block;
    }

    .mobile-menu-close {
        display: inline-flex;
        width: 40px;
        height: 40px;
        border: none;
        background: transparent;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        position: relative;
    }

    .mobile-menu-close span {
        position: absolute;
        width: 20px;
        height: 2px;
        background: var(--text-dark);
        border-radius: 2px;
    }

    .mobile-menu-close span:nth-child(1) {
        transform: rotate(45deg);
    }

    .mobile-menu-close span:nth-child(2) {
        transform: rotate(-45deg);
    }

    .nav-links a {
        font-size: 14px;
        font-weight: 700;
        text-transform: uppercase;
        color: #1F2937;
        width: 100%;
        padding: 12px 4px;
        border: none;
        text-align: left;
        display: block;
    }

    .nav-links a.btn {
        margin-top: 10px;
        width: 100%;
        text-align: center;
        margin-left: 0;
    }


    .nav-links a.active::after,
    .nav-links a:hover::after {
        display: none !important;
    }

    section {
        padding: 50px 0 !important;
    }

    .about-img-wrap {
        width: 100%;
        margin-bottom: 70px;
    }

    .about-img {
        height: 320px;
    }

    .years-exp {
        padding: 20px;
        min-width: 130px;
        bottom: -10px;
        right: -10px;
    }

    .years-exp h4 {
        font-size: 30px;
    }

    .years-exp p {
        font-size: 11px;
    }

    .hero {
        height: auto;
        padding: 120px 0;
    }

    .hero-content h1 {
        font-size: 34px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

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

    .stats-grid,
    .quality-grid {
        grid-template-columns: 1fr;
    }

    .vm-flex {
        flex-direction: column;
    }

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

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

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

    .projects-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .cert-boxes {
        flex-direction: column;
    }

    .certifications {
        padding: 60px 0;
    }

    .cert-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cert-left {
        text-align: center;
    }

    .cert-left h2 {
        font-size: 28px;
    }

    .cert-left p {
        max-width: none;
        font-size: 15px;
    }

    .cert-box {
        width: 100%;
        max-width: 320px;
        flex: 1 1 100%;
        height: auto;
        padding: 18px;
        align-self: center;
    }

    .cert-box h4 {
        font-size: 16px;
    }

    .cert-box p {
        font-size: 10px;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .footer-col h4::after {
        left: 0;
        transform: none;
    }

    .footer-col ul li a {
        position: relative;
        padding-bottom: 2px;
        display: inline-block;
    }

    .footer-col ul li a::after {
        content: '';
        position: absolute;
        width: 0;
        height: 1px;
        bottom: 0;
        left: 0;
        background-color: var(--primary);
        transition: width 0.3s ease;
    }

    .footer-col ul li a:hover::after {
        width: 100%;
    }

    /* Client Ticker Mobile Optimizations */
    .clients {
        padding: 60px 0 !important;
    }

    .ticker-wrap::before,
    .ticker-wrap::after {
        width: 60px;
        /* Reduced for mobile visibility */
    }

    .ticker-item {
        padding: 10px 20px;
        margin: 0 10px;
        border-radius: 12px;
        border: 1px solid rgba(0, 0, 0, 0.05);
        /* Minimalist border on mobile */
    }

    .ticker-item img {
        height: 35px;
        /* Smaller logos for mobile */
        max-width: 100px;
    }

    .ticker-track.row1 {
        animation-duration: 15s;
        /* Slightly faster for small screens */
    }

    .ticker-track.row2 {
        animation-duration: 18s;
    }
}

/* CONTACT PAGE STYLES */
.contact-hero {
    height: 350px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content-simple h1 {
    font-size: 56px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 10px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.hero-content-simple h1 span {
    color: var(--primary);
}

.hero-content-simple p {
    color: #cbd5e1;
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

.contact-layout-section {
    padding: 100px 0;
    background-color: #fdfdfd;
}

.contact-grid-container {
    display: flex;
    gap: 70px;
    align-items: flex-start;
}

.contact-info-column {
    flex: 1;
}

.contact-heading {
    font-size: 38px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 15px;
    line-height: 1.2;
}

.contact-subtext {
    color: #64748b;
    font-size: 16px;
    margin-bottom: 50px;
    max-width: 450px;
}

.contact-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-v3-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid #f1f5f9;
    display: flex;
    gap: 20px;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

.contact-v3-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px -5px rgba(229, 57, 53, 0.15);
    border-color: var(--primary);
}

.contact-v3-card:active {
    transform: translateX(10px) scale(0.98);
    border-color: var(--primary);
    background: #fffafa;
}

.v3-icon-box {
    width: 64px;
    height: 64px;
    background: #fdf2f2;
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
}

.v3-content h4 {
    font-size: 19px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px;
}

.v3-content p {
    color: #64748b;
    font-size: 14.5px;
    line-height: 1.5;
}

.contact-form-column {
    flex: 1.2;
}

.v3-form-wrapper {
    background: #ffffff;
    padding: 50px;
    border-radius: 24px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
}

.form-title {
    font-size: 32px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

.v3-actual-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.v3-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.v3-form-group.full-width {
    grid-column: span 2;
}

.v3-form-group label {
    font-size: 14px;
    font-weight: 700;
    color: #475569;
    padding-left: 2px;
}

.v3-form-group input,
.v3-form-group textarea {
    width: 100%;
    padding: 15px 18px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.v3-form-group input:focus,
.v3-form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(229, 57, 53, 0.1);
}

.v3-submit-btn {
    width: 100%;
    padding: 18px;
    border-radius: 12px;
    border: none;
    background: var(--primary);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(229, 57, 53, 0.25);
    margin-top: 10px;
}

.v3-submit-btn:hover {
    background: #d32f2f;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(229, 57, 53, 0.35);
}

.v3-submit-btn:active {
    transform: translateY(0);
}

@media (max-width: 991px) {
    .contact-grid-container {
        flex-direction: column;
        gap: 60px;
    }
    
    .contact-info-column, .contact-form-column {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .v3-actual-form {
        grid-template-columns: 1fr;
    }
    .v3-form-group {
        grid-column: span 1 !important;
    }
    .v3-form-wrapper {
        padding: 30px 20px;
    }
    .contact-heading {
        font-size: 30px;
    }
    .form-title {
        font-size: 26px;
    }
}