/* --- Global Styles & Variables --- */
:root {
    /* Core Palette based on request */
    --primary-color: #1d1b5a;    /* Dark Indigo - DOMINANT COLOR */
    --accent-color: #00adef;     /* Bright Cyan - ACCENT COLOR */
    --white-color: #ffffff;     /* Pure White */

    /* Supporting Colors */
    --light-color: var(--white-color); /* Light background IS white now */
    --dark-color: #333333;      /* Standard dark grey for text on white */
    --grey-color: #e0e0e0;      /* Lighter Grey for borders */
    --light-accent-color: #e0f7ff; /* Very pale version of accent for subtle hovers */
    --success-color: #28a745;   /* Keep green for checkmarks */

    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --header-height: 70px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-family);
    line-height: 1.7;
    color: var(--dark-color);
    background-color: var(--white-color); /* Body background is pure white */
}

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

h1, h2, h3 {
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 600;
    color: var(--primary-color); /* Headings use dominant dark indigo */
}
h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; text-align: center; margin-bottom: 2.5rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
}

/* Links use bright cyan accent */
a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}
/* Link hover uses dominant dark indigo */
a:hover {
    color: var(--primary-color);
}

ul {
    list-style: none;
}

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

.section {
    padding: 4rem 0;
}

/* Sections that were light grey are now white, with borders */
.bg-light {
    background-color: var(--light-color); /* White */
    border-top: 1px solid var(--grey-color); /* Subtle border */
    border-bottom: 1px solid var(--grey-color);
}

/* Sections with dark indigo background */
.bg-primary { background-color: var(--primary-color); }
.text-light { color: var(--white-color); }
.text-light h1, .text-light h2, .text-light p { color: var(--white-color); }
/* Links on dark bg are white, hover to cyan */
.text-light a { color: var(--white-color); }
.text-light a:hover { color: var(--accent-color); }
.text-light h2 { color: var(--white-color); }


/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border: 2px solid transparent;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    margin: 0.5rem 0.5rem 0.5rem 0;
}

/* Primary button uses dominant dark indigo */
.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
}
/* Primary button hover uses bright cyan accent */
.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--white-color);
    transform: translateY(-2px);
}

/* Secondary button outlined in dark indigo */
.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}
/* Hero secondary button (white outline/text) */
.hero .btn-secondary {
     color: var(--white-color);
     border-color: var(--white-color);
}

/* Secondary button hover fills with dark indigo */
.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}
/* Hero secondary button hover fills white */
.hero .btn-secondary:hover {
     background-color: var(--white-color);
     color: var(--primary-color);
     border-color: var(--white-color);
}

/* Button for dark backgrounds (CTA/Footer) */
.btn-light {
    background-color: var(--white-color);
    color: var(--primary-color); /* Dark indigo text */
    border-color: var(--white-color);
}
/* Light button hover uses accent color */
.btn-light:hover {
    background-color: var(--accent-color);
    color: var(--white-color);
    border-color: var(--accent-color);
     transform: translateY(-2px);
}


/* --- Header --- */
/* Header uses dominant dark indigo background */
#main-header {
    background-color: var(--primary-color);
    color: var(--white-color); /* Default text is white */
    padding: 0 1rem;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Shadow still relevant */
    height: var(--header-height);
}

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

/* Header logo is white */
#main-header .logo a {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--white-color);
    text-decoration: none;
    text-transform: uppercase;
}
#main-header .logo img { height: 50px; width: auto; }

#main-nav ul { display: flex; list-style: none; }
#main-nav ul li { margin-left: 1.5rem; }

/* Header nav links are white */
#main-nav ul li a {
    color: var(--white-color);
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

/* Header nav link underline uses accent */
#main-nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

/* Header nav link hover uses accent */
#main-nav ul li a:hover,
#main-nav ul li a.active {
    color: var(--accent-color);
}
#main-nav ul li a:hover::after,
#main-nav ul li a.active::after {
     width: 100%;
}

/* Header menu toggle is white */
#menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--white-color);
    cursor: pointer;
}

