/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    --primary-blue: #0A369D;
    --primary-blue-rgb: 10, 54, 157;
    --secondary-blue: #072146;
    --accent-orange: #FF4B2B;
    --accent-red: #FF2B5C;
    --accent-yellow: #FFB300;
    --text-dark: #1E2229; /* Darker for better contrast */
    --text-light: #F4F7F6;
    --text-gray: #495057; /* Darker gray for high accessibility contrast */
    --bg-light: #F8FAFE;
    --bg-white: #FFFFFF;
    --font-headings: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(10, 54, 157, 0.08);
    --shadow-lg: 0 15px 40px rgba(0, 0, 0, 0.12);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --border-radius-sm: 6px;
    --border-radius-md: 12px;
    --border-radius-lg: 24px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    font-weight: 700;
    line-height: 1.25;
    color: var(--secondary-blue);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2; /* Placed content above watermark layers */
}

/* ==========================================================================
   REUSABLE UTILITIES & BUTTONS
   ========================================================================== */
.text-orange { color: var(--accent-orange); }
.text-blue { color: var(--primary-blue); }
.text-yellow { color: var(--accent-yellow); }
.text-white { color: var(--bg-white); }
.text-center { text-align: center; }

.bg-white { background-color: var(--bg-white) !important; }

.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mt-50 { margin-top: 50px; }
.w-100 { width: 100%; }
.margin-left-0 { margin-left: 0 !important; }

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-6 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.grid-2-1 {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

/* Achievements (1fr) & Process (2fr) Grid Layout */
.achievements-process-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.9fr;
    gap: 40px;
}

.align-center {
    align-items: center;
}

/* Sections */
section {
    padding: 90px 0;
    position: relative;
    overflow: hidden; /* Hide watermark overlaps */
}

.section-tag {
    font-family: var(--font-headings);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 12px;
    position: relative;
}

.section-title {
    font-size: 2.3rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--secondary-blue);
    letter-spacing: -0.5px;
}

.title-underline {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-orange));
    margin: 15px auto 0 auto;
    border-radius: 2px;
}

/* Outline Icons */
.outline-icon {
    width: 24px;
    height: 24px;
    stroke-width: 1.8;
}

.outline-icon-large {
    width: 32px;
    height: 32px;
    stroke-width: 1.8;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-headings);
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--border-radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-icon {
    margin-left: 8px;
    width: 16px;
    height: 16px;
    stroke-width: 2.5;
    transition: var(--transition-smooth);
}

.btn:hover .btn-icon {
    transform: translate(3px, -3px);
}

.btn-orange {
    background: linear-gradient(135deg, var(--accent-orange), #ff6b3d);
    color: var(--bg-white);
    box-shadow: 0 4px 15px rgba(255, 75, 43, 0.25);
}

.btn-orange:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 75, 43, 0.4);
}

.btn-blue {
    background: linear-gradient(135deg, var(--primary-blue), #1c5fd1);
    color: var(--bg-white);
    box-shadow: 0 4px 15px rgba(10, 54, 157, 0.25);
}

.btn-blue:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(10, 54, 157, 0.4);
}

.btn-orange-outline {
    background: transparent;
    border-color: var(--accent-orange);
    color: var(--accent-orange);
}

.btn-orange-outline:hover {
    background: var(--accent-orange);
    color: var(--bg-white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 75, 43, 0.2);
}

.btn-white-outline {
    background: transparent;
    border-color: var(--bg-white);
    color: var(--bg-white);
    border-width: 2px;
}

.btn-white-outline:hover {
    background: var(--bg-white);
    color: var(--primary-blue);
    transform: translateY(-3px);
}

.btn-header {
    padding: 10px 20px;
    font-size: 0.85rem;
}

/* ==========================================================================
   BRAND WATERMARK STYLES (INCREASED OPACITY & INVERTED COLORS)
   ========================================================================== */
