/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-blue: #0056b3;
    --electric: #0078d4;
    --dark-blue: #004494;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #6c757d;
    --dark-gray: #343a40;
    --border-color: #dee2e6;
}

body {
    background: var(--white);
    color: var(--dark-gray);
    line-height: 1.6;
    font-size: 16px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Professional Header */
header {
    background: var(--white);
    padding: 12px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-bottom: 3px solid var(--primary-blue);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: var(--primary-blue);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.logo-icon i {
    font-size: 22px;
    color: var(--white);
}

.logo-text h1 {
    font-size: 1.6rem;
    color: var(--primary-blue);
    font-weight: 700;
    line-height: 1.2;
}

.logo-text span {
    font-size: 0.75rem;
    color: var(--medium-gray);
    display: block;
    font-weight: 500;
}

/* Professional Navigation */
nav ul {
    display: flex;
    list-style: none;
    position: relative;
}

nav li {
    margin-left: 28px;
    position: relative;
}

nav > ul > li > a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 600;
    padding: 8px 0;
    transition: all 0.3s ease;
    display: block;
    font-size: 0.95rem;
    position: relative;
}

nav > ul > li > a:hover, 
nav > ul > li > a.active {
    color: var(--primary-blue);
}

nav > ul > li > a.active::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-blue);
}

/* Professional Dropdown Menus */
.dropdown {
    position: absolute;
    top: 100%;
    left: -20px;
    background: var(--white);
    min-width: 280px;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    padding: 8px 0;
}

nav li:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: var(--dark-gray);
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
}

.dropdown a i {
    margin-right: 10px;
    color: var(--primary-blue);
    width: 20px;
    text-align: center;
}

.dropdown a:hover {
    background: var(--light-gray);
    color: var(--primary-blue);
    padding-left: 25px;
}

.dropdown a:last-child {
    border-bottom: none;
}

.mobile-menu {
    display: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--primary-blue);
    background: none;
    border: none;
}

/* Professional Hero Section */
.page-hero {
    min-height: 75vh;
    display: flex;
    align-items: center;
    padding: 160px 0 100px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1621905252507-b35492cc74b4?ixlib=rb-4.0.3') center/cover;
    opacity: 0.1;
}

.page-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: 3.2rem;
    margin-bottom: 24px;
    font-weight: 700;
    line-height: 1.2;
}

.page-hero p {
    font-size: 1.3rem;
    margin-bottom: 35px;
    opacity: 0.95;
    line-height: 1.6;
}

/* Professional Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: var(--white);
    color: var(--primary-blue);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-size: 1rem;
    gap: 8px;
}

.btn:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.2);
}

.btn-primary {
    background: var(--electric);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--dark-blue);
    color: var(--white);
    border-color: var(--dark-blue);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-blue);
}

/* Professional Cards */
.service-card, .project-card {
    background: var(--white);
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before, .project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-blue);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before, .project-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover, .project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 25px;
    color: var(--primary-blue);
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card h3, .project-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-blue);
    font-weight: 600;
}

.service-card p, .project-card p {
    color: var(--medium-gray);
    line-height: 1.6;
}

/* Professional Sections */
.section-padding {
    padding: 100px 0;
}

.section-light {
    background: var(--light-gray);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.4rem;
    margin-bottom: 16px;
    color: var(--primary-blue);
    font-weight: 700;
    position: relative;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-blue);
    border-radius: 2px;
}

.section-title p {
    font-size: 1.2rem;
    color: var(--medium-gray);
    max-width: 600px;
    margin: 25px auto 0;
    line-height: 1.6;
}

/* Professional Footer */
footer {
    background: #2c3e50;
    color: var(--white);
    padding: 70px 0 25px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--electric);
}

.footer-col p, .footer-col a {
    color: #bdc3c7;
    margin-bottom: 12px;
    display: block;
    text-decoration: none;
    transition: color 0.3s ease;
    line-height: 1.6;
}

.footer-col a:hover {
    color: var(--electric);
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid #34495e;
    color: #95a5a6;
    font-size: 0.9rem;
}

/* Professional WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

/* Professional Grid Layouts */
.services-grid, .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.project-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.category-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: var(--primary-blue);
}

