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

:root {
    --primary-color: #00b37e;
    --primary-hover: #009165;
    --primary-glow: rgba(0, 179, 126, 0.4);
    --secondary-color: #0a192f;
    --dark-bg: #0b0c10;
    --section-bg: #111217;
    --text-main: #e6f1ff;
    --text-muted: #8892b0;
    --glass-bg: rgba(17, 18, 23, 0.7);
    --glass-border: rgba(255, 255, 255, 0.05);
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

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

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

ul {
    list-style: none;
}

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

.section-title {
    margin-bottom: 50px;
    text-align: center;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title h2 span {
    color: var(--primary-color);
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 35px;
    border-radius: 2px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
    border: 1px solid transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--dark-bg);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: inset 0 0 0 1px var(--primary-color), 0 0 20px rgba(0, 179, 126, 0.4);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--text-main);
    color: var(--text-main);
}

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

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}

header.scrolled {
    padding: 0;
    background: rgba(11, 12, 16, 0.95);
    backdrop-filter: blur(10px);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 2px;
}

.logo i {
    color: var(--primary-color);
    font-size: 1.8rem;
}

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

.nav-links a {
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    color: #ccc;
}

.nav-links a:hover, .nav-links a.active {
    color: #fff;
}

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

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

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
}

/* Fullscreen Slider */
.slider-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
    transform: scale(1.05);
    transition: transform 6s ease;
}

.slide.active .slide-bg {
    transform: scale(1);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(11, 12, 16, 0.95) 0%, rgba(11, 12, 16, 0.5) 50%, rgba(11, 12, 16, 0.2) 100%);
    z-index: -1;
}

.slide-content {
    width: 100%;
    padding-top: 80px; /* Offset header */
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease 0.3s;
}

.slide.active .slide-content {
    transform: translateY(0);
    opacity: 1;
}

.slide-content h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 1.2rem;
    color: var(--primary-color);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.slide-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slide-content p {
    font-size: 1.1rem;
    color: #ccc;
    max-width: 500px;
    margin-bottom: 40px;
    font-weight: 300;
}

.slider-nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

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

.dot.active {
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-glow);
}

.slider-arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 10;
    transform: translateY(-50%);
    pointer-events: none; /* Let clicks pass through except on arrows */
}

.slider-arrows i {
    pointer-events: auto;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
    padding: 20px;
}

.slider-arrows i:hover {
    color: #fff;
    transform: scale(1.2);
}

/* Core Expertise (Image Grid) */
.expertise {
    padding: 100px 0;
    background-color: var(--dark-bg);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.expertise-item {
    position: relative;
    height: 350px;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
}

.expertise-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.expertise-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    transition: var(--transition);
}

.expertise-item:hover img {
    transform: scale(1.05);
}

.expertise-item:hover .expertise-overlay {
    background: linear-gradient(to top, rgba(0,179,126,0.8), rgba(0,0,0,0.2));
}

.expertise-overlay h3 {
    font-size: 1.5rem;
    letter-spacing: 1px;
}

/* Premium Services Block */
.services-premium {
    background-color: var(--section-bg);
    padding: 100px 0;
}

.service-block {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
}

.service-block.reverse {
    flex-direction: row-reverse;
}

.service-block-content {
    flex: 1;
    padding: 40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: 4px;
}

.service-block-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #fff;
}

.service-block-content p {
    color: var(--text-muted);
    margin-bottom: 25px;
}

.service-features {
    margin-bottom: 30px;
}

.service-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features li i {
    color: var(--primary-color);
}

.service-block-img {
    flex: 1;
    height: 400px;
    border-radius: 4px;
    overflow: hidden;
}

.service-block-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Premium Stats Section */
.premium-stats {
    padding: 80px 0;
    background: var(--dark-bg);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

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

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 300;
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    margin-bottom: 5px;
    display: flex;
    justify-content: center;
    align-items: baseline;
}

.stat-number span {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-left: 5px;
}

.stat-text {
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
}