.hero-section::before {
    content: '';
    position: absolute;
    top: 25%;
    left: -120px;
    width: 500px;
    height: 500px;
    background-image: url('../assets/logo-mark.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.08; /* Increased to 8% for visibility */
    pointer-events: none;
    z-index: 1;
    transform: rotate(-15deg);
}

.about-section::before {
    content: '';
    position: absolute;
    bottom: 5%;
    right: -100px;
    width: 450px;
    height: 450px;
    background-image: url('../assets/logo-mark.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.07; /* Increased to 7% for visibility */
    pointer-events: none;
    z-index: 1;
    transform: rotate(10deg);
}

.services-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(5deg);
    width: 650px;
    height: 650px;
    background-image: url('../assets/logo-mark.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.07; /* Increased to 7% for visibility */
    pointer-events: none;
    z-index: 1;
}

.why-us-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-10deg);
    width: 600px;
    height: 600px;
    background-image: url('../assets/logo-mark.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.05; /* Solid 5% opacity */
    filter: brightness(0) invert(1); /* Invert to pure white for perfect contrast on dark blue */
    pointer-events: none;
    z-index: 1;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 18px 0;
    transition: var(--transition-smooth);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.main-header.scrolled {
    padding: 12px 0;
    background: rgba(7, 33, 70, 0.98);
    box-shadow: var(--shadow-md);
}

.main-header.scrolled .nav-link {
    color: #FFFFFF;
}

.main-header.scrolled .nav-link:hover,
.main-header.scrolled .nav-link.active {
    color: var(--accent-orange);
}

.main-header.scrolled .hamburger-btn {
    color: #FFFFFF;
}

.main-header.scrolled .hamburger-btn:hover {
    color: var(--accent-orange);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 62px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--secondary-blue);
    position: relative;
    padding: 6px 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-orange);
    transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-icon {
    width: 12px;
    height: 12px;
    margin-left: 2px;
    vertical-align: middle;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -20px;
    background-color: var(--bg-white);
    min-width: 250px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius-sm);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition-smooth);
    border-top: 3px solid var(--accent-orange);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 0.85rem;
    color: var(--text-dark);
    font-weight: 600;
}

.dropdown-menu li a:hover {
    background-color: rgba(10, 54, 157, 0.05);
    color: var(--primary-blue);
    padding-left: 25px;
}

.hamburger-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--secondary-blue);
}

/* Mobile Nav Slideout */
.mobile-nav {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--secondary-blue);
    z-index: 999;
    padding: 40px;
    transition: var(--transition-smooth);
}

.mobile-nav.open {
    left: 0;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-link {
    font-family: var(--font-headings);
    color: var(--bg-white);
    font-size: 1.3rem;
    font-weight: 600;
}

.mobile-nav-link.active,
.mobile-nav-link:hover {
    color: var(--accent-orange);
}

.mobile-cta-btn {
    margin-top: 20px;
    width: 100%;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    padding-top: 170px;
    padding-bottom: 110px;
    background: radial-gradient(circle at 10% 20%, rgba(10, 54, 157, 0.05) 0%, rgba(255, 255, 255, 0) 70%), 
                radial-gradient(circle at 90% 80%, rgba(240, 90, 40, 0.03) 0%, rgba(255, 255, 255, 0) 70%), 
                var(--bg-light);
    position: relative;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.glow-blue {
    top: 10%;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(10, 54, 157, 0.12) 0%, rgba(10, 54, 157, 0) 70%);
    filter: blur(60px);
}

.glow-orange {
    bottom: 10%;
    right: -100px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(240, 90, 40, 0.08) 0%, rgba(240, 90, 40, 0) 70%);
    filter: blur(60px);
}

.hero-tag {
    font-family: var(--font-headings);
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--primary-blue);
    background: rgba(10, 54, 157, 0.08);
    padding: 8px 16px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    letter-spacing: 1px;
    width: fit-content;
    margin-bottom: 24px;
    border: 1px solid rgba(10, 54, 157, 0.1);
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-title {
    font-size: 3.3rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
    color: var(--secondary-blue);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #4A5568;
    margin-bottom: 35px;
    max-width: 540px;
    font-weight: 500;
    line-height: 1.6;
}

.hero-badge-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}

.hero-badge-card {
    background: var(--bg-white);
    padding: 16px 14px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(10, 54, 157, 0.05);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition-smooth);
}

.hero-badge-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(10, 54, 157, 0.15);
}

.badge-icon-box {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.badge-icon-box.blue-theme {
    background: rgba(10, 54, 157, 0.08);
    color: var(--primary-blue);
}

.badge-icon-box.orange-theme {
    background: rgba(240, 90, 40, 0.08);
    color: var(--accent-orange);
}

.badge-icon-box.green-theme {
    background: rgba(46, 204, 113, 0.08);
    color: #2ecc71;
}

.badge-info {
    display: flex;
    flex-direction: column;
}

.badge-num {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--secondary-blue);
    line-height: 1.2;
}