.category-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3.5rem;
    position: relative;
    overflow: hidden;
}

.category-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.1);
}

.category-content {
    padding: 30px;
    text-align: center;
}

.category-content h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--primary-blue);
    font-weight: 600;
}

.category-content p {
    color: var(--medium-gray);
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 30px 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Contact Form Styles */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-info h3 {
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 600;
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary-blue);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-text h4 {
    color: var(--dark-gray);
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 20px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--dark-gray);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

.contact-form textarea {
    height: 140px;
    resize: vertical;
}

/* Back Link */
.back-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-blue);
    text-decoration: none;
    margin-bottom: 30px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--dark-blue);
}

/* Project Meta */
.project-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--medium-gray);
}

.project-details p {
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--medium-gray);
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        text-align: left;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        border-top: 1px solid var(--border-color);
    }
    
    nav ul.active {
        display: flex;
    }
    
    nav li {
        margin: 8px 0;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .page-hero h1 {
        font-size: 2.2rem;
    }
    
    .page-hero p {
        font-size: 1.1rem;
    }
    
    .services-grid,
    .projects-grid,
    .project-categories {
        grid-template-columns: 1fr;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .page-hero {
        padding: 140px 0 80px;
        min-height: 65vh;
    }
    
    .page-hero h1 {
        font-size: 1.8rem;
    }
    
    .section-padding {
        padding: 70px 0;
    }
}
/* India Map Styles */
.map-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.map-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 30px;
}

#india-map {
    width: 100%;
    height: 500px;
    background: var(--white);
    border-radius: 8px;
}

.map-legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--medium-gray);
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

.legend-color.transmission {
    background: #ff6b6b;
}

.legend-color.solar {
    background: #ffd93d;
}

.legend-color.substation {
    background: #6bcf7f;
}

.map-title {
    text-align: center;
    margin-bottom: 30px;
}

.map-title h2 {
    color: var(--primary-blue);
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.map-title p {
    color: var(--medium-gray);
    font-size: 1.1rem;
}

.state-label {
    font-size: 10px;
    font-weight: 600;
    pointer-events: none;
    text-shadow: 1px 1px 2px white;
}

.power-plant {
    animation: pulse 2s infinite;
}

.transmission-line {
    stroke-dasharray: 5;
    animation: dash 20s linear infinite;
}

@keyframes pulse {
    0% { r: 3; opacity: 0.7; }
    50% { r: 5; opacity: 1; }
    100% { r: 3; opacity: 0.7; }
}

@keyframes dash {
    to {
        stroke-dashoffset: -100;
    }
}

.map-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
    text-align: center;
}

.map-stat {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.map-stat .number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    display: block;
}

.map-stat .label {
    color: var(--medium-gray);
    font-size: 0.9rem;
}
/* Simplified India Map Styles */
.map-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.map-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    padding: 40px;
    border: 1px solid var(--border-color);
}

#india-map {
    width: 100%;
    height: 500px;
    background: transparent;
}

.map-title {
    text-align: center;
    margin-bottom: 40px;
}

.map-title h2 {
    color: var(--primary-blue);
    font-size: 2.4rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.map-title p {
    color: var(--medium-gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Animation Elements */
.energy-flow {
    stroke: var(--electric);
    stroke-width: 2;
    stroke-dasharray: 10;
    animation: energyFlow 3s linear infinite;
}

.solar-pulse {
    animation: solarPulse 2s ease-in-out infinite;
}

.grid-connection {
    stroke: #ff6b6b;
    stroke-width: 1.5;
    stroke-dasharray: 5;
    animation: gridFlow 4s linear infinite;
}

@keyframes energyFlow {
    0% { stroke-dashoffset: 0; opacity: 0.7; }
    50% { opacity: 1; }
    100% { stroke-dashoffset: -100; opacity: 0.7; }
}

@keyframes solarPulse {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1); opacity: 0.8; }
}

@keyframes gridFlow {
    0% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -50; }
}

.power-node {
    animation: nodeGlow 3s ease-in-out infinite;
}

@keyframes nodeGlow {
    0%, 100% { filter: drop-shadow(0 0 5px var(--electric)); }
    50% { filter: drop-shadow(0 0 15px var(--electric)); }
}