/* Global Styles */

:root {
    --primary-color: #1a2952;
    --navy-blue: #0f1824;
    --secondary-color: #d4af37;
    --dark-bg: #0f1824;
    --light-bg: #f8f9fa;
    --text-dark: #2a2a2a;
    --text-light: #ffffff;
    --accent: #d4af37;
    --gradient-1: linear-gradient(135deg, #0f1824 0%, #1a2952 100%);
    --gradient-2: linear-gradient(135deg, #1a2952 0%, #2d3e5f 100%);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* Navigation */

.navbar {
    background: var(--navy-blue);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--text-light);
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo i {
    color: var(--accent);
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}


/* Hide mobile menu markup on desktop; enable via media query */

#mobileMenu {
    display: none;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: var(--transition);
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--primary-color);
    min-width: 250px;
    list-style: none;
    padding: 1rem 0;
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    padding: 0.75rem 1.5rem;
    display: block;
}

.dropdown-menu a {
    padding: 0.75rem 1.5rem;
    display: block;
    color: var(--text-light);
}

.dropdown-menu a:hover {
    color: var(--accent);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1100;
    transition: var(--transition);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}


/* Hero Section */

.hero {
    background: linear-gradient(135deg, #0f1824 0%, #1a2952 100%);
    color: var(--text-light);
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-weight: bold;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.hero-title .accent-word {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-weight: 500;
    line-height: 1.4;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.95;
    color: var(--text-light);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}


/* Buttons */

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--accent);
    color: var(--navy-blue);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
    background: #f0d460;
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

.btn-secondary:hover {
    background: var(--accent);
    color: var(--navy-blue);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

.btn-outline:hover {
    background: var(--accent);
    color: var(--navy-blue);
}


/* Section Title */

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
    font-weight: bold;
    color: var(--navy-blue);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.section-title.light {
    color: var(--text-light);
}


/* Mission Section */

.mission {
    padding: 5rem 0;
    background: var(--light-bg);
}

.mission-text {
    text-align: center;
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    color: var(--text-dark);
}


/* Ensure sections with light backgrounds show dark text for readability */


/* (Removed temporary overrides — sections should use explicit styles where needed) */


/* Services Overview */

.services-overview {
    padding: 5rem 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    text-align: center;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
    border-color: var(--accent);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #1a2952 0%, #2d3e5f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    font-size: 2rem;
    color: var(--accent);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--navy-blue);
    font-weight: bold;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}


/* Academy Highlight */

.academy-highlight {
    padding: 5rem 0;
    background: linear-gradient(135deg, #0f1824 0%, #1a2952 100%);
    color: var(--text-light);
    text-align: center;
}

.academy-content {
    max-width: 800px;
    margin: 0 auto;
}

.academy-highlight .section-title {
    color: var(--text-light);
}

.academy-description {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.academy-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}


/* Footer */

.footer {
    background: var(--navy-blue);
    color: var(--text-light);
    padding: 3rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h3,
.footer-column h4 {
    margin-bottom: 1rem;
    color: var(--accent);
    font-weight: bold;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: var(--text-light);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-column a:hover {
    opacity: 1;
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent);
    color: var(--navy-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}


/* Page Specific Styles */

.page-header {
    background: linear-gradient(135deg, #0f1824 0%, #1a2952 100%);
    color: var(--text-light);
    padding: 5rem 0 3rem;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.content-section {
    padding: 4rem 0;
}

.content-section:nth-child(even) {
    background: var(--light-bg);
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.content-box {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.content-box h3 {
    color: var(--navy-blue);
    margin-bottom: 1rem;
    font-weight: bold;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
}

.feature-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-dark);
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
    font-size: 1.2rem;
}


/* Cards Grid */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border: 2px solid transparent;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
    border-color: var(--accent);
}

.card-header {
    background: linear-gradient(135deg, #1a2952 0%, #2d3e5f 100%);
    color: var(--text-light);
    padding: 1.5rem;
    text-align: center;
}

.card-body {
    padding: 1.5rem;
}

.card-body h3 {
    margin-bottom: 1rem;
    color: var(--navy-blue);
    font-weight: bold;
}

.card-body ul {
    list-style: none;
    padding-left: 0;
}

.card-body li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
}

.card-body li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent);
}


/* Form Styles */

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: bold;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

a {
    transition: var(--transition);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}


/* Responsive Design */

@media (max-width: 968px) {
    /* Show mobile menu (the duplicate markup) only on small screens */
    #mobileMenu {
        display: flex;
        position: fixed;
        right: -100%;
        top: 70px;
        width: 80%;
        max-width: 400px;
        height: calc(100vh - 70px);
        flex-direction: column;
        background: var(--navy-blue);
        padding: 2rem;
        transition: right 0.3s ease;
        z-index: 999;
        overflow-y: auto;
        gap: 1rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    }
    /* Keep desktop nav-menu present but let it behave normally on mobile via CSS already present */
    .nav-menu:not(#mobileMenu) {
        display: none;
    }
    /* Ensure the mobile menu (ID selector) can be moved into view when active */
    #mobileMenu.active {
        right: 0;
    }
    /* Left-align mobile menu items and ensure consistent start position */
    #mobileMenu {
        padding: 2rem 1.5rem;
        align-items: flex-start;
    }
    #mobileMenu li {
        width: 100%;
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(212, 175, 55, 0.06);
    }
    /* Make links span full width and align text to left */
    #mobileMenu a {
        display: block;
        width: 100%;
        text-align: left;
        padding: 0.5rem 0;
        color: var(--text-light);
    }
    #mobileMenu a i {
        margin-right: 8px;
    }
    .nav-menu li {
        border-bottom: 1px solid rgba(212, 175, 55, 0.2);
        padding: 1rem 0;
    }
    .hamburger {
        display: flex;
    }
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    .dropdown.active .dropdown-menu {
        max-height: 500px;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.5rem;
    }
    .hero {
        padding: 4rem 0;
    }
    .two-column {
        grid-template-columns: 1fr;
    }
    .page-header h1 {
        font-size: 2rem;
    }
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 3rem 0;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1.2rem;
    }
    .section-title {
        font-size: 1.75rem;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .page-header h1 {
        font-size: 1.75rem;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .btn {
        width: 100%;
    }
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.75rem;
    }
    .nav-menu {
        width: 100%;
        max-width: 100%;
    }
}

/* Contact links: different font and blue color for phone/email/whatsapp */
.footer .footer-column li a[href^="tel"],
.footer .footer-column li a[href^="mailto"],
.footer .footer-column li a[href*="wa.me"] {
    color: #1e90ff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 600;
    text-decoration: none;
}
.footer .footer-column li a[href^="tel"]:hover,
.footer .footer-column li a[href^="mailto"]:hover,
.footer .footer-column li a[href*="wa.me"]:hover {
    color: #63a4ff;
}