/* ================================================== */
/* FILE: style.css                                    */
/* ================================================== */

:root {
    --primary-color: #0F4C81;
    --secondary-color: #E63946;
    --accent-color: #FFB703;
    --text-color: #1F2937;
    --text-light: #6B7280;
    --bg-light: #F8FAFC;
    --bg-white: #ffffff;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --box-shadow: 0 10px 30px rgba(15, 76, 129, 0.08);
    --box-shadow-hover: 0 20px 40px rgba(15, 76, 129, 0.15);
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-white);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

#scrollProgress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    width: 0%;
    z-index: 10001;
    transition: width 0.1s linear;
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--bg-light);
    border-top: 5px solid var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.grid {
    display: grid;
    gap: 30px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.align-center { align-items: center; }

.text-center { text-align: center; }
.bg-light { background-color: var(--bg-light); }
.mt-4 { margin-top: 2rem; }

.section {
    padding: 90px 0;
}

.section-title {
    font-size: 2.75rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 50px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.btn-primary:hover {
    background-color: #d32f2f;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4);
}

.btn-accent {
    background-color: var(--accent-color);
    color: var(--text-color);
    box-shadow: 0 4px 15px rgba(255, 183, 3, 0.3);
}

.btn-accent:hover {
    background-color: #e5a602;
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-light {
    background-color: white;
    color: var(--secondary-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-light:hover {
    background-color: var(--bg-light);
    transform: translateY(-3px);
}

.header {
    background-color: var(--bg-white);
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-weight: 600;
    color: var(--text-color);
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--secondary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.btn-nav {
    background-color: var(--secondary-color);
    color: white !important;
    padding: 10px 24px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.25);
}

.btn-nav::after {
    display: none !important;
}

.hamburger {
    display: none;
    font-size: 1.75rem;
    cursor: pointer;
    color: var(--primary-color);
}

.hero {
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.88), rgba(27, 38, 59, 0.92)), url('sams2.jpeg') center/cover no-repeat;
    color: white;
    padding: 160px 0 120px;
    text-align: center;
    position: relative;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 183, 3, 0.15);
    color: var(--accent-color);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 183, 3, 0.3);
}

.hero-content h1 {
    font-size: 3.75rem;
    margin-bottom: 25px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
    color: #ffffff !important;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 850px;
    margin: 0 auto 40px;
    color: #e2e8f0 !important;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.intro-text h2 {
    text-align: left;
}

.intro-text p {
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 1.1rem;
}

.check-list {
    margin-top: 25px;
}

.check-list li {
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.check-list i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.intro-img img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-hover);
    transition: var(--transition);
}

.intro-img img:hover {
    transform: scale(1.02);
}

.stats-section {
    background: linear-gradient(135deg, var(--primary-color), #1b263b);
    color: white;
    padding: 70px 0;
    text-align: center;
}

.stat-box i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.stat-box h3 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.stat-box p {
    color: #cbd5e1;
    font-weight: 600;
    font-size: 1.1rem;
}

.card {
    background: white;
    padding: 35px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-hover);
    border-color: var(--primary-color);
}

.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
}

.card-img-wrapper {
    margin: -35px -35px 25px -35px;
    height: 200px;
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-img-wrapper img {
    transform: scale(1.1);
}

.card-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 700;
}

.card p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.service-meta {
    background: var(--bg-light);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.service-meta p {
    margin-bottom: 5px;
    color: var(--text-color);
}

.read-more {
    color: var(--secondary-color);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.read-more:hover {
    gap: 12px;
}

.feature-box {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: 1px solid #e2e8f0;
    transition: var(--transition);
}

.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-hover);
}

.feature-box i {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.feature-box h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 1.4rem;
}

.feature-box p {
    color: var(--text-light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.faq-question {
    padding: 22px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    color: var(--primary-color);
}

.faq-question h3 {
    font-size: 1.15rem;
    margin: 0;
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--secondary-color);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-light);
}

.faq-item.active .faq-answer {
    padding: 0 25px 25px 25px;
    max-height: 250px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-color), #1b263b);
    color: white;
    padding: 90px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: #cbd5e1;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 80px 0 30px;
}

.footer-col h3, .footer-col h4 {
    margin-bottom: 25px;
    color: white;
    font-weight: 700;
}

.footer-col p {
    color: #cbd5e1;
    margin-bottom: 15px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #cbd5e1;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: white;
    padding-left: 8px;
}

.founder-note {
    font-size: 0.95rem;
    color: #e2e8f0;
    margin-top: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: #cbd5e1;
    font-size: 0.95rem;
}

.float-whatsapp, .float-call {
    position: fixed;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    text-align: center;
    font-size: 26px;
    z-index: 100;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.float-whatsapp {
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
}

.float-call {
    bottom: 100px;
    right: 30px;
    background-color: var(--secondary-color);
    color: white;
}

.float-whatsapp:hover, .float-call:hover {
    transform: scale(1.1);
}

#backToTop {
    position: fixed;
    bottom: 170px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

#backToTop:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

/* ================================================== */
/* SMOOTH PROFESSIONAL SCROLL REVEAL ANIMATIONS       */
/* ================================================== */
.reveal-up {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-zoom {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Active Class when visible */
.active-reveal {
    opacity: 1 !important;
    transform: translate(0, 0) scale(1) !important;
}

@media (max-width: 992px) {
    .grid-4, .grid-3, .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hamburger {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
        box-shadow: var(--box-shadow);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-in-out;
    }

    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
}