.badge-txt {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-gray);
    line-height: 1.2;
    margin-top: 2px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: visible; /* Show floating card overlap */
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition-smooth);
}

.hero-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius-lg);
    background: linear-gradient(to right, rgba(10, 54, 157, 0.1), transparent);
    pointer-events: none;
}

.hero-image-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-5px);
}

.hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    display: block;
}

/* Vector Illustration Layout & Animations */
.vector-wrapper {
    box-shadow: none !important;
    background: transparent !important;
    transform: none !important;
    overflow: visible !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.vector-wrapper::after {
    display: none !important;
}

.vector-wrapper:hover {
    transform: translateY(-5px) !important;
}

.hero-vector-svg {
    width: 100%;
    height: auto;
    max-width: 480px;
    overflow: visible;
}

/* SVG Parts Animations */
.gear-large {
    animation: rotateGearClockwise 25s linear infinite;
}

.gear-small {
    animation: rotateGearCounterClockwise 15s linear infinite;
}

.svg-bar {
    transform-origin: bottom;
    transform: scaleY(0);
}

.svg-bar.bar-1 {
    animation: scaleUpBar 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    animation-delay: 0.2s;
}

.svg-bar.bar-2 {
    animation: scaleUpBar 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    animation-delay: 0.4s;
}

.svg-bar.bar-3 {
    animation: scaleUpBar 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    animation-delay: 0.6s;
}

.svg-bar.bar-4 {
    animation: scaleUpBar 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    animation-delay: 0.8s;
}

.svg-trend-line {
    stroke-dasharray: 450;
    stroke-dashoffset: 450;
    animation: drawTrendLine 2.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.5s;
}

.svg-float-item-1 {
    animation: floatItemY1 5s ease-in-out infinite;
}

.svg-float-item-2 {
    animation: floatItemY2 4.5s ease-in-out infinite;
}

@keyframes rotateGearClockwise {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes rotateGearCounterClockwise {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

@keyframes scaleUpBar {
    to { transform: scaleY(1); }
}

@keyframes drawTrendLine {
    to { stroke-dashoffset: 0; }
}

@keyframes floatItemY1 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes floatItemY2 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.floating-glass-card {
    position: absolute;
    bottom: 30px;
    left: -40px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: var(--shadow-lg);
    padding: 16px 20px;
    border-radius: var(--border-radius-md);
    z-index: 10;
    animation: floatCard 4s ease-in-out infinite;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.glass-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.glass-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #2ecc71;
    box-shadow: 0 0 10px #2ecc71;
    animation: pulseGlow 1.5s infinite alternate;
}

@keyframes pulseGlow {
    0% { opacity: 0.4; }
    100% { opacity: 1; }
}

.glass-title {
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--text-gray);
    letter-spacing: 1px;
}

.glass-value {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--secondary-blue);
    display: block;
    line-height: 1.2;
}

.glass-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-gray);
}

/* ==========================================================================
   STATS BAR
   ========================================================================== */
.stats-bar {
    padding: 0;
    margin-top: -45px;
    z-index: 10;
}

.stats-container {
    background: linear-gradient(135deg, var(--secondary-blue), #0b2d5a);
    padding: 40px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 10px;
}

.stat-item:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-sm);
    color: var(--accent-orange);
    transition: var(--transition-smooth);
}

.stat-item:hover .stat-icon-box {
    background: var(--accent-orange);
    color: var(--bg-white) !important;
    transform: rotateY(180deg);
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--bg-white);
    line-height: 1.1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.85rem;
    color: #FFFFFF;
    font-weight: 600;
}

/* ==========================================================================
   ABOUT US SECTION
   ========================================================================== */
.about-section {
    background-color: var(--bg-white);
}

.about-image-wrapper {
    position: relative;
    padding-left: 20px;
    padding-bottom: 20px;
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20px;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    border: 4px solid var(--accent-orange);
    border-radius: var(--border-radius-md);
    z-index: 1;
}

.about-image {
    position: relative;
    z-index: 2;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    width: 100%;
}

.image-accent-dots {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(var(--accent-orange) 20%, transparent 20%);
    background-size: 10px 10px;
    z-index: 1;
}

