/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Open+Sans&display=swap');

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

/* HTML & Body full height for iOS Safari */
html, body {
    height: 100dvh;
}

/* Body & Background */
body.site-bg {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #fff;
    min-height: 100vh;
    position: relative;
    z-index: 0;
}

/* Fixed background with gradient overlay */
body.site-bg::before {
    content: "";
    position: fixed; 
    top: 0; 
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("assets/background.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center 50%;
    background-color: #000;
    z-index: -2;
}

body.site-bg::after {
    content: "";
    position: fixed;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.4));
    z-index: -1;
}

/* Page wrapper */
.page-wrapper {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

/* Header / Navigation */
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.2rem 1rem; 
    background-color: #e08e21;
    position: sticky; 
    top:0; 
    z-index:1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Logo */
.logo img {
    height: 80px;
    width: auto;
    margin-left: 20px;
}

/* Center nav links */
.nav-center {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex: 1;
}

.nav-center a {
    color:#fff;
    text-decoration:none;
    font-weight:bold;
    font-size: 1.5rem;
    transition:0.3s;
    opacity: 0; 
    transform: translateY(-20px);
    animation: navFadeIn 1s ease forwards;
}

.nav-center a:nth-child(1) { animation-delay: 0.2s; }
.nav-center a:nth-child(2) { animation-delay: 0.4s; }
.nav-center a:nth-child(3) { animation-delay: 0.6s; }
.nav-center a:nth-child(4) { animation-delay: 0.8s; }

.nav-center a:hover { color:#f0a500; }
.nav-center a.active { text-decoration:underline; color:#f0a500; }

/* Phone number on the right */
.nav-phone {
    font-weight: bold;
    color:#fff;
    font-size: 1.5rem;
    opacity: 0;
    transform: translateY(-20px);
    animation: navFadeIn 1s ease forwards;
    animation-delay: 1s;
    margin-right: 20px;
}

/* Animation keyframes */
@keyframes navFadeIn {
    to { opacity: 1; transform: translateY(0); }
}

/* Hero Section */
.hero {
    position: relative;
    height: 60vh;
    display:flex;
    justify-content:center;
    align-items:center;
    padding: 0.2rem 1rem;
    text-align:center;
}

.hero-text {
    max-width: 700px;
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeIn 1.2s ease-out forwards;
}

.hero-text h1 {
    font-family:'Montserrat', sans-serif;
    font-size:3rem;
    margin-bottom:1rem;
    color: #f0a500;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.hero-text p {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.6);
    color: #fff;
}

@keyframes heroFadeIn {
    to { opacity: 1; transform: translateY(0); }
}

/* Buttons */
.btn-primary {
    display:inline-block;
    padding:0.8rem 2rem;
    background-color:#0d47a1;
    color:white;
    border:none;
    border-radius:5px;
    text-decoration:none;
    font-weight:bold;
    transition:0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
    background-color:#0b3a91;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(240,165,0,0.6);
}

/* About & Service Content */
.about-content {
    max-width: 1000px;
    margin: 1rem auto;
    padding: 0 2rem;
    color: #fff;
    text-align: center;
}

.about-content h2 {
    font-family:'Montserrat', sans-serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #f0a500;
}

.about-content p {
    font-size: 1.2rem;
}

/* Service Cards */
.program-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.card {
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 2rem;
    border-radius: 12px;
    width: 300px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.5);
    transition: transform 0.4s ease, box-shadow 0.4s ease, background-color 0.4s ease;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeUp 0.8s forwards;
}

.card:nth-child(1) { animation-delay: 0.2s; }
.card:nth-child(2) { animation-delay: 0.4s; }
.card:nth-child(3) { animation-delay: 0.6s; }
.card:nth-child(4) { animation-delay: 0.8s; }

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.7);
    background-color: rgba(0,0,0,0.75);
}

.card h3 {
    font-family:'Montserrat', sans-serif;
    color:#f0a500;
    margin-bottom:1rem;
}

.card p {
    color:#f0f0f0;
    margin-bottom:1.5rem;
}

.card .service-icon {
    font-size:2.5rem;
    color:#f0a500;
    margin-bottom:1rem;
}

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Forms */
.about-content form, .application-form {
    background-color: rgba(0,0,0,0.6);
    padding: 2rem;
    border-radius: 12px;
    max-width: 600px;
    margin: 2rem auto;
    box-shadow: 0 6px 20px rgba(0,0,0,0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-content form:hover, .application-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.7);
}

.about-content form input,
.about-content form textarea,
.application-form input,
.application-form textarea,
.application-form select {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    border: none;
    font-size: 1.1rem;
    background-color: #fff;
    color: #000;
    transition: 0.3s;
}

.about-content form input:focus,
.about-content form textarea:focus,
.application-form input:focus,
.application-form textarea:focus,
.application-form select:focus {
    outline: 2px solid #f0a500;
    background-color: #fff;
}

/* Form button */
.about-content form button,
.application-form button {
    background-color: #0d47a1;
    color: #fff;
    padding: 1rem 2rem;
    font-weight: bold;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: 0.3s, transform 0.2s;
}

.about-content form button:hover,
.application-form button:hover {
    transform: scale(1.05);
    background-color: #1565c0;
    box-shadow: 0 0 15px rgba(240,165,0,0.6);
}

/* Footer */
footer {
    background-color: #e08e21;
    color:white;
    text-align:center;
    padding:2rem 1rem;
}

.footer-links a {
    color:white;
    margin:0 0.5rem;
    text-decoration:none;
}

.footer-links a:hover { text-decoration:underline; }

/* Dashboard Cards Matching Top AGL Style */
.dashboard-cards .card,
.dashboard-right .activity-feed,
.dashboard-right .quick-actions,
.dashboard-right .charts {
    background-color: #1a1a1a86; /* match dark/navy background of your site */
    color: #fff; /* white text */
    box-shadow: 0 2px 6px rgba(0,0,0,0.5); /* subtle shadow */
    border: 1px solid #333; /* optional border to match style */
}

.dashboard-cards .card h3,
.dashboard-right h3 {
    color: #f0a500; /* match your site accent color */
}

.dashboard-right .quick-actions button {
    background-color: #f0a500; /* accent color */
    color: #fff;
}

.dashboard-right .quick-actions button:hover {
    background-color: #f0a500;
}

/* Ensure Chart canvas has proper size */
.charts canvas {
    width: 100% !important;
    height: 200px !important; /* adjust as needed */
}

/* Main menu dropdown */
.menu-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: #111;
    min-width: 220px;
    z-index: 1000;
    border-radius: 5px;
    overflow: hidden;
}

/* All links in menu */
.menu-content a {
    display: block;
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    transition: background 0.2s;
}
.menu-content a:hover { background-color: #333; }

/* Show menu when toggled */
.menu-content.show { display: block; }

/* Submenu */
.menu-content .submenu {
    display: none;
    background-color: #222;
    margin-left: 0; /* aligned to parent */
}
.menu-content .submenu a {
    padding-left: 40px; /* indent submenu links */
}
.menu-content .submenu.show { display: block; }

.menu-content .submenu {
    display: none;
    background-color: #222;
    margin-left: 0;
}
.menu-content .submenu a {
    padding-left: 30px;
}
.menu-content .submenu.show {
    display: block;
}
