/* ========================================
   ADEPT INFRASTRUCTURE CORPORATE STYLES
   Modern Design Inspired by RIL, HFCL, Tejas Networks
======================================== */

/* CSS Variables */
:root {
    --primary-dark: #0C1C3D;
    --primary-blue: #046BD2;
    --primary-light: #1E3A5F;
    --accent-orange: #FF6B35;
    --accent-teal: #00A8A8;
    --text-dark: #1a1a1a;
    --text-gray: #666666;
    --text-light: #999999;
    --bg-light: #F8F9FC;
    --bg-white: #FFFFFF;
    --border-color: #E5E7EB;
    --gradient-primary: linear-gradient(135deg, #0C1C3D 0%, #046BD2 100%);
    --gradient-accent: linear-gradient(135deg, #00A8A8 0%, #046BD2 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--bg-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
}

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

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

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

/* ========================================
   TOP BAR
======================================== */
.top-bar {
    background: var(--primary-dark);
    color: #fff;
    padding: 10px 0;
    font-size: 13px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 25px;
}

.top-bar-left span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-left i {
    color: var(--accent-teal);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.iso-badge {
    background: var(--accent-teal);
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 12px;
}

.iso-badge i {
    margin-right: 5px;
}

.top-bar .social-links {
    display: flex;
    gap: 12px;
}

.top-bar .social-links a {
    color: #fff;
    opacity: 0.8;
    font-size: 14px;
}

.top-bar .social-links a:hover {
    opacity: 1;
    color: var(--accent-teal);
}

/* ========================================
   MAIN HEADER & NAVIGATION
======================================== */
.main-header {
    background: var(--bg-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.main-header.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

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

.logo img {
    height: 55px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.company-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: var(--primary-dark);
    letter-spacing: 0.5px;
}

.company-tagline {
    font-size: 11px;
    color: var(--text-gray);
    font-weight: 500;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-dark);
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-menu > li > a i {
    font-size: 10px;
    transition: var(--transition);
}

.nav-menu > li:hover > a {
    color: var(--primary-blue);
}

.nav-menu > li:hover > a i {
    transform: rotate(180deg);
}

.nav-menu > li > a.active {
    color: var(--primary-blue);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    min-width: 220px;
    padding: 15px 0;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    list-style: none;
    z-index: 100;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 25px;
    font-size: 14px;
    color: var(--text-gray);
}

.dropdown-menu li a:hover {
    background: var(--bg-light);
    color: var(--primary-blue);
}

.btn-get-quote {
    background: var(--gradient-primary);
    color: #fff;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.btn-get-quote:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(4, 107, 210, 0.35);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary-dark);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ========================================
   HERO SECTION
======================================== */
.hero-section {
    position: relative;
    height: 85vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide .container {
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 700px;
    color: #fff;
}

.hero-label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-content h1 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 35px;
    max-width: 550px;
}

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

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent-teal);
    color: #fff;
    padding: 15px 32px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
}

.btn-primary:hover {
    background: #00b8b8;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 168, 168, 0.35);
}

.btn-primary i {
    transition: transform 0.3s ease;
}

.btn-primary:hover i {
    transform: translateX(5px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: #fff;
    padding: 15px 32px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 10;
}

.slider-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.slider-btn:hover {
    background: var(--accent-teal);
    border-color: var(--accent-teal);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--accent-teal);
    width: 35px;
    border-radius: 6px;
}

/* ========================================
   STATS SECTION
======================================== */
.stats-section {
    background: var(--primary-dark);
    padding: 50px 0;
    margin-top: -1px;
}

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

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
    border-right: none;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-teal);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon i {
    font-size: 24px;
    color: #fff;
}

.stat-content h3 {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.stat-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 5px;
}

/* ========================================
   SECTION STYLES
======================================== */
.section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-teal);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 40px;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-gray);
    max-width: 600px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

.section-header.light .section-title,
.section-header.light .section-subtitle {
    color: #fff;
}

.section-header.light .section-subtitle {
    opacity: 0.8;
}

/* ========================================
   ABOUT SECTION
======================================== */
.about-section {
    padding: 100px 0;
    background: var(--bg-white);
}

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

.about-image {
    position: relative;
}

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

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: -30px;
    background: var(--accent-teal);
    color: #fff;
    padding: 25px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.experience-badge .years {
    display: block;
    font-size: 48px;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    line-height: 1;
}

.experience-badge .text {
    font-size: 14px;
    line-height: 1.4;
    margin-top: 5px;
}

.about-content .section-title {
    font-size: 36px;
}

.about-description {
    font-size: 17px;
    margin-bottom: 15px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin: 35px 0;
}

.about-feature {
    display: flex;
    gap: 15px;
}

.about-feature .feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 168, 168, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-feature .feature-icon i {
    font-size: 20px;
    color: var(--accent-teal);
}

.about-feature h4 {
    font-size: 16px;
    color: var(--primary-dark);
    margin-bottom: 3px;
}

.about-feature p {
    font-size: 14px;
    color: var(--text-gray);
}

/* ========================================
   VISION SECTION
======================================== */
.vision-section {
    padding: 80px 0;
    background: var(--bg-light);
}

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

.vision-card {
    background: var(--bg-white);
    padding: 40px 35px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.vision-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.vision-icon i {
    font-size: 32px;
    color: #fff;
}

.vision-card h3 {
    font-size: 22px;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.vision-card p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.8;
}

/* ========================================
   SERVICES SECTION
======================================== */
.services-section {
    padding: 100px 0;
    background: var(--bg-white);
}

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

.service-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 35px;
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--accent-teal);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 168, 168, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--accent-teal);
}

