/* RESET & BASE STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-white: #FFFFFF;
    --text-black: #0A0A0A;
    --accent-blue: #1A3C8F;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-white);
    color: var(--text-black);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* NAVIGATION */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--bg-white);
    padding: 20px 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

#navbar.scrolled {
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid #EAEAEA;
}

#navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-black);
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    padding-bottom: 5px;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: width 0.3s ease;
}

.nav-link.active::after, .nav-link:hover::after {
    width: 100%;
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background: var(--accent-blue);
    color: #fff;
}

.btn-primary:hover {
    background: #152d6b;
}

.btn-secondary {
    background: transparent;
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.btn-secondary:hover {
    background: var(--accent-blue);
    color: #fff;
}

/* HERO SECTION */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: var(--bg-white);
}

#hero h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    line-height: 1.1;
    margin-bottom: 20px;
    max-width: 800px;
}

.subheadline {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: #555;
    margin-bottom: 40px;
    max-width: 600px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* SECTION COMMON */
section {
    padding: 120px 0;
}

.section-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-bottom: 50px;
    position: relative;
}

/* ABOUT SECTION */
#about {
    background: #fafafa;
}

.about-content {
    max-width: 800px;
}

.about-content p {
    font-size: clamp(1.1rem, 3vw, 1.25rem);
    margin-bottom: 30px;
}

.stat-box {
    border-left: 4px solid var(--accent-blue);
    padding-left: 20px;
    margin-top: 40px;
}

.stat-text {
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    font-weight: 700;
    color: var(--accent-blue);
}

/* DIVISIONS SECTION */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--bg-white);
    padding: 40px;
    border-top: 5px solid var(--accent-blue);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.card-icon {
    color: var(--accent-blue);
    margin-bottom: 25px;
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.card p {
    font-size: 0.95rem;
    color: #444;
}

/* CONTACT SECTION */
.contact-wrapper {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
}

.info-item {
    font-size: 1.1rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-form-container {
    flex: 1.5;
    width: 100%;
}

.form-group {
    margin-bottom: 20px;
}

input, textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #EAEAEA;
    background-color: #FAFAFA;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

input:focus, textarea:focus {
    outline: none;
    background-color: #FFFFFF;
    border-color: var(--accent-blue);
    box-shadow: 0 4px 12px rgba(26, 60, 143, 0.05);
}

#contact-form button {
    width: 100%;
    border: none;
}

/* FOOTER */
footer {
    background: #000;
    color: #fff;
    padding: 50px 0;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-right {
    font-size: 0.9rem;
    font-weight: 600;
}

/* FLOATING WHATSAPP BUTTON SYSTEM */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--accent-blue);
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(26, 60, 143, 0.3);
    z-index: 9999;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #000000;
    width: 220px;
    border-radius: 30px;
    padding: 0 20px;
    justify-content: flex-start;
    gap: 12px;
}

.whatsapp-float .cta-hover-text {
    display: none;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    color: #ffffff;
}

.whatsapp-float:hover .cta-hover-text {
    display: block;
}

.whatsapp-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 60, 143, 0.4);
    border-radius: 50%;
    z-index: -1;
    animation: cta-pulse 2s infinite;
}

@keyframes cta-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .contact-wrapper {
        flex-direction: column;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        gap: 15px;
    }
    
    .nav-link {
        font-size: 0.8rem;
    }

    section {
        padding: 80px 0;
    }
    
    footer .container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
