/* ==========================================================================
   CSS Variables & Reset
   ========================================================================== */
:root {
    --primary: #0066cc; /* Deep Ocean Blue */
    --primary-light: #e6f0ff;
    --primary-dark: #004c99;
    --accent: #f5a623; /* Premium Gold/Orange Accent */
    --accent-hover: #e09612;
    
    --bg-main: #fcfcfd;
    --bg-light: #ffffff;
    --bg-dark: #0f172a; /* Slate 900 */
    
    --text-main: #1e293b; /* Slate 800 */
    --text-muted: #64748b; /* Slate 500 */
    --text-white: #ffffff;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --shadow-sm: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --shadow-glow: 0 10px 30px rgba(0, 102, 204, 0.3);
    
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
}

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

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

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
.text-center { text-align: center; }
.text-white { color: var(--text-white); }
h2 span, h1 span { color: var(--primary); }
.bg-light { background-color: var(--primary-light); }
.bg-dark { background-color: var(--bg-dark); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-white);
    box-shadow: 0 4px 14px rgba(0, 102, 204, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--bg-light);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
}

.btn-outline:hover {
    background-color: var(--text-white);
    color: var(--text-main);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-main);
}

.navbar:not(.scrolled) .logo {
    color: var(--text-white);
}

.logo i {
    color: var(--primary);
}

.navbar:not(.scrolled) .logo i {
    color: var(--accent);
}

.logo span {
    color: var(--primary);
}

.navbar:not(.scrolled) .logo span {
    color: var(--bg-light);
}

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

.nav-links a {
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

.navbar:not(.scrolled) .nav-links a {
    color: var(--text-white);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary);
    transition: var(--transition);
}
.navbar:not(.scrolled) .nav-links a::after {
    background-color: var(--accent);
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}
.navbar:not(.scrolled) .mobile-menu-btn {
    color: var(--text-white);
}


/* ==========================================================================
   Mobile Menu
   ========================================================================== */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.mobile-menu.active {
    right: 0;
}

.close-menu {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-main);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: center;
}

.mobile-nav-links a {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-main);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 150px;
    overflow: hidden;
    background-color: var(--bg-dark);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/content.png');
    background-size: cover;
    background-position: center 20%;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
    z-index: 1;
}

/* Removed Ken Burns Effect to keep background static */

.animate-spin {
    animation: spin 1s linear infinite;
    display: inline-block;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 600px;
}

.badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.hero-text h1 {
    font-size: 4.5rem;
    color: var(--text-white);
    margin-bottom: 24px;
}

.hero-text h1 span {
    color: var(--primary-light);
    font-style: italic;
}

.hero-text p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-end;
}

.stat-card.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--text-white);
    width: 280px;
    transform: translateX(0);
    transition: var(--transition);
}

.stat-card.glass:hover {
    transform: translateX(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-icon {
    width: 56px;
    height: 56px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: var(--shadow-glow);
}

.stat-card h4 {
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.stat-card p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   Wave Animation Styles
   ========================================================================== */
.waves-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 15vh;
    min-height: 100px;
    max-height: 150px;
    overflow: hidden;
    z-index: 2;
}

.waves {
    position: relative;
    width: 100%;
    height: 100%;
    margin-bottom: -7px; /* Fix for safari gap */
}

/* Animation */
.parallax > use {
    animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
}
.parallax > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}
.parallax > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}
.parallax > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}
.parallax > use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}

@keyframes move-forever {
    0% { transform: translate3d(-90px,0,0); }
    100% { transform: translate3d(85px,0,0); }
}

/* Shrinking for mobile */
@media (max-width: 768px) {
    .waves-container {
        height: 40px;
        min-height: 40px;
    }
    .waves {
        height: 40px;
        min-height: 40px;
    }
}

/* ==========================================================================
   Trusted Bar
   ========================================================================== */
.trusted-bar {
    background: var(--primary);
    padding: 24px 0;
    color: var(--text-white);
}

.trusted-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.trusted-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    font-size: 1.125rem;
}

.trusted-item i {
    font-size: 1.5rem;
    color: var(--accent);
}

/* ==========================================================================
   Sections General
   ========================================================================== */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 64px auto;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Services Grid
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-img {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-icon {
    position: absolute;
    bottom: -24px;
    right: 24px;
    width: 64px;
    height: 64px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-md);
    border: 4px solid var(--bg-light);
    z-index: 2;
}

