/* Global Styles */
:root {
    --primary: #0f2f5c;
    --primary-dark: #0a2142;
    --primary-light: #1e3f70;
    --secondary: #38bdf8;
    --secondary-dark: #0284c7;
    --highlight: #25D366;
    --highlight-dark: #1db954;
    --text-primary: #101922;
    --text-secondary: #475569;
    --text-light: #94a3b8;
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --bg-dark: #0B1120;
    --bg-dark-card: #151f2e;
    --font-family: 'Inter', sans-serif;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --radius-3xl: 1.5rem;
    --radius-full: 9999px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-family);
    color: var(--text-primary);
    background-color: var(--bg-light);
    line-height: 1.5;
    overflow-x: hidden;
    width: 100%;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    overflow-x: clip;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

.grid {
    display: grid;
}

.hidden {
    display: none;
}

.overflow-hidden {
    overflow: hidden;
}

.block {
    display: block;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.fixed {
    position: fixed;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.text-center {
    text-align: center;
}

.font-bold {
    font-weight: 700;
}

.uppercase {
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .md\:flex {
        display: flex;
    }

    .md\:hidden {
        display: none;
    }

    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .md\:flex-row {
        flex-direction: row;
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #f3f4f6;
    height: 5rem;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    max-width: 1280px;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .header-inner {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
    }

    .header-inner>:first-child {
        justify-self: start;
    }

    .header-inner>nav {
        justify-self: center;
    }

    .header-inner>:last-child {
        justify-self: end;
    }
}


.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
}

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

.nav-link:hover {
    color: var(--primary);
}

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

.btn-whatsapp-header {
    display: none;
    align-items: center;
    gap: 0.5rem;
    height: 2.5rem;
    padding: 0 1.5rem;
    background-color: var(--highlight);
    color: var(--bg-white);
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
}

.btn-whatsapp-header:hover {
    background-color: var(--highlight-dark);
}

@media (min-width: 640px) {
    .btn-whatsapp-header {
        display: flex;
    }
}

/* Mobile Menu */
.mobile-menu-btn {
    padding: 0.5rem;
    color: var(--primary);
    border-radius: var(--radius-lg);
}

.mobile-menu-btn:hover {
    background-color: #f3f4f6;
}

#mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 60;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: flex-end;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

#mobile-menu.open {
    transform: translateX(0);
}

#mobile-drawer-content {
    width: 80%;
    max-width: 24rem;
    height: 100%;
    background-color: #ffffff !important;
    opacity: 1 !important;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: var(--shadow-2xl);
    z-index: 9999 !important;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-xl);
}

.mobile-nav-link:hover {
    background-color: rgba(15, 47, 92, 0.05);
    color: var(--primary);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding-top: 5rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 5rem 1rem;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
}

.hero-title {
    color: white;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

.hero-subtitle {
    color: #f3f4f6;
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 2rem;
    max-width: 42rem;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 3rem;
    padding: 0 2rem;
    background-color: var(--highlight);
    color: white;
    font-weight: 700;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    background-color: var(--highlight-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 3rem;
    padding: 0 2rem;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-weight: 700;
    border-radius: var(--radius-lg);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Sections */
.section-py {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

/* About Section */
.about-grid {
    display: grid;
    gap: 4rem;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.section-label {
    color: var(--secondary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.5rem;
}

.section-title {
    color: var(--primary);
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.25rem;
    }
}

.info-card {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1rem;
    border-radius: var(--radius-xl);
    transition: var(--transition);
}

.info-card:hover {
    background-color: var(--bg-light);
}

.info-card-icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    background-color: rgba(15, 47, 92, 0.1);
    /* primary/10 */
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
}

.info-card:hover .info-card-icon {
    background-color: var(--primary);
    color: white;
    transform: scale(1.1);
}

/* Why Choose Us (Dark) */
.bg-dark-section {
    background-color: var(--bg-dark);
    background-image: linear-gradient(rgba(11, 17, 32, 0.9), rgba(11, 17, 32, 0.95)), url('./images/why-choose-us-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.why-header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .why-header {
        flex-direction: row;
    }
}

.card-dark {
    background-color: var(--bg-dark-card);
    padding: 2rem;
    border-radius: var(--radius-2xl);
    border: 1px solid #1f2937;
    transition: var(--transition);
}

.card-dark:hover {
    border-color: rgba(37, 211, 102, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
}

.icon-highlight {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: var(--radius-full);
    background-color: rgba(37, 211, 102, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--highlight);
    margin-bottom: 1.5rem;
}

/* Pillars Section */
.bg-pillars {
    background-color: rgba(59, 130, 246, 0.05);
}

/* blue-50 approx */

.pillar-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--radius-xl);
    border: 1px solid #f3f4f6;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.pillar-card:hover {
    border-color: rgba(56, 189, 248, 0.3);
    box-shadow: var(--shadow-xl);
    transform: translateY(-0.5rem);
}

.pillar-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: var(--radius-xl);
    background-color: rgba(15, 47, 92, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.pillar-card:hover .pillar-icon {
    background-color: var(--primary);
    color: white;
}

/* Products Section */
.products-grid {
    display: grid;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
    }
}

.check-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Contact Section */
.bg-contact {
    background-color: var(--primary-dark);
    position: relative;
    overflow: hidden;
}

.bg-contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.1), transparent 40%);
    pointer-events: none;
}

