/* --- Global Styles & Variables --- */
:root {
    --primary-color: #0a2d57; /* Dark Blue */
    --secondary-color: #f4f7fa; /* Light Gray Background */
    --accent-color: #00aaff; /* Bright Blue */
    --text-color: #333;
    --text-light: #f8f9fa;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--secondary-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* --- Header & Navigation --- */
header {
    background-color: #fff;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}
/* --- Hero Section --- */
.hero {
    background: linear-gradient(rgba(10, 45, 87, 0.8), rgba(10, 45, 87, 0.8)), url('https://www.alisha-co.com/construction.webp') no-repeat center center/cover;
    color: var(--text-light);
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
}

.nav-links li {
    position: relative;
    margin: 0 1rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    padding: 0.5rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent-color);
}

.arrow {
    font-size: 0.7rem;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

/* Dropdown */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    list-style: none;
    padding: 0.5rem 0;
    min-width: 220px;
    box-shadow: var(--shadow);
    border-radius: 5px;
    z-index: 1100;
}

.dropdown:hover .dropdown-content {
    display: block;
}
.dropdown:hover .arrow {
    transform: rotate(180deg);
}

.dropdown-content li a {
    padding: 0.75rem 1.5rem;
    white-space: nowrap;
    width: 100%;
}

/* Language Switcher */
.lang-switcher button {
    background: none;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.4rem 0.8rem;
    margin-left: 0.5rem;
    cursor: pointer;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s, color 0.3s;
}

.lang-switcher button:hover {
    background-color: #eef;
}

.lang-switcher button.active {
    background-color: var(--primary-color);
    color: var(--text-light);
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(rgba(10, 45, 87, 0.8), rgba(10, 45, 87, 0.8)), url('https://images.unsplash.com/photo-1581092921461-8a2139f4ce66?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=MnwxfDB8MXxyYW5kb218MHx8ZW5lcmd5fHx8fHx8MTYyNjU4NzI0Mw&ixlib=rb-1.2.1&q=80&utm_campaign=api-credit&utm_medium=referral&utm_source=unsplash_source&w=1080') no-repeat center center/cover;
    color: var(--text-light);
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.cta-button {
    background-color: var(--accent-color);
    color: var(--text-light);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.3s;
}

.cta-button:hover {
    background-color: #0099e6;
    transform: translateY(-3px);
}

/* --- Sectors Section --- */
.sectors {
    padding: 4rem 5%;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 4px;
    background: var(--accent-color);
    bottom: -10px;
    left: 20%;
    border-radius: 2px;
}

.sectors-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.sector-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    width: 320px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.sector-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.sector-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
}

.sector-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.sector-card p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.card-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

/* --- Footer --- */
footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding-top: 3rem;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.footer-about, .footer-links, .footer-contact {
    flex: 1;
    min-width: 250px;
}

footer h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}

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

.footer-links a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 2rem;
    border-top: 1px solid #2a4d77;
}

/* --- Floating WhatsApp Button --- */
.floating-whatsapp-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .3s ease;
}
.floating-whatsapp-btn:hover {
    transform: scale(1.1);
}
.floating-whatsapp-btn img {
    width: 32px;
    height: 32px;
}

/* --- Mobile Responsiveness --- */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
}

.menu-toggle span {
    height: 3px;
    width: 25px;
    background: var(--primary-color);
    margin-bottom: 4px;
    border-radius: 2px;
    transition: all 0.3s ease;
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #fff;
        box-shadow: var(--shadow);
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links li {
        text-align: center;
        margin: 0;
        width: 100%;
    }
    .nav-links a {
        padding: 1.5rem 1rem;
        width: 100%;
        display: block;
        border-bottom: 1px solid #eee;
    }
    .dropdown {
        width: 100%;
    }
    .dropdown-content {
        position: static;
        display: none; /* Controlled by JS */
        box-shadow: none;
        background-color: #f8f8f8;
        padding: 0;
    }
    .dropdown-content a {
        color: #555;
        padding-left: 3rem; /* Indent sub-items */
    }
    .dropdown > a .arrow {
        display: inline-block; /* Make sure arrow is visible */
    }
    .menu-toggle {
        display: flex;
    }
    .lang-switcher {
        margin-left: auto;
        margin-right: 1.5rem;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero p {
        font-size: 1rem;
    }
}

/* --- Styles for Inner Pages (Add to the end of style.css) --- */

.page-header {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 3rem 5%;
    text-align: center;
}

.page-header h1 {
    font-size: 2.8rem;
    font-weight: 700;
}

.page-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 5%;
}

.page-section {
    margin-bottom: 4rem;
}

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

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    max-width: 900px;
    margin: 0 auto;
}

.vision-section {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.vision-content, .vision-image {
    flex: 1;
    min-width: 300px;
}

.vision-content h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.vision-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--accent-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.service-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.commitments-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.commitment-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.commitment-icon {
    font-size: 2rem;
    color: var(--accent-color);
}

.commitment-item h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.cta-section {
    text-align: center;
    background-color: #fff;
    padding: 3rem 5%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.cta-section h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.cta-section p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}
/* --- Styles for Product Pages (Add to the end of style.css) --- */

.dropdown-content a.sub-active {
    color: var(--accent-color);
    font-weight: 700;
}

.product-layout {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.product-layout.reverse {
    flex-direction: row-reverse;
}

.product-image, .product-details {
    flex: 1;
}

.product-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.product-details h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.product-details p {
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.feature-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.5rem;
    color: var(--accent-color);
    font-weight: bold;
}

.applications-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.app-tag {
    background-color: #e9f5ff;
    color: var(--primary-color);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.95rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Responsive adjustments for product layout */
@media (max-width: 768px) {
    .product-layout, .product-layout.reverse {
        flex-direction: column;
    }
    .product-details h2 {
        font-size: 1.8rem;
    }
}
/* --- Styles for Benefits Grid (Add to the end of style.css) --- */

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.benefit-item {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.benefit-icon {
    font-size: 1.8rem;
}

.benefit-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.benefit-item p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
}
/* --- Styles for Power Transformers Page (Add to the end of style.css) --- */

.technical-list-grid {
    list-style: square;
    color: var(--text-color);
    padding-left: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem 2.5rem; /* Vertical and horizontal gap */
    margin-top: 2rem;
}

.technical-list-grid li {
    margin-bottom: 0.5rem;
}

.standard-tag {
    background-color: #f0f0f0;
    color: #555;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0.5rem 1.2rem;
    font-weight: 600;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1rem;
}

/* Responsive adjustment for technical list */
@media (max-width: 768px) {
    .technical-list-grid {
        grid-template-columns: 1fr;
    }
}
/* --- Styles for Contact Page (Add to the end of style.css) --- */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: flex-start;
}

.contact-details-section .commitment-item {
    background: none;
    box-shadow: none;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}
.contact-details-section .commitment-item:last-child {
    border-bottom: none;
}
.contact-details-section a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
}
.contact-details-section a:hover {
    color: var(--accent-color);
}


.contact-form-section {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 5px rgba(0, 170, 255, 0.5);
}

.contact-form-section .cta-button {
    width: 100%;
    border: none;
    font-size: 1.1rem;
}

.map-section {
    margin-top: 4rem;
}

.map-container {
    position: relative;
    width: 100%;
    padding-bottom: 45%; /* Aspect ratio 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

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