:root {
    --bg-color: #1a103c;
    --bg-gradient: linear-gradient(145deg, #1a103c 0%, #120c29 50%, #0c081a 100%);
    --primary-gradient: linear-gradient(90deg, #8A2BE2 0%, #00BFFF 100%);
    --text-color: #f0f0f8;
    --text-muted: #a0a0b8;
    --card-bg: rgba(35, 25, 70, 0.4);
    --card-border: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(10px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-color);
    background-image: var(--bg-gradient);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
section { padding: 6rem 0; }
h1, h2, h3 { line-height: 1.2; margin-bottom: 1rem; font-weight: 700; }
h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; text-align: center; }
p { margin-bottom: 1rem; color: var(--text-muted); }
.text-center { text-align: center; }
.section-subtitle { max-width: 600px; margin: 0 auto 3rem auto; }

/* Gradient Text */
.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    display: inline-block;
}

/* Header & Nav */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    z-index: 1000;
    background: rgba(26, 16, 60, 0.8);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--card-border);
}
/* Add this to your style.css */
/* This is the corrected rule */
.page-header {
    text-align: center;
    padding-top: 10rem;    /* Creates space for the fixed header, just like the homepage */
    padding-bottom: 4rem;  /* Keeps some space at the bottom of the header section */
    background: rgba(0,0,0,0.1);
}
.page-header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}
.page-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}
.main-header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 800; color: var(--text-color); text-decoration: none; }
.logo i { margin-right: 0.5rem; color: #00BFFF;}
/* Style for the new image-based logo */
.logo img {
    height: 55px; /* Adjust this value to make the logo bigger or smaller */
    width: auto;
    display: block;
}
.main-nav a { color: var(--text-color); text-decoration: none; margin-left: 1.5rem; transition: color 0.3s; }
.main-nav a:hover { color: #00BFFF; }
.main-nav a.active {
            color: var(--primary-color);
            font-weight: 700;
        }
/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-gradient { background: var(--primary-gradient); color: white; border: none;}
.btn-dark { background: #1060e0; color: white; border: 1px solid var(--card-border); }
.btn:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); }

/* Hero Section */
.hero { padding-top: 10rem; }
.hero .container { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 4rem; }
.hero-tag { display: inline-block; background: var(--card-bg); padding: 0.5rem 1rem; border-radius: 50px; font-size: 0.9rem; margin-bottom: 1rem; border: 1px solid var(--card-border); }
.hero-buttons { margin-top: 2rem; display: flex; gap: 1rem; }
.hero-image img { width: 100%; border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.hero-stats { display: flex; gap: 3rem; margin-top: 3rem; }
.stat h3 { font-size: 2.5rem; }

/* Generic Card Style */
.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    transition: transform 0.3s, box-shadow 0.3s;
}
.glass-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.2); }