.about-content {
    padding-left: 40px;
}

.about-desc {
    font-size: 1rem;
    color: #2D3748;
    margin-bottom: 20px;
    font-weight: 400;
}

.about-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.about-feature-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background-color: var(--bg-light);
    border-radius: var(--border-radius-sm);
    border-left: 4px solid var(--primary-blue);
    transition: var(--transition-smooth);
}

.about-feature-card:hover {
    transform: translateY(-5px);
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
}

.about-card-icon-box {
    display: flex;
    align-items: center;
    color: var(--primary-blue);
}

.about-card-text {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--secondary-blue);
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-section {
    background-color: var(--bg-light);
}

.service-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid rgba(10, 54, 157, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(10, 54, 157, 0.2);
}

.service-card-header {
    margin-bottom: 25px;
}

.service-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    background-color: rgba(10, 54, 157, 0.05);
    border-radius: 50%;
    color: var(--primary-blue);
    margin-bottom: 20px;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon-box {
    background-color: var(--primary-blue);
    color: var(--bg-white) !important;
}

.service-card-title {
    font-size: 1.35rem;
    font-weight: 700;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 35px;
}

.service-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    color: #2D3748;
    font-weight: 500;
}

.check-icon {
    width: 18px;
    height: 18px;
    color: var(--accent-orange);
    flex-shrink: 0;
    margin-top: 3px;
}

.service-link {
    font-family: var(--font-headings);
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    width: fit-content;
}

.link-icon {
    width: 16px;
    height: 16px;
    transition: var(--transition-smooth);
}

.service-link:hover .link-icon {
    transform: translateX(5px);
}

.service-link:hover {
    color: var(--accent-orange);
}

/* ==========================================================================
   WHY CHOOSE US SECTION (DARK BACKGROUND & HIGH CONTRAST)
   ========================================================================== */
.why-us-section {
    background: linear-gradient(135deg, var(--secondary-blue), #0b2c58);
}

.why-us-section .section-title {
    color: #FFFFFF !important;
}

/* Container for the flex centered grids */
.flex-center-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

/* Horizontal single row nowrap layout with mobile swipe scroll */
.nowrap-row {
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) rgba(255, 255, 255, 0.05);
}

.nowrap-row::-webkit-scrollbar {
    height: 6px;
}

.nowrap-row::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
}

.nowrap-row::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
}

.nowrap-row::-webkit-scrollbar-thumb:hover {
    background: var(--accent-yellow);
}

.nowrap-row .flip-card {
    scroll-snap-align: start;
    flex-shrink: 0; /* Prevent cards from shrinking */
}

@media (min-width: 1250px) {
    .nowrap-row {
        justify-content: center !important;
        overflow-x: visible;
        padding-bottom: 0;
    }
}

/* 3D Flip Card Container */
.flip-card {
    background-color: transparent;
    perspective: 1000px;
    cursor: pointer;
}

.why-us-flex-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 24px;
}

@media (max-width: 992px) {
    .why-us-flex-grid {
        flex-wrap: wrap;
    }
}

.why-flip-card {
    width: 185px;
    height: 185px;
}

.industry-flip-card {
    width: 170px;
    height: 170px;
}

/* Inner container to hold both front and back faces */
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

/* Horizontal rotation on hover */
.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

/* Positioning of front and back faces */
.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
    border-radius: var(--border-radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 15px;
    box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   WHY CHOOSE V TECHNOCON FLIP CARDS
   ========================================================================== */
.why-flip-card .flip-card-front {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--bg-white);
    gap: 15px;
}

.why-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent-yellow);
    transition: var(--transition-smooth);
}

.why-flip-card:hover .why-icon-box {
    background-color: var(--accent-yellow);
    color: var(--secondary-blue) !important;
}

.why-text {
    font-size: 0.8rem;
    font-weight: 700;
    color: #FFFFFF !important;
    line-height: 1.4;
}

.why-flip-card .flip-card-back {
    background: var(--bg-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--secondary-blue);
    transform: rotateY(180deg);
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.45;
    padding: 24px 18px;
    box-shadow: var(--shadow-md);
}

/* ==========================================================================
   INDUSTRIES WE SERVE FLIP CARDS
   ========================================================================== */
.industry-flip-card .flip-card-front {
    background-color: var(--bg-light);
    border: 1px solid rgba(0, 0, 0, 0.02);
    color: var(--secondary-blue);
    gap: 12px;
}

