/* 
=========================================
Etqan Property Management - Main Stylesheet (Upgraded)
=========================================
*/

:root {
    --primary-color: #328280;
    --primary-dark: #245e5c;
    --secondary-color: #BCA440;
    --secondary-dark: #8c792b;
    --text-main: #2b2b2b;
    --text-light: #555;
    --bg-light: #f4f7f6;
    --bg-white: #ffffff;
    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 15px 40px rgba(50, 130, 128, 0.15);
    --shadow-gold: 0 8px 25px rgba(188, 164, 64, 0.35);
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

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

body {
    font-family: 'Tajawal', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.8;
    overflow-x: hidden;
    width: 100%;
}

/* =========================================
   Preloader (Splash Screen)
========================================= */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--primary-dark);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

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

.loader-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.logo-text-large {
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--secondary-color) !important;
    line-height: 1.2;
}

.logo-sub-large {
    font-size: 1.8rem;
    color: white !important;
    letter-spacing: 2px;
}

.reveal-text {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.reveal-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-dark);
    transform-origin: right;
    animation: revealTextAnim 1.5s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUpAnim 1s ease forwards 1s;
}

@keyframes revealTextAnim {
    0% { transform: scaleX(1); }
    100% { transform: scaleX(0); }
}

@keyframes fadeInUpAnim {
    100% { opacity: 1; transform: translateY(0); }
}

.mark-shape {
    opacity: 0;
    transform: translateY(-10px);
    animation: fadeDownShape 0.5s ease forwards;
}

.shape-delay-1 { animation-delay: 0.5s; }
.shape-delay-2 { animation-delay: 0.7s; }
.shape-delay-3 { animation-delay: 0.9s; }

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

@keyframes drawLine {
    0% { width: 0; opacity: 0; }
    100% { width: 100px; opacity: 1; }
}

/* Decorative Shapes */
.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.5;
    pointer-events: none;
    animation: floatShape 10s ease-in-out infinite alternate;
}

.shape-1 {
    top: 10%;
    right: -10%;
    width: 400px;
    height: 400px;
    background-color: rgba(50, 130, 128, 0.15);
}

.shape-2 {
    bottom: 20%;
    left: -5%;
    width: 300px;
    height: 300px;
    background-color: rgba(188, 164, 64, 0.1);
    animation-delay: -5s;
}

.shape-3 {
    top: 50%;
    right: 20%;
    width: 250px;
    height: 250px;
    background-color: rgba(50, 130, 128, 0.1);
    animation-delay: -2s;
}

@keyframes floatShape {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -50px) scale(1.1); }
}

/* Base Styles */
a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.section-padding { padding: 100px 0; }

.section-bg { background-color: white; }

.relative-section { position: relative; overflow: hidden; }

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--primary-dark);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.section-title p {
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.15rem;
}

.line {
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color), transparent);
    margin: 0 auto 25px;
    border-radius: 5px;
}

.line.align-left {
    margin: 0 0 25px 0;
}

.text-gold { color: var(--secondary-color); }
.gradient-text {
    background: linear-gradient(45deg, var(--secondary-color), #d4bc5a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glassmorphism Classes */
.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: var(--shadow-sm);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-glow {
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(188, 164, 64, 0.5);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

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

.btn-hover-effect::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s ease;
}

.btn-hover-effect:hover::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    transition: var(--transition);
}

.navbar.scrolled .nav-container {
    height: 70px;
}

.logo-text {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--secondary-color);
    line-height: 0.9;
}

.logo-text small {
    font-size: 1.1rem;
    color: var(--primary-color);
    display: block;
    font-weight: 700;
}

.nav-links ul {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-links a {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-main);
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-links a:hover:not(.btn),
.nav-links a.active:not(.btn) {
    color: var(--secondary-color);
}

.nav-links a:hover:not(.btn)::after,
.nav-links a.active:not(.btn)::after {
    width: 100%;
    left: 0;
    right: auto;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.8rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background: url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?auto=format&fit=crop&q=80') center/cover no-repeat;
    z-index: 0;
    will-change: transform;
}

.cinematic-bg {
    animation: cinematicZoom 30s linear infinite alternate;
}

@keyframes cinematicZoom {
    0% { transform: scale(1) translateY(0); }
    100% { transform: scale(1.15) translateY(-20px); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(36, 94, 92, 0.9) 0%, rgba(50, 130, 128, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    padding-top: 50px;
    width: 90%;
    z-index: 2;
    position: relative;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 25px;
    color: white;
    line-height: 1.2;
}

.floating-text {
    display: inline-block;
    animation: floatShape 4s ease-in-out infinite alternate;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 45px;
    font-weight: 400;
    opacity: 0.95;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 2rem;
    animation: bounce 2s infinite;
    opacity: 0.8;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-20px) translateX(-50%); }
    60% { transform: translateY(-10px) translateX(-50%); }
}

/* Stats Section */
.stats {
    position: relative;
    margin-top: -80px;
    z-index: 10;
}

.premium-stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    padding: 10px 0;
    position: relative;
    z-index: 10;
}

