/* CSS Variables */
:root {
    --primary-blue: #1E1E6B;
    --primary-red: #E31B23;
    --dark-bg: #0b0c2a;
    --light-bg: #f8f9fa;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --border-color: #eaeaea;
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 40px rgba(30, 30, 107, 0.15);
    --transition: all 0.3s ease;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* 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);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

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

ul {
    list-style: none;
}

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

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

.section-padding {
    padding: 80px 0;
}

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

/* Typography Utility */
.sub-heading {
    display: inline-block;
    color: var(--primary-red);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    position: relative;
    padding-left: 40px;
}

.sub-heading::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 2px;
    background-color: var(--primary-red);
}

.section-heading {
    margin-bottom: 40px;
}

.section-heading h2 {
    font-size: 2.5rem;
}

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

.text-center .sub-heading {
    padding-left: 0;
}
.text-center .sub-heading::before {
    display: none;
}

.lead-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-large {
    padding: 15px 32px;
    font-size: 1.1rem;
}

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

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

.btn-outline {
    background-color: transparent;
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-outline:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
}

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

.site-header.scrolled {
    padding: 10px 0;
}

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

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

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    line-height: 1.1;
    display: flex;
    flex-direction: column;
}

.logo-ag {
    color: var(--primary-blue);
    letter-spacing: 1px;
}

.logo-sol {
    color: var(--primary-red);
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.main-nav {
    display: none;
}

@media (min-width: 992px) {
    .main-nav {
        display: block;
    }
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--primary-blue);
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-red);
    transition: var(--transition);
}

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

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

.header-actions .btn-outline {
    display: none;
}

@media (min-width: 992px) {
    .header-actions .btn-outline {
        display: inline-flex;
    }
}

.mobile-menu-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-blue);
    cursor: pointer;
    display: block;
}

@media (min-width: 992px) {
    .mobile-menu-toggle {
        display: none;
    }
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    z-index: 1001;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    transition: 0.4s ease-in-out;
}

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

.close-menu {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-blue);
    cursor: pointer;
    margin-bottom: 30px;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-links a {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-blue);
    display: block;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.mobile-contact {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-contact .btn {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
    text-align: center; /* Center on mobile */
}

@media (min-width: 768px) {
    .hero {
        text-align: left; /* Left align on desktop */
    }
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(11, 12, 42, 0.9) 0%, rgba(30, 30, 107, 0.6) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-text-wrapper {
    max-width: 800px;
    color: var(--white);
    margin: 0 auto; /* Center on mobile */
}

@media (min-width: 768px) {
    .hero-text-wrapper {
        margin: 0; /* Reset on desktop */
    }
}

.hero-text-wrapper .badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(227, 27, 35, 0.2);
    border: 1px solid var(--primary-red);
    color: var(--white);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 2.2rem;
    color: var(--white);
    margin-bottom: 15px;
    line-height: 1.2;
}

@media (min-width: 576px) {
    .hero-title {
        font-size: 2.8rem;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
        margin-bottom: 20px;
    }
}

@media (min-width: 992px) {
    .hero-title {
        font-size: 4rem;
    }
}

.hero-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.15rem;
        margin-bottom: 40px;
        margin-left: 0;
        margin-right: 0;
    }
}

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

@media (min-width: 576px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

@media (min-width: 768px) {
    .hero-buttons {
        justify-content: flex-start;
    }
}

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

@media (min-width: 576px) {
    .hero-buttons .btn {
        width: auto;
    }
}

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

.hero-scroll-indicator a {
    color: var(--white);
    font-size: 2rem;
    opacity: 0.8;
}

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

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

@media (min-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.about-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    transition: transform 0.5s ease;
}

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

.experience-badge {
    position: absolute;
    bottom: -1px;
    right: -1px;
    background-color: var(--primary-red);
    color: var(--white);
    padding: 30px;
    border-top-left-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: -5px -5px 20px rgba(0,0,0,0.1);
}

.experience-badge .number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
}

.why-choose-list ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

@media (min-width: 576px) {
    .why-choose-list ul {
        grid-template-columns: 1fr 1fr;
    }
}

.why-choose-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--primary-blue);
}

.why-choose-list li i {
    color: var(--primary-red);
    font-size: 1.2rem;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: var(--white);
    border-radius: 8px;
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.service-card.has-image {
    padding: 0;
    overflow: hidden;
}

.service-image {
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    margin: -40px -30px 20px -30px;
}

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

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

.service-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(30, 30, 107, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--primary-blue);
    color: var(--white);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* Industries We Serve Section */
.industries {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary-blue) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.industries::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(227, 27, 35, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.industries .section-heading h2 {
    color: var(--white);
}

.industries .sub-heading {
    color: rgba(255, 255, 255, 0.9);
}

.industries .sub-heading::before {
    background-color: var(--white);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

.industry-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.industry-item::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(227, 27, 35, 0.2) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.industry-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.industry-item:hover::after {
    opacity: 1;
}

.industry-icon {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 20px;
    transition: transform 0.4s ease, color 0.4s ease;
}

.industry-item:hover .industry-icon {
    transform: scale(1.2);
    color: var(--primary-red);
}

.industry-item h4 {
    margin-bottom: 12px;
    font-size: 1.25rem;
    color: var(--white);
    letter-spacing: 0.5px;
}

.industry-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin-bottom: 0;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(rgba(30, 30, 107, 0.9), rgba(30, 30, 107, 0.9)), url('assets/hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 0;
    text-align: center;
    color: var(--white);
}

.cta-banner h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Quote Form Section */
.quote-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: stretch;
}

@media (min-width: 992px) {
    .quote-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.quote-image-wrapper {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    display: flex;
}

.quote-image-wrapper img {
    width: 100%;
    object-fit: cover;
}

.quote-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--primary-red);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

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

.btn-block {
    width: 100%;
}

/* Footer Section */
.site-footer {
    background-color: var(--dark-bg);
    color: rgba(255, 255, 255, 0.7);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1.5fr;
    }
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-about p {
    color: inherit;
}

.footer-links h3, .footer-contact h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

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

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

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
}

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

.contact-info li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-info li i {
    color: var(--primary-red);
    font-size: 1.2rem;
    margin-top: 5px;
}

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

.footer-bottom p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: var(--transition);
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    background-color: #1ebe57;
    color: white;
}