.industry-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: var(--primary-blue);
    background-color: rgba(10, 54, 157, 0.05);
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
}

.industry-flip-card:hover .industry-icon-box {
    background-color: var(--accent-orange);
    color: var(--bg-white) !important;
}

.industry-name {
    font-family: var(--font-headings);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary-blue);
}

.industry-flip-card .flip-card-back {
    background: var(--primary-blue);
    border: 1px solid var(--primary-blue);
    color: var(--bg-white);
    transform: rotateY(180deg);
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.45;
    padding: 20px 14px;
    box-shadow: var(--shadow-md);
}

/* ==========================================================================
   ACHIEVEMENTS & ENGAGEMENT PROCESS (REDESIGNED TIMELINE WITH ANIMATION)
   ========================================================================== */
.achievements-process-section {
    background-color: var(--bg-light);
}

.achievements-box {
    background: linear-gradient(135deg, var(--secondary-blue), #0b2d5a);
    padding: 50px 40px;
    border-radius: var(--border-radius-md);
    color: var(--bg-white);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.achievement-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-sm);
    color: var(--accent-yellow);
    flex-shrink: 0;
}

.achievement-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--bg-white);
    margin-bottom: 2px;
}

.achievement-label {
    font-size: 0.85rem;
    color: #FFFFFF;
    font-weight: 600;
}

.process-box {
    background-color: var(--bg-white);
    padding: 50px 40px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-box.reveal {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.process-header {
    text-align: left;
}

/* Redesigned Process Track */
.process-flow-container {
    position: relative;
    width: 100%;
    margin-top: 50px;
    overflow: visible;
}

/* Base connector track */
.process-connecting-line {
    position: absolute;
    top: 37px;
    left: 8%;
    width: 84%;
    height: 4px;
    background: rgba(10, 54, 157, 0.1);
    z-index: 1;
    border-radius: 2px;
}

/* Active animated indicator track overlay */
.process-connecting-line-active {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-orange));
    border-radius: 2px;
    transition: width 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-flow {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 2;
    position: relative;
    width: 100%;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 18%;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-step.reveal {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.step-number-circle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 74px;
    height: 74px;
    border: 2px solid rgba(10, 54, 157, 0.2);
    border-radius: 50%;
    background-color: var(--bg-white);
    color: var(--primary-blue);
    transition: var(--transition-smooth);
    z-index: 5;
    flex-shrink: 0;
}

.step-num {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--accent-orange);
    color: var(--bg-white);
    font-size: 0.7rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-white);
    box-shadow: var(--shadow-sm);
}

.step-title {
    font-family: var(--font-headings);
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--secondary-blue);
    line-height: 1.4;
    margin-top: 15px;
}

/* Hover effects */
.process-step:hover .step-number-circle {
    transform: scale(1.15);
    border-color: var(--accent-orange);
    color: var(--accent-orange) !important;
    box-shadow: 0 10px 25px rgba(255, 75, 43, 0.2);
}

/* ==========================================================================
   CTA SECTION (GRADIENT BACKGROUND)
   ========================================================================== */
.cta-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--secondary-blue), #0b2d5a);
}

.cta-container {
    border-radius: var(--border-radius-md);
}

.cta-title {
    color: var(--bg-white);
    font-size: 2.1rem;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.cta-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 500;
}

.cta-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

/* ==========================================================================
   CONTACT US SECTION
   ========================================================================== */
.contact-section {
    background-color: var(--bg-white);
}

.contact-desc {
    color: #4A5568;
    font-size: 1rem;
    margin-bottom: 30px;
    font-weight: 500;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-detail-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: rgba(10, 54, 157, 0.05);
    border-radius: var(--border-radius-sm);
    color: var(--primary-blue);
    flex-shrink: 0;
}

.contact-text-box h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.contact-text-box p {
    font-size: 0.9rem;
    color: var(--text-gray);
    font-weight: 500;
}

.contact-text-box a:hover {
    color: var(--primary-blue);
}

.contact-form-side {
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
}

.form-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--secondary-blue);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.span-2 {
    grid-column: span 2;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary-blue);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: var(--border-radius-sm);
    background-color: var(--bg-white);
    outline: none;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(10, 54, 157, 0.1);
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.main-footer {
    background-color: #051429;
    color: #A0AEC0;
    padding-top: 80px;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 50px;
}

