/* ===== CSS Variables ===== */
:root {
    --primary-color: #0d47a1;
    --primary-dark: #002171;
    --primary-light: #5472d3;
    --secondary-color: #c2185b;
    --accent-color: #ffc107;
    --text-dark: #1a1a2e;
    --text-light: #ffffff;
    --text-muted: #6c757d;
    --bg-light: #f8f9fa;
    --bg-dark: #0a1628;
    --gradient-primary: linear-gradient(135deg, #0d47a1 0%, #1565c0 50%, #1976d2 100%);
    --gradient-dark: linear-gradient(135deg, #0a1628 0%, #1a365d 100%);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.2);
    --transition: all 0.3s ease;
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(13, 71, 161, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(13, 71, 161, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-secondary:hover {
    background: var(--text-light);
    color: var(--primary-color);
}

.btn-block {
    width: 100%;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: var(--shadow-md);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    border-radius: 3px;
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
    padding: 100px 20px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 600px;
    animation: fadeInUp 1s ease;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    margin-bottom: 30px;
    border: 1px solid rgba(255,255,255,0.2);
}

.flag-icon {
    width: 24px;
    height: auto;
}

.hero-badge span {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    color: var(--text-light);
    margin-bottom: 20px;
}

.title-line {
    display: block;
}

.title-line.highlight {
    color: var(--accent-color);
    text-shadow: 2px 2px 20px rgba(255, 193, 7, 0.3);
}

.hero-slogan {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.9);
    font-style: italic;
    margin-bottom: 40px;
    padding-left: 20px;
    border-left: 3px solid var(--accent-color);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image {
    position: absolute;
    right: 5%;
    bottom: 0;
    z-index: 1;
}

.image-frame {
    position: relative;
}

.image-frame img {
    max-height: 80vh;
    object-fit: cover;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4));
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    animation: bounce 2s infinite;
}

/* ===== Section Styles ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header.light .section-title,
.section-header.light .section-tag {
    color: var(--text-light);
}

.section-tag {
    display: inline-block;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--text-dark);
    margin-bottom: 20px;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 0 auto;
    border-radius: 2px;
}

/* ===== About Section ===== */
.about {
    padding: 100px 0;
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image-wrapper img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--gradient-primary);
    color: var(--text-light);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.experience-badge .years {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}

.experience-badge .text {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text .lead {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 15px;
}

.about-features {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature i {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--text-light);
    border-radius: 50%;
    font-size: 1.1rem;
}

.feature span {
    font-weight: 600;
    color: var(--text-dark);
}

/* ===== Vision Section ===== */
.vision {
    padding: 100px 0;
    background: var(--gradient-dark);
    position: relative;
}

.vision::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.02)" d="M0,160L48,176C96,192,192,224,288,213.3C384,203,480,149,576,144C672,139,768,181,864,197.3C960,213,1056,203,1152,176C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    pointer-events: none;
}

.vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.vision-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
}

.vision-card:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--text-light);
}

.vision-card h3 {
    color: var(--text-light);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.vision-card p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

/* ===== Contact Section ===== */
.contact {
    padding: 100px 0;
    background: var(--bg-light);
}

.contact-content {
    display: flex;
    justify-content: center;
}

.contact-card {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--text-light);
    border-radius: 15px;
    font-size: 1.3rem;
}

.contact-details h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.contact-details p {
    color: var(--text-muted);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--text-light);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(13, 71, 161, 0.4);
}


/* ===== Footer ===== */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
}

.footer-top {
    padding: 60px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.footer-brand h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 5px;
}