/* Operations Map */
.operations {
    padding: 100px 0;
    background-color: var(--section-bg);
}

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

.states-list {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.state-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.state-item .dot {
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-glow);
}

.operations-map {
    position: relative;
    height: auto;
    min-height: 400px;
    max-height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.india-map {
    width: 100%;
    height: auto;
    max-height: 100%;
    filter: drop-shadow(0 0 20px rgba(0, 179, 126, 0.1));
}

.map-highlight {
    fill: rgba(0, 179, 126, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.map-highlight:hover {
    fill: var(--primary-color);
}

.tooltip {
    position: fixed;
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 10px 15px;
    border-radius: 4px;
    font-size: 0.85rem;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    border: 1px solid var(--primary-color);
    z-index: 9999;
    white-space: nowrap;
}

/* Projects Showcase Section */
.projects {
    padding: 100px 0;
    background-color: var(--dark-bg);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.project-card {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    height: 350px;
    cursor: pointer;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    filter: grayscale(30%);
}

.project-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(11, 12, 16, 0.95) 0%, rgba(11, 12, 16, 0.5) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    transition: bottom 0.4s ease;
}

.project-card:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.project-card:hover .project-overlay {
    bottom: 0;
}

.project-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.project-overlay p {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Engineering Consultancy Blueprint Background */
.blueprint-bg {
    background-color: #0b1325;
    background-image: 
        linear-gradient(rgba(0, 179, 126, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 179, 126, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    position: relative;
    padding: 100px 0;
}

.blueprint-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, #0b1325 70%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-img img {
    width: 100%;
    border-radius: 4px;
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 30px rgba(0, 179, 126, 0.2);
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-content h2 span {
    color: var(--primary-color);
}

.about-content p {
    color: #ccc;
    margin-bottom: 20px;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--dark-bg);
}

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

.contact-info {
    background: var(--glass-bg);
    padding: 40px;
    border-radius: 4px;
    border: 1px solid var(--glass-border);
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-icon {
    width: 50px;
    height: 50px;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-content h4 {
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.info-content p {
    color: var(--text-muted);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px;
    background: var(--section-bg);
    border: 1px solid var(--glass-border);
    border-radius: 2px;
    color: var(--text-main);
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

.map-container {
    margin-top: 50px;
    height: 400px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: invert(90%) hue-rotate(180deg) brightness(80%) contrast(85%); /* Dark mode map trick */
}

/* Footer */
footer {
    background-color: var(--section-bg);
    padding: 80px 0 20px;
    border-top: 1px solid var(--glass-border);
}

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

.footer-about p {
    color: var(--text-muted);
    margin: 20px 0;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-muted);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--dark-bg);
}

.footer-links h4, .footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

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

.footer-links ul li a {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links ul li a i {
    font-size: 0.8rem;
    color: var(--primary-color);
}

.footer-links ul li a:hover {
    color: #fff;
}

.footer-contact ul li {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--text-muted);
}

.footer-contact ul li i {
    color: var(--primary-color);
    margin-top: 5px;
}

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

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
}

/* Animations */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 179, 126, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(0, 179, 126, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 179, 126, 0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .operations-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 20px;
    }
    .nav-links {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(11, 12, 16, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.4s ease;
    }
    .nav-links.active {
        right: 0;
    }
    .mobile-menu-btn {
        display: block;
    }
    .slide-content h1 {
        font-size: 3rem;
    }
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    .service-block, .service-block.reverse {
        flex-direction: column;
    }
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
}

/* Legal Pages */
.legal-page {
    padding: 150px 0 100px;
    background-color: var(--dark-bg);
    min-height: 80vh;
}
.legal-content {
    background: var(--section-bg);
    padding: 50px;
    border-radius: 4px;
    border: 1px solid var(--glass-border);
}
.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--primary-color);
}
.legal-content h2 {
    font-size: 1.5rem;
    margin: 30px 0 15px;
    color: #fff;
}
.legal-content p, .legal-content li {
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.8;
}
.legal-content ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