.footer-col-title {
    color: var(--bg-white);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-orange);
}

.brand-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    height: 100px;
    width: auto;
    align-self: flex-start;
    object-fit: contain;
}

.footer-brand-desc {
    font-size: 0.85rem;
    line-height: 1.6;
    font-weight: 500;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--bg-white);
}

.social-icons a:hover {
    background-color: var(--accent-orange);
    border-color: var(--accent-orange);
    transform: translateY(-3px);
}

/* Footer SVG/i sizes and visibility fixes */
.social-icons a svg {
    width: 18px !important;
    height: 18px !important;
    stroke-width: 2 !important;
    color: #FFFFFF !important;
    display: inline-block !important;
}

.footer-contact-list li svg {
    width: 18px !important;
    height: 18px !important;
    color: var(--accent-orange) !important;
    flex-shrink: 0 !important;
    margin-top: 3px !important;
    display: inline-block !important;
}

/* Page Banner Shared Styles */
.page-banner {
    background: linear-gradient(135deg, var(--secondary-blue), #0b2d5a) !important;
    padding: 130px 0 70px 0 !important;
    text-align: center;
    color: var(--bg-white);
    position: relative;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links li a {
    font-size: 0.85rem;
    font-weight: 500;
}

.footer-links li a:hover {
    color: var(--bg-white);
    padding-left: 5px;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-contact-list li {
    display: flex;
    gap: 12px;
    font-size: 0.85rem;
    font-weight: 500;
}

.footer-contact-list li i {
    width: 18px;
    height: 18px;
    color: var(--accent-orange);
    flex-shrink: 0;
}

.footer-contact-list a:hover {
    color: var(--bg-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 0;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright-text {
    font-size: 0.8rem;
    font-weight: 500;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    font-size: 0.8rem;
    font-weight: 500;
}

.footer-bottom-links a:hover {
    color: var(--bg-white);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background-color: var(--primary-blue);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 99;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--accent-orange);
    transform: translateY(-3px);
}

/* ==========================================================================
   ANIMATIONS & SCROLL REVEAL EFFECTS
   ========================================================================== */
.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Triggered State */
.reveal {
    opacity: 1 !important;
    transform: translate(0) !important;
}

/* Hero animations on load */
.hero-content.fade-in-left {
    opacity: 1;
    transform: translateX(0);
}

.hero-image-container.fade-in-right {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVENESS)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-item:nth-child(2) {
        border-right: none;
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-6 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .achievements-process-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-buttons {
        justify-content: flex-start;
        margin-top: 20px;
    }
    
    /* Redesign timeline for vertical track on smaller viewports */
    .process-connecting-line {
        top: 10%;
        left: 47px;
        width: 4px;
        height: 75%;
    }
    
    .process-connecting-line-active {
        width: 100%;
        height: 0%;
        transition: height 1.8s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .process-flow {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }
    
    .process-step {
        flex-direction: row;
        align-items: center;
        text-align: left;
        width: 100%;
        gap: 25px;
    }
    
    .step-title {
        margin-top: 0;
        font-size: 1.05rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .grid-2, .grid-2-1 {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .grid-6 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-us-flex-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
        justify-content: center;
        gap: 16px;
        max-width: 380px;
        width: 100%;
        margin: 40px auto 0 auto;
    }
    .why-us-flex-grid .why-flip-card {
        width: 100%;
        max-width: 170px;
        height: 170px;
    }
    
    .hero-section {
        padding-top: 130px;
    }
    
    .hero-image-container {
        order: -1;
        margin-bottom: 30px;
    }
    
    .hero-image-wrapper {
        transform: none;
    }
    
    .hero-badge-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 12px;
        margin-bottom: 30px;
    }
    
    .nav-menu, .header-cta {
        display: none;
    }
    
    .hamburger-btn {
        display: block;
    }
    
    .about-content {
        padding-left: 0;
    }
    
    .about-image-wrapper {
        padding-left: 0;
        padding-bottom: 0;
    }
    
    .about-image-wrapper::before {
        display: none;
    }
    
    .stats-bar {
        margin-top: 0;
        padding: 40px 0;
    }
    
    .stats-container {
        border-radius: var(--border-radius-sm);
        padding: 30px 15px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-item {
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 20px;
    }
    
    .stat-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group.span-2 {
        grid-column: span 1;
    }
    
    .contact-form-side {
        padding: 25px;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-badge-grid {
        grid-template-columns: 1fr;
    }
    
    .grid-6 {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Micro-device card sizes adjustment */
@media (max-width: 400px) {
    .industry-flip-card {
        width: 145px;
        height: 145px;
    }
    .industry-name {
        font-size: 0.75rem;
    }
    .industry-icon-box {
        width: 42px;
        height: 42px;
    }
    .industry-flip-card .flip-card-back {
        font-size: 0.68rem;
        padding: 12px 8px;
    }
    .why-us-flex-grid .why-flip-card {
        max-width: 135px;
        height: 135px;
    }
    .why-text {
        font-size: 0.72rem;
    }
    .why-icon-box {
        width: 45px;
        height: 45px;
    }
    .why-flip-card .flip-card-back {
        font-size: 0.68rem;
        padding: 12px 8px;
    }
}


/* Custom India Map SVG transitions */
.why-detail-card:hover .why-detail-icon .india-svg-icon {
    color: var(--bg-white) !important;
}
.stat-item:hover .stat-icon-box .india-svg-icon {
    color: var(--bg-white) !important;
}


/* ==========================================================================
   CONTACT FORM 7 COMPATIBILITY STYLES
   ========================================================================== */
.wpcf7-form {
    width: 100%;
}
.wpcf7-form p {
    margin: 0;
    display: contents;
}
.wpcf7-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.wpcf7-form .wpcf7-form-control-wrap {
    width: 100%;
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: var(--border-radius-sm);
    background-color: var(--bg-white);
    outline: none;
    transition: var(--transition-smooth);
    box-sizing: border-box;
}
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(10, 54, 157, 0.1);
}
.wpcf7-form .submit-btn {
    margin-top: 10px;
    width: fit-content;
}
@media (max-width: 768px) {
    .wpcf7-form .submit-btn {
        width: 100%;
    }
}


/* ==========================================================================
   ADDITIONAL MOBILE RESPONSIVENESS AND IOS (IPHONE) ALIGNMENT FIXES
   ========================================================================== */

/* Global container horizontal padding adjustment for smaller viewports */
@media (max-width: 768px) {
    .container {
        padding: 0 16px !important;
    }
}

/* Compact header adjustment for mobile viewports */
@media (max-width: 768px) {
    .main-header {
        padding: 10px 0 !important;
    }
    .logo-img {
        height: 48px !important;
    }
    .mobile-nav {
        top: 68px !important;
        height: calc(100vh - 68px) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
}

/* Smooth horizontal scroll swipe for flip cards on touch devices */
.nowrap-row {
    -webkit-overflow-scrolling: touch !important;
}

/* Responsive Service Cards formatting on mobile & tablet viewports */
@media (max-width: 768px) {
    .service-card {
        height: auto !important; /* Prevent heights from collapsing on Safari */
        padding: 30px 20px !important;
    }
}

@media (max-width: 480px) {
    .service-card {
        padding: 24px 16px !important;
    }
    .service-list {
        gap: 12px !important;
        margin-bottom: 25px !important;
    }
}

/* Grid layout balancing on tablet screens (prevents hanging odd card) */
@media (max-width: 1024px) and (min-width: 769px) {
    .grid-3 > *:last-child:nth-child(odd) {
        grid-column: span 2 !important;
    }
}

/* Headings typography scaling for mobile and micro-screens */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem !important;
    }
    .page-banner h1 {
        font-size: 2.2rem !important;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.65rem !important;
        line-height: 1.3 !important;
    }
    .page-banner h1 {
        font-size: 1.75rem !important;
        line-height: 1.3 !important;
    }
}

/* Micro-device fluid overrides for flip cards (Fold 5 folded, iPhone SE, Galaxy S8+) */
@media (max-width: 400px) {
    .industry-flip-card {
        width: 100% !important;
        max-width: 135px !important;
        height: 135px !important;
    }
    .why-us-flex-grid .why-flip-card {
        width: 100% !important;
        max-width: 135px !important;
        height: 135px !important;
    }
}

/* Hamburger button icon sizing alignment */
.hamburger-btn svg {
    width: 26px !important;
    height: 26px !important;
    stroke-width: 2.2 !important;
    display: block !important;
}