.stat-item {
    padding: 30px 15px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(188, 164, 64, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(188, 164, 64, 0.15) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: shineCard 6s infinite;
}

.stat-item:nth-child(even)::before {
    animation-delay: 3s;
}

@keyframes shineCard {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

.stat-item:hover { 
    transform: translateY(-15px); 
    box-shadow: 0 20px 40px rgba(188, 164, 64, 0.2);
    border-color: rgba(188, 164, 64, 0.5);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(188, 164, 64, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.icon-wrapper::after {
    content: '';
    position: absolute;
    top: -1px; left: -1px; right: -1px; bottom: -1px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: var(--secondary-color);
    animation: spinCircle 3s linear infinite;
}

@keyframes spinCircle {
    100% { transform: rotate(360deg); }
}

.stat-item:hover .icon-wrapper {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(188, 164, 64, 0.4);
}

.stat-item:hover .icon-wrapper::after {
    display: none;
}

.stat-icon {
    font-size: 2.2rem;
    color: var(--secondary-color);
    transition: var(--transition);
}

.stat-item:hover .stat-icon { color: white; }

.stat-item h3 {
    font-size: 3rem;
    background: linear-gradient(to right, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 5px;
    line-height: 1;
    font-weight: 900;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

/* Services Section */
.modern-services-slider {
    display: flex;
    width: 100%;
    height: 550px;
    gap: 15px;
    margin-top: 50px;
}

.service-panel {
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-lg);
    color: white;
    cursor: pointer;
    flex: 1;
    min-width: 180px;
    position: relative;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: var(--shadow-sm);
}

.service-panel.active {
    flex: 3;
    box-shadow: var(--shadow-lg);
}

.panel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(36, 94, 92, 0.95) 0%, rgba(36, 94, 92, 0.2) 100%);
    transition: background 0.4s ease;
}

.service-panel.active .panel-overlay {
    background: linear-gradient(to top, rgba(36, 94, 92, 0.95) 0%, rgba(188, 164, 64, 0.4) 100%);
}

.panel-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 30px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    box-sizing: border-box;
}

.panel-icon {
    width: 65px;
    height: 65px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-panel.active .panel-icon {
    transform: scale(1.1) rotate(360deg);
    box-shadow: 0 0 20px rgba(188, 164, 64, 0.6);
}

.panel-text h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 10px;
    white-space: normal;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
    transition: all 0.4s ease;
}

.service-panel.active .panel-text h3 {
    font-size: 2.2rem;
}

.panel-text p {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
    transition-delay: 0s;
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    max-height: 0;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.service-panel.active .panel-text p {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0.2s;
    max-height: 200px;
    margin-top: 10px;
}

/* Importance Section */
.importance-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.lead-text {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.accordion-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    background: var(--bg-light);
    padding: 30px;
    border-radius: var(--radius-md);
    border-right: 5px solid var(--primary-color);
    transition: var(--transition);
}

.info-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(-10px);
    border-right-color: var(--secondary-color);
}

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

.icon-box {
    width: 45px;
    height: 45px;
    background: rgba(50, 130, 128, 0.1);
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.info-item:hover .icon-box {
    background: var(--primary-color);
    color: white;
}

.info-item ul {
    margin-top: 15px;
    padding-right: 10px;
}

.info-item li {
    margin-bottom: 12px;
    position: relative;
    padding-right: 20px;
}

.info-item li::before {
    content: '•';
    color: var(--secondary-color);
    position: absolute;
    right: 0;
    font-size: 1.5rem;
    line-height: 1;
}

.importance-image-col {
    position: relative;
}

.image-composition {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.comp-img-1 {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    transition: transform 0.5s ease;
}

.image-composition:hover .comp-img-1 {
    transform: scale(1.05);
}

.floating-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: white;
    padding: 20px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 5;
}

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

.floating-badge span {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-dark);
}

/* FAQ Section */
.faq-container {
    max-width: 850px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid transparent;
}

.faq-item:hover {
    border-color: rgba(188, 164, 64, 0.3);
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: white;
}

.faq-question h3 {
    font-size: 1.2rem;
    margin: 0;
    transition: var(--transition);
}

.faq-item:hover .faq-question h3 {
    color: var(--primary-color);
}

.faq-question i {
    font-size: 1.2rem;
    color: var(--text-light);
    transition: transform 0.4s ease, color 0.4s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--secondary-color);
}

.faq-item.active .faq-question h3 {
    color: var(--secondary-color);
}

.faq-answer {
    background: white;
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease;
    opacity: 0;
}

.faq-item.active .faq-answer {
    padding: 0 30px 25px;
    max-height: 300px;
    opacity: 1;
}

.faq-answer p {
    color: var(--text-light);
    border-top: 1px solid #eee;
    padding-top: 20px;
}

/* Footer */
.footer {
    background-color: var(--primary-dark);
    color: white;
    padding: 100px 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, var(--secondary-color), #d4bc5a);
}

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

.footer-logo h3 {
    color: white;
    font-size: 3rem;
    margin-bottom: -5px;
}

.footer-logo .subtitle {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-weight: 700;
    letter-spacing: 1px;
}

.footer-text {
    color: #cbd5e1;
    margin-bottom: 30px;
    font-size: 1.05rem;
}

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

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-5px) rotate(360deg);
}