/* Services Section */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 4rem; }
.service-card .icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px; height: 60px;
    background: var(--primary-gradient);
    border-radius: 12px;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1.5rem;
}
.service-card ul { list-style: none; padding-left: 0; margin-top: 1rem; }
.service-card ul li { margin-bottom: 0.5rem; color: var(--text-muted); }
.service-card ul li i { color: #00BFFF; margin-right: 0.5rem; }

/* Testimonials Section */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 4rem; }
.testimonial-card .stars { color: #ffc107; margin-bottom: 1rem; }
.testimonial-card .author { display: flex; align-items: center; margin-top: 1.5rem; }
.testimonial-card .author-avatar {
    width: 50px; height: 50px; border-radius: 50%;
    background: var(--primary-gradient); color: white;
    display: flex; justify-content: center; align-items: center;
    font-weight: bold; margin-right: 1rem;
}

/* Contact Section */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; margin-top: 4rem; }
.contact-info-item { display: flex; align-items: flex-start; gap: 1.5rem; margin-bottom: 2rem; }
.contact-info-item .icon { font-size: 1.5rem; color: #00BFFF; margin-top: 5px; }
.contact-form .form-group { margin-bottom: 1.5rem; }
.contact-form label { display: block; margin-bottom: .5rem; font-size: .9rem; color: var(--text-muted); }
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 1rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: #00BFFF; }
.contact-form textarea { resize: vertical; min-height: 150px; }
.form-row { display: flex; gap: 1rem; }
.form-row .form-group { flex: 1; }

/* Footer */
.main-footer { background: #0c081a; padding: 4rem 0 2rem 0; border-top: 1px solid var(--card-border); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
.footer-col h4 { margin-bottom: 1rem; }
.footer-col p, .footer-col a { color: var(--text-muted); text-decoration: none; }
.footer-col a { display: block; margin-bottom: 0.5rem; transition: color 0.3s; }
.footer-col a:hover { color: white; }
.social-links a { display: inline-block; margin-right: 1rem; font-size: 1.2rem; }
.footer-bottom { text-align: center; margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--card-border); color: var(--text-muted); font-size: 0.9rem; }

/* Animation */
.fade-in-element { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-in-element.is-visible { opacity: 1; transform: translateY(0); }

/*
=================================
  CUSTOM ALERT MESSAGE STYLES
=================================
*/
.alert {
    padding: 1.25rem 1.5rem; /* More vertical padding */
    margin-bottom: 2rem;
    border: none; /* Remove the default border */
    border-radius: 12px; /* Nicely rounded corners */
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    transition: opacity 0.5s ease;
}

/* --- Success Message (matches your image) --- */
.alert-success {
    background-color: #d1e7dd; /* Light minty green background */
    color: #0a3622; /* Dark, readable green text */
}

/* --- Error Message (for validation failures) --- */
.alert-danger {
    background-color: #f8d7da; /* Light pink/red background */
    color: #58151c; /* Dark red text */
}

.alert-danger ul {
    margin: 0;
    padding: 0;
    list-style: none; /* We don't need bullet points for a clean look */
    text-align: left;
}
.alert-danger ul li {
    margin-bottom: 0.5rem;
}
.alert-danger ul li:last-child {
    margin-bottom: 0;
}

/* Responsive */
@media(max-width: 992px) {
    h1 { font-size: 2.8rem; }
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero-image { grid-row: 1; margin-bottom: 2rem; }
    .hero-buttons, .hero-stats { justify-content: center; }
    .contact-grid { grid-template-columns: 1fr; }
}
@media(max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    section { padding: 4rem 0; }
    .main-nav { display: none; } /* Simple hiding for demo, can be replaced with burger menu */
    .form-row { flex-direction: column; gap: 0; }
}

/*
=================================
  MOBILE NAVIGATION STYLES
=================================
*/

/* --- Hamburger Menu Button --- */
.mobile-nav-toggle {
    display: none; /* Hidden by default on desktop */
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem; /* 24px */
    cursor: pointer;
    z-index: 1001; /* Must be on top of the mobile menu */
}

.mobile-nav-toggle .icon-close {
    display: none; /* The 'X' icon is hidden by default */
}

/* --- Mobile Menu Container (when active) --- */
.main-nav.mobile-nav-active {
    display: flex; /* Overrides the 'display: none' from the media query */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(12, 8, 26, 0.95); /* Semi-transparent dark background */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 1000;
}

/* --- Links inside the mobile menu --- */
.main-nav.mobile-nav-active a {
    font-size: 1.5rem;
    margin: 1rem 0; /* Add vertical spacing */
    padding: 0.5rem 1rem;
}

/* --- Body class to prevent scrolling when menu is open --- */
body.no-scroll {
    overflow: hidden;
}


/* --- THE RESPONSIVE LOGIC --- */
@media (max-width: 768px) {
    /* Hide the desktop navigation links */
    .main-nav {
        display: none;
    }

    /* Show the hamburger button */
    .mobile-nav-toggle {
        display: block;
    }
}

/* Scroll to Top & WhatsApp Icon */
.scroll-to-top, .whatsapp-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #00BFFF;
    font-size: 1.5rem;
    z-index: 1500;
    transition: transform 0.3s ease, opacity 0.3s ease;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}
.scroll-to-top {
    bottom: 80px; /* Space for WhatsApp icon below */
    opacity: 0;
    visibility: hidden;
}
.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}
.scroll-to-top:hover, .whatsapp-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.whatsapp-icon {
    background: linear-gradient(90deg, #25D366 0%, #128C7E 100%); /* WhatsApp green gradient */
    color: white;
}
.whatsapp-icon i::before {
    content: "\f232"; /* Font Awesome WhatsApp icon */
}

/* Responsive Adjustments */
@media(max-width: 768px) {
    .scroll-to-top, .whatsapp-icon { width: 40px; height: 40px; font-size: 1.2rem; }
    .scroll-to-top { bottom: 70px; }
    .whatsapp-icon { bottom: 20px; }
}

select, input, textarea {
    background-color: #1c1535; /* or match with form bg */
    color: #fff;
    border: 1px solid #555;
    border-radius: 6px;
    padding: 10px;
    width: 100%;
    font-size: 14px;
    margin-bottom: 5px ;
}

select:focus, input:focus, textarea:focus {
    outline: none;
    border-color: #7c4dff; /* purple gradient tone */
    box-shadow: 0 0 5px rgba(124, 77, 255, 0.5);
}

button[type="submit"] {
    background: linear-gradient(45deg, #7c4dff, #673ab7);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
}

button[type="submit"]:hover {
    background: linear-gradient(45deg, #9575cd, #7e57c2);
}

.footer-heading {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