.bg-contact .section-title {
    color: white;
}

.bg-contact .section-text {
    color: var(--text-light);
}


/* sky-100/30 */

.contact-card {
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    padding: 2rem;
    text-align: center;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.contact-card:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

.contact-card h3 {
    color: white !important;
}

.contact-card p {
    color: var(--text-light) !important;
}

.contact-icon-wrapper {
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto 1.5rem;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1) !important;
}


/* CTA Footer */
.cta-footer {
    position: relative;
    padding: 6rem 1rem;
    text-align: center;
    background-color: var(--primary);
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.cta-btn-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 4rem;
    padding: 0 2.5rem;
    background-color: var(--highlight);
    color: white;
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-xl);
    gap: 0.75rem;
}

.cta-btn-large:hover {
    background-color: var(--highlight-dark);
    transform: scale(1.05);
}

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background-color: var(--highlight);
    color: white;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    transition: background-color 0.3s;
}

.floating-whatsapp:hover {
    background-color: var(--highlight-dark);
}

/* Animations */

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Icon Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-5px);
    }
}

@keyframes pulse-soft {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes shake {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-10deg);
    }

    75% {
        transform: rotate(10deg);
    }
}

/* Apply animations */
.info-card:hover .info-card-icon span {
    animation: shake 0.5s ease-in-out;
}

.card-dark:hover .icon-highlight span {
    animation: pulse-soft 2s infinite ease-in-out;
}

.pillar-card:hover .pillar-icon span {
    animation: float 2s infinite ease-in-out;
}

.contact-card:hover .contact-icon-wrapper span {
    animation: shake 0.5s ease-in-out;
}

.floating-whatsapp:hover span {
    animation: pulse-soft 1s infinite;
}

.cta-btn-large:hover span {
    animation: shake 0.5s ease-in-out;
}

/* Main Footer */
.main-footer {
    background-color: #000000;
    color: #94a3b8;
    padding: 4rem 0 2rem;
    font-size: 0.875rem;
    border-top: 1px solid #1f2937;
}

.footer-grid {
    display: grid;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1.5fr;
    }
}

/* Brand Column */
.footer-col-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-contact-info p {
    margin-bottom: 0.25rem;
    color: #e5e7eb;
}

.footer-contact-info p:first-child {
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.footer-legal-links {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid #1f2937;
    font-size: 0.75rem;
    color: #64748b;
}

.footer-legal-links a {
    color: inherit;
    transition: var(--transition);
}

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

.mobile-legal {
    margin-top: 3rem;
    text-align: center;
    border-top: 1px solid #1f2937;
    padding-top: 1.5rem;
}

/* Actions Column */
.footer-col-actions {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-heading {
    color: var(--secondary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--secondary);
    color: white;
    transform: translateY(-2px);
}

.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 2.5rem;
    padding: 0 1.5rem;
    background: linear-gradient(to bottom, #d1d5db, #9ca3af);
    color: #1f2937;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    border-radius: 2px;
    letter-spacing: 0.05em;
    width: fit-content;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.footer-cta-btn:hover {
    background: white;
    transform: translateY(-1px);
}

/* Links Column */
.footer-col-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer-links-group ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links-group a {
    color: #94a3b8;
    transition: var(--transition);
}

.footer-links-group a:hover {
    color: white;
    padding-left: 0.25rem;
}