.service-content {
    padding: 40px 32px 32px;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.service-content p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.link-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
}

.link-btn i {
    transition: transform 0.3s;
}

.link-btn:hover i {
    transform: translateX(8px);
}

/* ==========================================================================
   Process Section
   ========================================================================== */
.process-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.process-text h2 {
    font-size: 3rem;
    margin-bottom: 24px;
}

.process-text > p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.p-step {
    display: flex;
    gap: 24px;
}

.p-step-num {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
}

.p-step-content h4 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.p-step-content p {
    color: var(--text-muted);
}

.image-wrapper.glass-border {
    position: relative;
    border-radius: var(--radius-xl);
    padding: 16px;
    background: rgba(0, 102, 204, 0.05);
}

.image-wrapper img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.floating-badge {
    position: absolute;
    background: white;
    padding: 12px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    z-index: 10;
}

.floating-badge i {
    color: var(--primary);
    font-size: 1.25rem;
}

.top-right {
    top: 40px;
    right: -20px;
}

.bottom-left {
    bottom: 40px;
    left: -20px;
}

/* ==========================================================================
   Why Us (Features) Grid
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 24px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.feature-box:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.f-icon {
    width: 64px;
    height: 64px;
    background: rgba(0, 102, 204, 0.2);
    color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 24px auto;
}

.feature-box h3 {
    color: white;
    margin-bottom: 16px;
    font-size: 1.25rem;
}

.feature-box p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
    padding: 80px 0;
    background: var(--primary);
    background-image: radial-gradient(circle at right center, var(--primary-light) 0%, var(--primary) 50%);
}

.cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: url('../images/main.png') center/cover no-repeat;
    border-radius: var(--radius-xl);
    padding: 64px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.cta-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 76, 153, 0.85); /* strict overlay */
    backdrop-filter: blur(5px);
}

.cta-content, .cta-actions {
    position: relative;
    z-index: 10;
}

.cta-content {
    max-width: 600px;
    color: white;
}

.cta-content h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.125rem;
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    gap: 16px;
}

.cta-btn.btn-primary {
    background-color: var(--accent); /* Gold CTA */
    color: white;
}
.cta-btn.btn-primary:hover {
    background-color: var(--accent-hover);
}
.cta-wa {
    background-color: #25D366; /* Whatsapp green */
    border-color: #25D366;
}
.cta-wa:hover {
    background-color: #128C7E;
    color: white;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background-color: #0f172a;
    color: rgba(255, 255, 255, 0.7);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 64px;
    margin-bottom: 64px;
}

.footer-brand p {
    margin-top: 24px;
    margin-bottom: 24px;
    max-width: 300px;
}

.footer-logo {
    color: white !important;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-links h4, .footer-contact h4 {
    color: white;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 24px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.contact-info-list {
    list-style: none;
}

.contact-info-list li {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.contact-info-list i {
    font-size: 1.25rem;
    color: var(--primary-light);
}

.footer-bottom {
    background: #020617;
    padding: 24px 0;
    text-align: center;
}
.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ==========================================================================
   Animations & Responsive
   ========================================================================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; justify-items: center; }
    .hero-stats { align-items: center; flex-direction: row; justify-content: center; }
    .hero-text h1 { font-size: 3.5rem; }
    .hero-actions { justify-content: center; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .process-container { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-container { flex-direction: column; text-align: center; gap: 32px; }

    /* Show mobile menu button and hide desktop nav on tablets */
    .nav-links, .nav-actions, .nav-btn { display: none !important; }
    .mobile-menu-btn { display: block !important; }
}

@media (max-width: 768px) {
    .nav-links, .nav-btn, .nav-actions { display: none !important; }
    .mobile-menu-btn { display: block !important; }
    .logo img { height: 60px !important; }
    
    .hero {
        padding-top: 100px;
        padding-bottom: 60px;
    }
    .hero-text h1 { font-size: 2.2rem !important; }
    .hero-text p { font-size: 1rem !important; margin-bottom: 24px; }
    .hero-stats { flex-direction: column; }
    .hero-content { gap: 24px; }
    
    .trusted-content { flex-direction: column; justify-content: center; align-items: center; gap: 12px; }
    .trusted-item { font-size: 1rem; }
    .services-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom .container { flex-direction: column; gap: 16px; text-align: center; }
}
