/* --- Google Font Import --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

/* --- CSS Variables (Dark Theme is Default) --- */
:root {
    --bg-color: #0f172a; /* Dark Blue */
    --card-bg: rgba(30, 41, 59, 0.5); /* Semi-transparent dark card */
    --header-bg: rgba(15, 23, 42, 0.7);
    --text-color: #f1f5f9; /* Light Gray/White */
    --text-muted: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.15);
    --hero-overlay: linear-gradient(to right, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.7));
    --hero-text-color: #ffffff;
    --primary-yellow: #fdd835;
    --primary-blue: #0b2a4a;
    --accent-red: #f9690e;
}

body.light-mode {
    --bg-color: #f8f9fa; /* Off-white */
    --card-bg: rgba(255, 255, 255, 0.6);
    --header-bg: rgba(255, 255, 255, 0.7);
    --text-color: #0f172a; /* Dark Blue/Black */
    --text-muted: #475569;
    --border-color: rgba(0, 0, 0, 0.1);
    --hero-overlay: linear-gradient(to right, rgba(248, 249, 250, 0.8), rgba(248, 249, 250, 0.6));
    --hero-text-color: #0f172a;
}

/* --- Base & Reset Styles --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; background-color: var(--bg-color); color: var(--text-color); line-height: 1.7; overflow-x: hidden; transition: background-color 0.3s, color 0.3s; }
.container { width: 90%; max-width: 1140px; margin: 0 auto; }
h1, h2, h3, h4 { line-height: 1.3; font-weight: 700; color: var(--text-color); }
h1 { font-size: 3.5rem; } h2 { font-size: 2.5rem; } h3 { font-size: 1.5rem; }
p { color: var(--text-muted); margin-bottom: 1rem; }
a { text-decoration: none; color: inherit; transition: color 0.3s ease; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.section { padding: 6rem 0; }

/* --- Utility Classes --- */
.btn { display: inline-block; padding: 0.8rem 2rem; border-radius: 50px; font-weight: 600; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px; transition: all 0.3s ease; border: 2px solid transparent; cursor: pointer; }
.btn-primary { background: linear-gradient(90deg, var(--accent-red), #ff8a65); color: white; box-shadow: 0 5px 20px rgba(249, 105, 14, 0.4); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(249, 105, 14, 0.6); }
/* Default button style (for Dark theme) */
.btn-secondary { background-color: transparent; border-color: var(--primary-yellow); color: var(--primary-yellow); }
.btn-secondary:hover { background-color: var(--primary-yellow); color: var(--primary-blue); }
/* Light theme override */
body.light-mode .btn-secondary { border-color: var(--primary-blue); color: var(--primary-blue); }
body.light-mode .btn-secondary:hover { background-color: var(--primary-blue); color: white; }
.section-title { text-align: center; margin-bottom: 4rem; }
.section-title span { display: block; color: var(--accent-red); font-weight: 600; margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 1px; }

/* --- Header & Navigation --- */
.main-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 1rem 0; transition: all 0.3s ease; }
.main-header.scrolled { background-color: var(--header-bg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 0.75rem 0; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.navbar { display: flex; justify-content: space-between; align-items: center; }
.navbar .logo img { height: 100px; transition: height 0.3s ease; }
.main-header.scrolled .navbar .logo img { height: 50px; }
.nav-links { display: flex; list-style: none; gap: 2.5rem; }
.nav-links a { font-weight: 500; position: relative; padding-bottom: 0.5rem; }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background-color: var(--accent-red); transition: width 0.3s ease; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover, .nav-links a.active { color: var(--accent-red); }
.nav-right { display: flex; align-items: center; gap: 1.5rem; }
#theme-toggle { background: transparent; border: 1px solid var(--border-color); color: var(--text-muted); width: 40px; height: 40px; border-radius: 50%; cursor: pointer; display: flex; justify-content: center; align-items: center; font-size: 1.1rem; transition: all 0.3s ease; }
#theme-toggle:hover { color: var(--accent-red); border-color: var(--accent-red); }
/* Default state (Dark mode) shows the Sun icon */
#theme-toggle .fa-moon { display: none; }
#theme-toggle .fa-sun { display: inline-block; }
/* Light mode override shows the Moon icon */
body.light-mode #theme-toggle .fa-moon { display: inline-block; }
body.light-mode #theme-toggle .fa-sun { display: none; }
.hamburger { display: none; cursor: pointer; z-index: 1001; }
.hamburger div { width: 25px; height: 3px; background-color: var(--text-color); margin: 5px 0; transition: all 0.3s ease; }

/* --- Hero Section --- */
.hero { height: 100vh; display: flex; align-items: center; background: url('bg-hero.jpg') no-repeat center center/cover; position: relative; }
.hero::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: var(--hero-overlay); }
#particles-js { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.hero-content { position: relative; z-index: 2; max-width: 650px; }
.hero-content h1 { margin-bottom: 1.5rem; color: var(--hero-text-color); font-size: 3.8rem; }
.hero-content h1 span { color: var(--accent-red); }
.hero-content p { font-size: 1.1rem; margin-bottom: 2rem; color: var(--text-muted); }
.hero-actions { display: flex; gap: 1rem; }

/* --- Glassmorphism Card Style --- */
.feature-card, .service-card, .process-step, .testimonial-card { background: var(--card-bg); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); border: 1px solid var(--border-color); border-radius: 15px; padding: 2.5rem 2rem; transition: transform 0.3s ease, box-shadow 0.3s ease; box-shadow: 0 4px 6px rgba(0,0,0,0.05); }
/* Default hover (Dark theme) */
.feature-card:hover, .service-card:hover, .process-step:hover, .testimonial-card:hover { transform: translateY(-10px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
/* Light theme override */
body.light-mode .feature-card:hover, body.light-mode .service-card:hover, body.light-mode .process-step:hover, body.light-mode .testimonial-card:hover { box-shadow: 0 10px 20px rgba(0,0,0,0.1); }

/* --- Why Choose Us Section --- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.feature-card { text-align: center; }
.feature-card .icon { font-size: 3rem; color: var(--accent-red); margin-bottom: 1.5rem; }

/* --- Services Overview Section --- */
.services-overview { background-color: var(--bg-color); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.service-card { text-align: center; }
.service-icon { font-size: 3rem; color: var(--accent-red); margin-bottom: 1rem; }
.service-card a { font-weight: 600; color: var(--accent-red); margin-top: 1rem; display: inline-block; }
.service-card a i { transition: transform 0.3s ease; }
.service-card:hover a i { transform: translateX(5px); }

/* --- Our Process Section --- */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.process-step { text-align: center; position: relative; padding-top: 4rem; }
.step-number { position: absolute; top: 0rem; left: 50%; transform: translateX(-50%); font-size: 4rem; font-weight: 800; color: var(--border-color); z-index: -1; }
.step-icon { font-size: 2.5rem; color: var(--accent-red); margin-bottom: 1rem; }

/* --- Testimonials Section --- */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.testimonial-card .fa-quote-left { font-size: 2.5rem; color: var(--primary-yellow); margin-bottom: 1rem; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.testimonial-author h4 { font-weight: 600; color: var(--text-color); margin: 0; }
.testimonial-author span { color: var(--text-muted); font-size: 0.9rem; }

/* --- FAQ Section --- */
.faq-accordion { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border-color); border-radius: 10px; margin-bottom: 1rem; overflow: hidden; }
.faq-question { width: 100%; background: transparent; border: none; text-align: left; padding: 1.5rem; font-family: 'Poppins', sans-serif; font-size: 1.1rem; font-weight: 600; color: var(--text-color); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-question i { transition: transform 0.3s ease; }
.faq-item.active .faq-question i { transform: rotate(180deg); color: var(--accent-red); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-in-out; }
.faq-answer p { padding: 0 1.5rem 1.5rem; border-top: 1px solid var(--border-color); margin: 0; padding-top: 1.5rem; }

/* --- CTA Banner --- */
.cta-banner { background: var(--primary-blue); padding: 5rem 0; text-align: center; }
.cta-banner h2, .cta-banner p { color: white; }
.cta-banner p { max-width: 600px; margin: 1rem auto 2rem; }
.cta-banner .btn-primary:hover { background: white; color: var(--primary-blue); box-shadow: none; }

/* --- Footer --- */
.main-footer { background-color: #0c1221; color: #94a3b8; padding: 5rem 0 2rem; border-top: 3px solid var(--primary-yellow); }
body.light-mode .main-footer { background-color: #e9ecef; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; margin-bottom: 3rem; }
.footer-col h4 { color: var(--accent-red); margin-bottom: 1.5rem; }
.footer-col ul li { margin-bottom: 0.75rem; }
.footer-col ul li i { margin-right: 0.5rem; color: var(--accent-red); }
.footer-col a:hover { color: var(--accent-red); padding-left: 5px; }
.footer-socials { display: flex; gap: 1rem; }
.footer-socials a { width: 40px; height: 40px; display: flex; justify-content: center; align-items: center; background-color: var(--card-bg); border-radius: 50%; color: var(--text-color); transition: all 0.3s ease; font-size: 1rem; }
.footer-socials a:hover { background-color: var(--accent-red); color: white; transform: translateY(-3px); }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid var(--border-color); font-size: 0.9rem; }

/* --- Floating Buttons --- */
.whatsapp-float, #scrollToTopBtn { position: fixed; width: 55px; height: 55px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 1.8rem; box-shadow: 0 5px 15px rgba(0,0,0,0.2); z-index: 99; transition: all 0.3s ease; }
.whatsapp-float { bottom: 20px; left: 20px; background-color: #25D366; color: white; }
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 20px rgba(0,0,0,0.3); }
#scrollToTopBtn { bottom: 20px; right: 20px; background-color: var(--primary-yellow); color: var(--primary-blue); cursor: pointer; border: none; opacity: 0; visibility: hidden; transform: translateY(20px); }
#scrollToTopBtn.show { opacity: 1; visibility: visible; transform: translateY(0); }
#scrollToTopBtn:hover { background-color: var(--accent-red); color: white; }

/* --- Responsive Styles --- */
@media (max-width: 992px) {
    h1 { font-size: 2.8rem; } h2 { font-size: 2rem; }
    .hero-content h1 { font-size: 3rem; }
    .nav-links { position: fixed; top: 0; right: -100%; width: 100%; max-width: 320px; height: 100vh; background-color: var(--bg-color); flex-direction: column; justify-content: center; align-items: center; transition: right 0.4s ease-in-out; z-index: 1000; box-shadow: -10px 0 30px rgba(0,0,0,0.1); }
    .nav-links.active { right: 0; }
    .nav-right .header-btn { display: none; }
    .hamburger { display: block; }
    .hamburger.toggle .line1 { transform: rotate(-45deg) translate(-5px, 6px); }
    .hamburger.toggle .line2 { opacity: 0; }
    .hamburger.toggle .line3 { transform: rotate(45deg) translate(-5px, -6px); }
}

@media (max-width: 576px) {
    .hero { text-align: center; }
    .hero-content h1 { font-size: 2.5rem; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-actions .btn { width: 100%; max-width: 300px; }
    .whatsapp-float, #scrollToTopBtn { width: 50px; height: 50px; }
}

/* --- Page Header for Internal Pages --- */
.page-header {
    padding-top: 10rem;
    padding-bottom: 5rem;
    text-align: center;
    background-color: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
}
.page-header h1 {
    margin-bottom: 1rem;
}
.page-header p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}
@media (max-width: 768px) {
    .page-header {
        padding-top: 8rem;
        padding-bottom: 4rem;
    }
    .page-header h1 {
        font-size: 2.2rem;
    }
}

/* --- About Page Specific Styles --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Meet the Team Section --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.team-card {
    text-align: center;
}
.team-card img {
    width: 180px;
    height: 180px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 1.5rem auto;
    border: 5px solid var(--border-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}
.team-card:hover img {
    border-color: var(--accent-red);
    transform: scale(1.05);
}
.team-card h4 {
    margin-bottom: 0.25rem;
    color: var(--text-color);
}
.team-card span {
    color: var(--accent-red);
    font-weight: 500;
}

/* --- Contact Page Specific Styles --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: flex-start;
}
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}
.contact-info h3, .contact-form h3 {
    margin-bottom: 2rem;
}
.contact-info ul {
    list-style: none;
    padding: 0;
}
.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}
.contact-info li i {
    font-size: 1.2rem;
    color: var(--accent-red);
    margin-right: 1rem;
    margin-top: 5px;
    width: 20px;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-color);
    color: var(--text-color);
    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,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-red);
    box-shadow: 0 0 0 3px rgba(249, 105, 14, 0.2);
}
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}
.contact-form button {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
}

/* Map Section */
.map-container {
    margin-top: 6rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.map-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
}