.service-icon i {
    font-size: 28px;
    color: var(--accent-teal);
    transition: var(--transition);
}

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

.service-card h3 {
    font-size: 20px;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.service-card > p {
    font-size: 15px;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    margin-bottom: 25px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-gray);
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features li i {
    color: var(--accent-teal);
    font-size: 12px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-blue);
}

.service-link:hover {
    color: var(--accent-teal);
}

.service-link i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* ========================================
   DIVISIONS SECTION
======================================== */
.divisions-section {
    padding: 100px 0;
    background: var(--primary-dark);
}

.divisions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.division-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.division-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
}

.division-image {
    height: 200px;
    overflow: hidden;
}

.division-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.division-content {
    padding: 25px;
    color: #fff;
}

.division-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.division-content p {
    font-size: 14px;
    opacity: 0.7;
    line-height: 1.6;
}

/* ========================================
   CLIENTS SECTION
======================================== */
.clients-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.clients-slider {
    overflow: hidden;
    margin-top: 20px;
}

.clients-track {
    display: flex;
    gap: 50px;
    animation: scroll 20s linear infinite;
}

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

.client-logo {
    flex-shrink: 0;
    width: 150px;
    height: 80px;
    background: var(--bg-white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    box-shadow: var(--shadow-sm);
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.client-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Clients Grid */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.client-logo-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.client-logo-card img {
    max-height: 80px;
    max-width: 100%;
    width: auto;
    height: auto;
    filter: grayscale(50%);
    transition: all 0.3s;
}

.client-logo-card:hover img {
    filter: grayscale(0%);
}

.client-text-logo {
    font-weight: 700;
    color: #0C1C3D;
    font-size: 18px;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(12,28,61,0.9));
    padding: 20px;
    color: #fff;
}

.portfolio-overlay h4 {
    margin: 0;
    font-size: 16px;
}

/* ========================================
   WHY US SECTION
======================================== */
.why-us-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-us-content .section-title {
    font-size: 36px;
}

.why-us-content > p {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 35px;
}

.why-us-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.why-feature {
    display: flex;
    gap: 20px;
}

.why-icon {
    width: 55px;
    height: 55px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.why-icon i {
    font-size: 22px;
    color: #fff;
}

.why-text h4 {
    font-size: 18px;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.why-text p {
    font-size: 14px;
    color: var(--text-gray);
}

.why-us-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

/* ========================================
   CTA SECTION
======================================== */
.cta-section {
    padding: 80px 0;
    background: var(--gradient-primary);
}

.cta-content {
    text-align: center;
    color: #fff;
}

.cta-content h2 {
    font-size: 40px;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 35px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary-light {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: var(--primary-dark);
    padding: 16px 35px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
}

.btn-primary-light:hover {
    background: var(--accent-teal);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-light {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: #fff;
    padding: 16px 35px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

/* ========================================
   CONTACT SECTION
======================================== */
.contact-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

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

.contact-card {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.contact-card:hover {
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 55px;
    height: 55px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 22px;
    color: #fff;
}

.contact-text h4 {
    font-size: 16px;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.contact-text p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

.contact-form-wrapper {
    background: var(--bg-white);
    padding: 45px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

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

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

.form-group:last-of-type {
    margin-bottom: 25px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(4, 107, 210, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-primary);
    color: #fff;
    padding: 16px 40px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(4, 107, 210, 0.35);
}

/* ========================================
   FOOTER
======================================== */
.main-footer {
    background: var(--primary-dark);
    color: #fff;
}

.footer-top {
    padding: 80px 0 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 50px;
}

.footer-about p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 20px;
    line-height: 1.8;
}

.footer-logo {
    height: 50px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent-teal);
}

.footer-col h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-teal);
    border-radius: 2px;
}

.footer-col ul {
    list-style: none;
}

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

.footer-col ul li a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--accent-teal);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-contact li i {
    color: var(--accent-teal);
    margin-top: 3px;
}

.footer-contact li span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-links {
    display: flex;
    gap: 25px;
}

.footer-bottom-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-links a:hover {
    color: var(--accent-teal);
}

/* ========================================
   BACK TO TOP
======================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent-teal);
}

/* ========================================
   RESPONSIVE STYLES
======================================== */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }

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

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .stat-item:nth-child(3) {
        border-right: none;
    }

    .stat-item:nth-child(4),
    .stat-item:nth-child(5) {
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }

    .stat-item:nth-child(5) {
        border-right: none;
    }

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

@media (max-width: 992px) {
    .top-bar-left {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 0;
        box-shadow: var(--shadow-lg);
        transition: right 0.3s ease;
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu > li {
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu > li > a {
        padding: 15px 0;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0 0 15px 20px;
        display: none;
    }

    .has-dropdown.active .dropdown-menu {
        display: block;
    }

    .mobile-toggle {
        display: flex;
    }

    .btn-get-quote {
        display: none;
    }

    .hero-section {
        height: auto;
        min-height: 400px;
        padding: 80px 0 60px;
    }

    .hero-slider {
        position: relative;
        height: auto;
        min-height: 350px;
    }

    .hero-slide {
        position: relative !important;
        height: auto !important;
        min-height: 350px;
        padding: 40px 0;
    }

    .hero-slide .container {
        height: auto;
    }

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-image {
        order: -1;
    }

    .experience-badge {
        right: 20px;
    }

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

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

    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .why-us-image {
        order: -1;
    }

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

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

    /* Clients Grid Tablet */
    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .client-logo-card {
        padding: 20px;
        min-height: 100px;
    }

    .client-logo-card img {
        max-height: 60px;
    }

    /* Portfolio Grid Tablet */
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .portfolio-item img {
        height: 200px;
    }
}

@media (max-width: 768px) {
    /* Clients Grid Mobile */
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .client-logo-card {
        padding: 15px;
        min-height: 80px;
    }

    .client-logo-card img {
        max-height: 50px;
    }

    /* Portfolio Grid Mobile */
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .portfolio-item img {
        height: 180px;
    }

    .portfolio-overlay {
        padding: 15px;
    }

    .portfolio-overlay h4 {
        font-size: 14px;
    }

    .hero-section {
        height: auto;
        min-height: 350px;
        padding: 60px 0 50px;
    }

    .hero-slider {
        position: relative;
        height: auto;
        min-height: 300px;
    }

    .hero-slide {
        position: relative !important;
        height: auto !important;
        min-height: 300px;
        padding: 30px 0;
    }

    .hero-slide .container {
        height: auto;
    }

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

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

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

    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

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

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

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

    .cta-content h2 {
        font-size: 32px;
    }

    .contact-form-wrapper {
        padding: 30px;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .top-bar {
        display: none;
    }

    .container {
        padding: 0 15px;
    }

    /* Hero Section Mobile Fix */
    .hero-section {
        height: auto !important;
        min-height: 280px;
        padding: 40px 0;
    }

    .hero-slider {
        position: relative !important;
        height: auto !important;
        min-height: 250px;
    }

    .hero-slide {
        position: relative !important;
        height: auto !important;
        min-height: 250px;
        padding: 20px 0;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .hero-slide .container {
        height: auto !important;
    }

    .hero-content {
        max-width: 100%;
    }

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

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

    .hero-buttons {
        flex-direction: column;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .slider-controls {
        bottom: 20px;
    }

    /* Clients Grid Small Mobile */
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .client-logo-card {
        padding: 12px;
        min-height: 70px;
        border-radius: 10px;
    }

    .client-logo-card img {
        max-height: 40px;
    }

    /* Portfolio Grid Small Mobile */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .portfolio-item {
        border-radius: 10px;
    }

    .portfolio-item img {
        height: 200px;
    }

    .portfolio-overlay {
        padding: 12px;
    }

    .portfolio-overlay h4 {
        font-size: 13px;
    }

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

    .stat-item {
        justify-content: center;
        text-align: center;
        flex-direction: column;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

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

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn-primary-light, .btn-outline-light {
        width: 100%;
        justify-content: center;
    }

    /* Page Header Mobile */
    .page-header {
        padding: 60px 15px !important;
    }

    .page-header h1 {
        font-size: 28px !important;
    }

    .page-header p {
        font-size: 14px !important;
    }

    /* Section Padding Mobile */
    section {
        padding: 50px 0 !important;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .section-title {
        font-size: 24px !important;
    }

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

    /* Logo Mobile */
    .logo img {
        height: 40px;
    }

    .company-name {
        font-size: 14px;
    }

    .company-tagline {
        font-size: 9px;
    }

    /* CTA Section Mobile */
    .cta-content h2 {
        font-size: 24px !important;
    }

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

    /* Contact Form Mobile */
    .contact-form-wrapper {
        padding: 20px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 14px;
    }
}

/* Extra Small Devices */
@media (max-width: 360px) {
    .logo img {
        height: 35px;
    }

    .company-name {
        font-size: 12px;
    }

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

    .section-title {
        font-size: 22px !important;
    }

    .btn-primary, .btn-secondary,
    .btn-primary-light, .btn-outline-light {
        padding: 12px 20px;
        font-size: 13px;
    }
}
