/* Global Styles */
:root {
    --primary-color: #002f6c;
    --secondary-color: #003366;
    --text-color: #333333;
    --bg-color: #f4f4f4;
    --white: #ffffff;
    --black: #000000;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    scroll-behavior: smooth;
}

.container {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

/* Header Styling */
header {
    background-color: var(--primary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
    height: 80px;
    width: auto;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

/* Navigation */
nav {
    display: flex;
}

nav a {
    text-decoration: none;
    color: var(--white);
    margin: 0 20px;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
    transition: var(--transition);
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--white);
    transition: var(--transition);
}

nav a:hover {
    color: var(--white);
}

nav a:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger div {
    width: 30px;
    height: 3px;
    background-color: var(--white);
    border-radius: 5px;
    transition: var(--transition);
}

/* Sidebar */
.sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    top: 0;
    right: 0;
    background-color: var(--primary-color);
    overflow-x: hidden;
    transition: width 0.4s ease-in-out;
    padding-top: 20px;
    z-index: 1000;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.sidebar-brand {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.sidebar-logo {
    width: 120px;
    height: auto;
    margin-bottom: 10px;
}

.sidebar-tagline {
    color: var(--white);
    font-size: 14px;
    opacity: 0.8;
}

.sidebar-section {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-section h4 {
    color: var(--white);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0 25px;
    margin-bottom: 10px;
    opacity: 0.7;
}

.sidebar a {
    text-decoration: none;
    color: var(--white);
    padding: 12px 25px;
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 500;
    transition: var(--transition);
}

.sidebar a i {
    margin-right: 12px;
    width: 20px;
    text-align: center;
}

.sidebar a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.sidebar .close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 28px;
    color: var(--white);
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.8;
    transition: var(--transition);
}

.sidebar .close-btn:hover {
    opacity: 1;
    transform: scale(1.1);
}

.sidebar-social {
    margin-top: auto;
    padding: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-social a {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    transition: all 0.3s ease;
}

.sidebar-social a:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.sidebar-social a i {
    margin: 0;
    width: auto;
}

/* When sidebar is open */
.sidebar.active {
    width: 300px;
}

/* Main Content Sections */
section {
    padding: 60px 40px;
    background-color: var(--white);
}

/* Countdown Page Animation */
.countdown-section {
    animation: gradientAnimation 15s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.text-content {
    max-width: 1200px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
    text-align: justify;
}

.text-content p {
    margin-bottom: 20px;
}

.highlight {
    color: var(--primary-color);
    font-weight: bold;
}

.quote {
    font-style: italic;
    margin: 30px 0;
    text-align: center;
    font-size: 20px;
    color: var(--primary-color);
    position: relative;
    padding: 20px 40px;
}

.quote::before,
.quote::after {
    content: '"';
    font-size: 50px;
    position: absolute;
    color: var(--primary-color);
    opacity: 0.2;
}

.quote::before {
    top: -10px;
    left: 0;
}

.quote::after {
    bottom: -30px;
    right: 0;
}

/* Card Layout */
.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
}

.card {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
    width: 350px;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.card-text {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Footer Styling */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    position: relative;
    margin-top: 0;
    padding: 0;
}

.footer-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    padding: 70px 40px 50px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    height: 180px;
    width: auto;
    max-width: 300px;
    margin: -10px;
    margin-left: -10px;
    margin-top: -60px;
    filter: brightness(0) invert(1);
    object-fit: contain;
    padding-right: 40px;
    margin-bottom: -30px;
}

.footer-tagline {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
    opacity: 0.9;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-col h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 10px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 14px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 15px;
    display: inline-block;
    position: relative;
    padding-left: 0;
}

.footer-col ul li a:hover {
    color: var(--white);
    transform: translateX(8px);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    margin-bottom: 18px;
}

.footer-contact li i {
    color: var(--white);
    font-size: 18px;
    width: 20px;
}

.footer-contact li a {
    color: rgba(255, 255, 255, 0.8) !important;
}

.footer-contact li a:hover {
    color: var(--white) !important;
    transform: none !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-legal a:hover {
    color: var(--white);
}

.footer-divider {
    color: rgba(255, 255, 255, 0.3);
}

/* Footer Responsive */
@media (max-width: 991px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 60px 40px 40px;
    }
    
    .footer-brand {
        max-width: 500px;
    }
    
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-main {
        padding: 50px 30px 30px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .footer-bottom {
        padding: 20px 30px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .footer-main {
        padding: 50px 20px 30px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-col h4 {
        margin-bottom: 20px;
    }
    
    .footer-bottom {
        padding: 20px;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-divider {
        display: none;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    margin: 10px 0;
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Form Styling */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 16px;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 47, 108, 0.1);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

/* Responsive Styling */
@media (max-width: 1024px) {
    header {
        padding: 20px 30px;
    }
    
    .logo {
        height: 70px;
    }
    
    nav a {
        font-size: 16px;
        margin: 0 15px;
    }
    
    section {
        padding: 50px 30px;
    }
    
    .text-content {
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }
    
    .logo {
        height: 60px;
    }
    
    nav {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    section {
        padding: 40px 20px;
    }
    
    .section-title {
        font-size: 30px;
    }
    
    .text-content {
        font-size: 16px;
    }
    
    .quote {
        font-size: 18px;
        padding: 15px 30px;
    }
    
    .card {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 10px 15px;
    }
    
    .logo {
        height: 50px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .text-content {
        font-size: 15px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Hero Section */
.hero-section {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 80px 40px;
    text-align: center;
    background-image: linear-gradient(135deg, rgba(0, 47, 108, 0.9), rgba(0, 51, 102, 0.8)), url('applogo.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 22px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 20px;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-content p {
        font-size: 18px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}

/* Quick Links Section */
.quick-links-section {
    background-color: var(--bg-color);
    padding: 80px 40px;
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Footer Navigation */
.footer-nav {
    margin-top: 20px;
}

.footer-nav a {
    color: var(--white);
    text-decoration: none;
    margin: 0 15px;
    font-size: 16px;
    transition: var(--transition);
}

.footer-nav a:hover {
    color: #e0e0e0;
    text-decoration: underline;
}

/* Approach Section */
.approach-section {
    background-color: var(--white);
    padding: 80px 40px;
}

@media (max-width: 768px) {
    .approach-section {
        padding: 40px 20px;
    }
}

/* Join Section */
.join-section {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 80px 40px 0 40px;
    text-align: center;
}

.join-section .section-title {
    color: var(--white);
}

.join-section .section-title::after {
    background-color: var(--white);
}

.join-section p {
    color: var(--white);
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 18px;
    opacity: 0.9;
}

.join-section .btn {
    background-color: var(--white);
    color: var(--primary-color);
    border: none;
    font-weight: 700;
}

.join-section .btn:hover {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

@media (max-width: 768px) {
    .join-section {
        padding: 60px 20px;
    }
    
    .join-section p {
        font-size: 16px;
    }
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
}

.btn-whatsapp i {
    font-size: 1.2em;
}

.sidebar-whatsapp {
    background-color: #25D366;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    margin: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: var(--transition);
}

.sidebar-whatsapp:hover {
    background-color: #128C7E;
    transform: translateX(5px);
}

.sidebar-whatsapp i {
    font-size: 1.2em;
}