.footer-col h4 {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.footer-line {
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    margin-bottom: 30px;
    border-radius: 2px;
}

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

.footer-links a {
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-links a i {
    font-size: 0.9rem;
    color: var(--secondary-color);
    transition: transform 0.3s;
}

.footer-links a:hover {
    color: white;
    padding-right: 8px;
}

.footer-links a:hover i {
    transform: translateX(-5px);
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
    color: #cbd5e1;
}

.contact-icon {
    width: 35px;
    height: 35px;
    background: rgba(188, 164, 64, 0.15);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hover-underline {
    position: relative;
}

.hover-underline::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 1px;
    background: var(--secondary-color);
    transition: width 0.3s;
}

.hover-underline:hover::after {
    width: 100%;
    left: 0;
    right: auto;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.map-container:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.footer-bottom {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #94a3b8;
}

/* Animations & Utility Classes */
.pulse-glow {
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 25px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.float-anim {
    animation: floatImg 6s ease-in-out infinite alternate;
}

@keyframes floatImg {
    0% { transform: translateY(0); }
    100% { transform: translateY(-15px); }
}

/* Floating WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 40px;
    left: 40px;
    width: 65px;
    height: 65px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-btn:hover {
    transform: scale(1.1) translateY(-5px);
    background-color: #1ebd5a;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .importance-wrapper {
        gap: 40px;
    }
}

@media (max-width: 1024px) {
    .hero h1 { font-size: 3.5rem; }
    
    .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .stat-item { border: none !important; }
    
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: white;
        box-shadow: -5px 0 30px rgba(0,0,0,0.1);
        transition: var(--transition);
        padding: 100px 30px 40px;
        z-index: -1;
    }

    .nav-links.active { right: 0; }

    .nav-links ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }

    .mobile-menu-btn { display: block; }

    .importance-wrapper { grid-template-columns: 1fr; }
    .importance-image-col { margin-top: 50px; }
    .floating-badge { right: 20px; bottom: -20px; }
}

@media (max-width: 768px) {
    .section-padding { padding: 70px 0; }
    .container { width: 90%; max-width: 90%; margin: 0 auto; padding: 0; }
    
    .hero h1 { font-size: 2.8rem; }
    .hero p { font-size: 1.2rem; }
    .hero-buttons { flex-direction: column; width: 100%; max-width: 300px; margin: 0 auto; }
    
    .premium-stats { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .stat-item {
        padding: 25px 10px;
    }
    
    .stat-item:hover {
        transform: translateY(-10px);
    }
    
    .stat-item h3 { font-size: 2rem; margin: 15px 0; }
    .stat-item p { font-size: 0.9rem; }
    
    .modern-services-slider { 
        flex-direction: column; 
        height: auto;
        gap: 20px;
    }
    
    .service-panel {
        height: 220px;
        flex: none;
    }
    
    .service-panel.active {
        height: 420px;
        flex: none;
    }
    
    .panel-text p {
        white-space: normal;
    }
    
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 480px) {
    .logo-text-large { font-size: 4rem !important; color: var(--secondary-color) !important; }
    .logo-sub-large { font-size: 1.4rem !important; }
    .container { width: 90%; max-width: 90%; margin: 0 auto; padding: 0; }
    .hero h1 { font-size: 2.2rem; }
    .premium-stats { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 10px;
    }
    .stat-item {
        padding: 20px 5px;
    }
    .stat-item h3 { font-size: 1.8rem; }
    .stat-item p { font-size: 0.85rem; }
    .icon-wrapper { width: 60px; height: 60px; margin-bottom: 15px; }
    .stat-icon { font-size: 1.5rem; }
    .stat-item:last-child {
        grid-column: span 2;
    }
    .floating-badge { display: none; }
    .whatsapp-btn { bottom: 20px; left: 20px; width: 55px; height: 55px; font-size: 30px; }
    .section-title h2 { font-size: 2rem; }
    .section-title p { font-size: 1rem; }
}