/* --- Hero Section --- */
#hero {
    /* Overlay still uses primary dark indigo */
    background: linear-gradient(rgba(29, 27, 90, 0.75), rgba(29, 27, 90, 0.75)), url('images/transformer-day.jpg') no-repeat center center/cover;
    height: calc(100vh - var(--header-height));
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white-color);
    position: relative;
}
.hero-content h1 { font-size: 3.5rem; margin-bottom: 1rem; color: var(--white-color); font-weight: 700; }
.hero-content p { font-size: 1.3rem; margin-bottom: 2rem; max-width: 700px; margin-left: auto; margin-right: auto; color: #e0e0e0; }

/* --- About Section --- */
/* Background is now white (default body bg) */
.about-content { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: flex-start; }
@media (min-width: 768px) { .about-content { grid-template-columns: 1.5fr 1fr; text-align: left; } #about h2 { text-align: left; } }
.about-text strong { color: var(--primary-color); }
.about-image img { border-radius: 8px; box-shadow: 0 4px 8px rgba(0,0,0,0.1); }


/* --- Services Section --- */
/* Uses .bg-light which is now white with borders */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.service-card {
    background: var(--white-color); /* Explicitly white, though inherited */
    padding: 2rem;
    border-radius: 8px;
    /* Border comes from .bg-light container, or add here if needed */
     border: 1px solid var(--grey-color); /* Add border directly to card */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}
.service-card:hover { transform: translateY(-5px); box-shadow: 0 8px 15px rgba(0, 0, 0, 0.08); }

/* Service icons use accent color */
.service-icon { color: var(--accent-color); margin-bottom: 1rem; }
.service-card h3 { margin-bottom: 1rem; text-align: center; color: var(--primary-color); }
.service-card ul { text-align: left; padding-left: 0; }
.service-card li { margin-bottom: 0.6rem; position: relative; padding-left: 1.6rem; font-size: 0.95rem; }
/* Service list checkmarks use accent */
.service-card li::before { content: '\f058'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--accent-color); position: absolute; left: 0; top: 3px; font-size: 1.1em; }

/* --- Why Us Section --- */
/* Background is now white (default body bg) */
.why-us-list { list-style: none; padding-left: 0; max-width: 800px; margin: 0 auto; }
.why-us-list li { display: flex; align-items: flex-start; margin-bottom: 1rem; font-size: 1.1rem; }
.why-us-list i { color: var(--success-color); margin-right: 0.8rem; font-size: 1.3rem; margin-top: 4px; } /* Keep green check */
.why-us-list strong { color: var(--primary-color); }

/* --- CTA Section --- */
/* Uses .bg-primary (dark indigo) */
#cta { padding: 3rem 0; }
.cta-content { text-align: center; }
.cta-content h2 { margin-bottom: 0.5rem;}
.cta-content p { margin-bottom: 1.5rem; font-size: 1.1rem;}

/* --- Gallery Section --- */
/* Background is now white (default body bg) */
#gallery h2 { margin-bottom: 2rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; }
.gallery-grid img { width: 100%; height: 220px; object-fit: cover; border: 1px solid var(--grey-color); border-radius: 4px; box-shadow: 2px 2px 5px rgba(0,0,0,0.1); cursor: pointer; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.gallery-grid img:hover { transform: scale(1.03); box-shadow: 4px 4px 10px rgba(0,0,0,0.15); }
/* --- Partners Section --- */
/* Background is now white (default body bg) */
#Partners h2 { margin-bottom: 2rem; }
.Partners-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; }
.Partners-grid img { width: 100%; height: 220px; object-fit: cover; border: 1px solid var(--grey-color); border-radius: 4px; box-shadow: 2px 2px 5px rgba(0,0,0,0.1); cursor: pointer; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.Partners-grid img:hover { transform: scale(1.03); box-shadow: 4px 4px 10px rgba(0,0,0,0.15); }


/* --- Contact Section --- */
/* Uses .bg-light which is now white with borders */
.contact-details { max-width: 600px; margin: 1rem auto; text-align: center; }
.contact-details p { margin-bottom: 1rem; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; }
/* Contact icons use accent */
.contact-details i { color: var(--accent-color); margin-right: 0.7rem; width: 20px; text-align: center; font-size: 1.2em; }
.contact-details strong { margin-right: 0.5rem; color: var(--dark-color);} /* Strong tag is standard dark text */
/* Contact links use accent */
.contact-details a { font-weight: 500; color: var(--accent-color); }
.contact-details a:hover { color: var(--primary-color); }

/* --- Footer --- */
/* Uses primary dark indigo background */
footer {
    background-color: var(--primary-color);
    color: var(--grey-color);
    text-align: center;
    padding: 2rem 0;
    margin-top: 0;
    font-size: 0.9rem;
}
/* Footer links are white, hover to accent */
footer a { color: var(--white-color);}
footer a:hover { color: var(--accent-color);}

/* --- Scroll Reveal Animation Styles (Keep as is) --- */
.reveal { position: relative; opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* --- Lightbox Styles --- */
/* Overlay uses primary dark indigo */
.lightbox { display: none; position: fixed; z-index: 1001; padding-top: var(--header-height); left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(29, 27, 90, 0.92); }
.lightbox-content { margin: 3% auto; display: block; width: 85%; max-width: 750px; animation-name: zoom; animation-duration: 0.5s; }
@keyframes zoom { from {transform:scale(0.9)} to {transform:scale(1)} }
#lightbox-caption { margin: 10px auto; display: block; width: 80%; max-width: 700px; text-align: center; color: var(--grey-color); padding: 10px 0; height: auto; min-height: 30px; }
/* Close button is white, hovers to accent */
.lightbox-close { position: absolute; top: calc(var(--header-height) + 15px); right: 35px; color: var(--white-color); font-size: 45px; font-weight: bold; transition: 0.3s; line-height: 1; }
.lightbox-close:hover, .lightbox-close:focus { color: var(--accent-color); text-decoration: none; cursor: pointer; }

/* --- Responsive Design --- */

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.8rem; margin-bottom: 1.5rem;}
    .hero-content h1 { font-size: 2.8rem; }
    .hero-content p { font-size: 1.1rem; }

    #main-header .logo a { font-size: 1rem; }

    /* Mobile nav dropdown still white background */
    #main-nav {
        display: none; position: absolute; top: var(--header-height); left: 0; width: 100%; background-color: var(--white-color);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1); flex-direction: column; padding-bottom: 1rem; border-top: 1px solid var(--grey-color);
    }
    #main-nav.active { display: flex; }

    #main-nav ul { flex-direction: column; width: 100%; }
    #main-nav ul li { margin: 0; text-align: center; border-bottom: 1px solid var(--grey-color); }
    #main-nav ul li:last-child { border-bottom: none;}
    /* Mobile nav links use primary color */
    #main-nav ul li a { display: block; padding: 1rem; color: var(--primary-color); }
    /* Mobile nav hover uses light accent */
    #main-nav ul li a:hover { background-color: var(--light-accent-color); }
    #main-nav ul li a::after { display: none; }

    #menu-toggle { display: block; } /* Already white from #main-header */

    .about-content { grid-template-columns: 1fr; text-align: center; }
    #about h2 { text-align: center; }
    .about-image { margin-top: 1rem; }

    .services-grid { grid-template-columns: 1fr; }
    /* Service cards still need own border on mobile */
    .service-card { border: 1px solid var(--grey-color); }

    .gallery-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
    .gallery-grid img { height: 180px; }

    .lightbox-content { width: 90%; }
    .lightbox-close { top: calc(var(--header-height) + 10px); right: 25px; font-size: 35px;}

    .contact-details p { justify-content: center; }
}

@media (max-width: 480px) {
    :root { --header-height: 65px; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    .hero-content h1 { font-size: 2.2rem; }
    .hero-content p { font-size: 1rem; }

    #main-header .logo a { font-size: 0.9rem; }

    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-grid img { height: 220px; }

    .btn { padding: 0.7rem 1.4rem; font-size: 0.9rem;}

    .contact-details p { font-size: 1rem; }
    .contact-details i { margin-bottom: 0.3rem; }
}