.footer-brand .slogan {
    font-style: italic;
    color: var(--accent-color);
    margin-top: 15px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-contact p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* ===== Read More Button ===== */
.btn-read-more {
    margin-top: 20px;
    margin-bottom: 10px;
}

/* ===== Modal ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--text-light);
    border-radius: 20px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
}

.modal-overlay.active .modal {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    border: none;
    background: var(--gradient-primary);
    color: var(--text-light);
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.modal-close:hover {
    transform: rotate(90deg) scale(1.1);
}

.modal-header {
    background: var(--gradient-dark);
    color: var(--text-light);
    padding: 40px 30px;
    text-align: center;
    border-radius: 20px 20px 0 0;
}

.modal-header h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.modal-subtitle {
    color: var(--accent-color);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.modal-body {
    padding: 40px 30px;
    color: var(--text-dark);
}

.modal-body p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.modal-body h3 {
    color: var(--primary-color);
    margin: 30px 0 20px;
    font-size: 1.5rem;
}

.speech-greeting {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

.speech-highlight {
    background: var(--gradient-primary);
    color: var(--text-light);
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
    text-align: center;
}

.speech-highlight p {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.speech-highlight .candidacy {
    font-size: 1.3rem;
    color: var(--accent-color);
    margin-top: 20px;
    margin-bottom: 0;
}

.speech-quote {
    font-size: 1.4rem;
    font-style: italic;
    text-align: center;
    color: var(--primary-color);
    padding: 20px;
    border-left: 4px solid var(--accent-color);
    background: rgba(13, 71, 161, 0.05);
    margin: 30px 0;
}

.speech-goals {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.speech-goals li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.speech-goals li:last-child {
    border-bottom: none;
}

.speech-goals li i {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--text-light);
    border-radius: 50%;
    font-size: 1rem;
}

.speech-closing {
    font-size: 1.1rem;
    text-align: center;
    margin-top: 30px;
}

.speech-slogan {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    color: var(--primary-color);
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid var(--accent-color);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 120px 20px 60px;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
    }

    .hero-slogan {
        border-left: none;
        padding-left: 0;
        border-bottom: 3px solid var(--accent-color);
        padding-bottom: 15px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        position: relative;
        right: auto;
        margin-top: 40px;
    }

    .image-frame img {
        max-height: 50vh;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-contact p {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--bg-dark);
        padding: 100px 40px;
        transition: var(--transition);
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 25px;
    }

    .mobile-toggle {
        display: flex;
        z-index: 1001;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .about-features {
        flex-direction: column;
        align-items: center;
    }

    .scroll-indicator {
        display: none;
    }

    /* Modal Responsive */
    .modal {
        max-height: 95vh;
        border-radius: 15px;
    }

    .modal-header {
        padding: 30px 20px;
        border-radius: 15px 15px 0 0;
    }

    .modal-header h2 {
        font-size: 1.5rem;
    }

    .modal-body {
        padding: 25px 20px;
    }

    .speech-highlight {
        padding: 20px 15px;
    }

    .speech-highlight p {
        font-size: 1rem;
    }

    .speech-highlight .candidacy {
        font-size: 1.1rem;
    }

    .speech-quote {
        font-size: 1.1rem;
        padding: 15px;
    }

    .speech-goals li {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .speech-slogan {
        font-size: 1.2rem;
    }
}

/* ===== Extra Small Devices ===== */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 100px 15px 40px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-slogan {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.85rem;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .about, .vision, .contact {
        padding: 60px 0;
    }

    .about-content {
        gap: 30px;
    }

    .about-text h3 {
        font-size: 1.4rem;
    }

    .experience-badge {
        padding: 15px;
        bottom: -10px;
        right: -10px;
    }

    .experience-badge .years {
        font-size: 1.2rem;
    }

    .vision-grid {
        gap: 20px;
    }

    .vision-card {
        padding: 30px 20px;
    }

    .card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .contact-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-top {
        padding: 40px 0 30px;
    }

    .footer-brand h3 {
        font-size: 1.4rem;
    }

    /* Modal Extra Small */
    .modal-close {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        top: 10px;
        right: 10px;
    }

    .modal-header {
        padding: 25px 15px;
        padding-top: 50px;
    }

    .modal-header h2 {
        font-size: 1.3rem;
    }

    .modal-subtitle {
        font-size: 0.8rem;
    }

    .modal-body {
        padding: 20px 15px;
    }

    .modal-body p {
        font-size: 0.95rem;
    }

    .modal-body h3 {
        font-size: 1.2rem;
    }

    .speech-goals li i {
        width: 35px;
        height: 35px;
        min-width: 35px;
        font-size: 0.9rem;
    }
}

