/* ============================================= */
/*           CSS VARIABLES & RESET               */
/* ============================================= */
:root {
    --primary: #26b2fd;
    --primary-dark: #0d639e;
    --primary-light: #7dd3ff;
    --secondary: #2d2d2d;
    --accent: #0d639e;
    --dark: #1a1a1a;
    --light: #f0f8ff;
    --white: #ffffff;
    --gray-100: #f7f7f7;
    --gray-200: #ebebeb;
    --gray-300: #d4d4d4;
    --gray-600: #6b6b6b;
    --gradient-primary: linear-gradient(135deg, #0d639e 0%, #26b2fd 100%);
    --gradient-dark: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    --gradient-hero: linear-gradient(135deg, rgba(13,99,158,0.9) 0%, rgba(38,178,253,0.8) 100%);
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.08);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
    --shadow-glow: 0 0 40px rgba(38,178,253,0.3);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 40px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); font-size: 16px; line-height: 1.7; color: var(--secondary); background: var(--white); overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ============================================= */
/*                  PRELOADER                    */
/* ============================================= */
#preloader { position: fixed; inset: 0; background: var(--dark); z-index: 9999; display: flex; align-items: center; justify-content: center; transition: opacity 0.5s, visibility 0.5s; }
#preloader.hidden { opacity: 0; visibility: hidden; }
.loader { width: 60px; height: 60px; position: relative; }
.loader::before, .loader-inner { content: ''; position: absolute; border-radius: 50%; }
.loader::before { inset: 0; border: 3px solid transparent; border-top-color: var(--primary); animation: spin 1s linear infinite; }
.loader-inner { inset: 8px; border: 3px solid transparent; border-top-color: var(--accent); animation: spin 0.8s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================= */
/*                 NAVIGATION                    */
/* ============================================= */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 1rem 0; transition: var(--transition); }
.navbar.scrolled { background: rgba(255,255,255,0.98); backdrop-filter: blur(20px); box-shadow: var(--shadow-sm); padding: 0.75rem 0; }
.nav-container { max-width: 1400px; margin: 0 auto; padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; flex-direction: column; }
.logo-text { font-family: var(--font-heading); font-size: 1.75rem; font-weight: 700; color: var(--white); transition: var(--transition); }
.navbar.scrolled .logo-text { color: var(--secondary); }
.logo-subtext { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 3px; color: var(--primary-light); font-weight: 500; }
.navbar.scrolled .logo-subtext { color: var(--primary); }
.nav-menu { display: flex; align-items: center; gap: 2rem; }
.nav-link { color: var(--white); font-weight: 500; font-size: 0.95rem; position: relative; padding: 0.5rem 0; }
.navbar.scrolled .nav-link { color: var(--secondary); }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--primary); transition: var(--transition); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-btn { background: var(--gradient-primary); color: var(--white) !important; padding: 0.75rem 1.5rem; border-radius: var(--radius-xl); font-weight: 600; box-shadow: var(--shadow-sm); }
.nav-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 0.5rem; }
.nav-toggle span { width: 25px; height: 2px; background: var(--white); transition: var(--transition); }
.navbar.scrolled .nav-toggle span { background: var(--secondary); }

/* ============================================= */
/*                HERO SECTION                   */
/* ============================================= */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: url('https://images.unsplash.com/photo-1560066984-138dadb4c035?w=1920&q=80') center/cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(26,26,26,0.85) 0%, rgba(45,45,45,0.7) 100%); }
.floating-elements { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.float-element { position: absolute; border-radius: 50%; background: var(--gradient-primary); opacity: 0.1; animation: float 20s infinite ease-in-out; }
.float-1 { width: 400px; height: 400px; top: -100px; right: -100px; }
.float-2 { width: 300px; height: 300px; bottom: -50px; left: -50px; animation-delay: -10s; }
@keyframes float { 0%, 100% { transform: translate(0, 0) rotate(0deg); } 50% { transform: translate(30px, 30px) rotate(180deg); } }
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 900px; padding: 2rem; }
.hero-badge { display: inline-block; background: rgba(38,178,253,0.2); color: var(--primary-light); padding: 0.5rem 1.5rem; border-radius: var(--radius-xl); font-size: 0.9rem; font-weight: 500; margin-bottom: 2rem; backdrop-filter: blur(10px); border: 1px solid rgba(38,178,253,0.3); animation: fadeInUp 1s ease; }
.hero-title { font-family: var(--font-heading); font-size: clamp(2.5rem, 6vw, 5rem); color: var(--white); line-height: 1.1; margin-bottom: 1.5rem; }
.title-line { display: block; animation: fadeInUp 1s ease 0.2s both; }
.title-accent { display: block; background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; animation: fadeInUp 1s ease 0.4s both; }
.hero-subtitle { font-size: 1.1rem; color: rgba(255,255,255,0.8); max-width: 600px; margin: 0 auto 2.5rem; animation: fadeInUp 1s ease 0.6s both; }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; animation: fadeInUp 1s ease 0.8s both; }
.hero-stats { display: flex; gap: 3rem; justify-content: center; animation: fadeInUp 1s ease 1s both; }
.stat-item { text-align: center; }
.stat-number { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 700; color: var(--primary); }
.stat-label { display: block; font-size: 0.85rem; color: rgba(255,255,255,0.7); }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* ============================================= */
/*                  BUTTONS                      */
/* ============================================= */
.btn { display: inline-flex; align-items: center; gap: 0.75rem; padding: 1rem 2rem; border-radius: var(--radius-xl); font-weight: 600; font-size: 1rem; transition: var(--transition); }
.btn-primary { background: var(--gradient-primary); color: var(--white); box-shadow: var(--shadow-md); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg), var(--shadow-glow); }
.btn-secondary { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.3); }
.btn-secondary:hover { background: var(--white); color: var(--secondary); border-color: var(--white); }
.btn-full { width: 100%; justify-content: center; }

/* ============================================= */
/*                 SECTIONS                      */
/* ============================================= */
.section { padding: 6rem 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 4rem; }
.section-tag { display: inline-block; background: var(--primary-light); color: var(--primary-dark); padding: 0.4rem 1rem; border-radius: var(--radius-xl); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem; }
.section-title { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 3rem); color: var(--secondary); line-height: 1.2; margin-bottom: 1rem; }
.section-title .highlight { color: var(--primary); }

/* ============================================= */
/*               ABOUT SECTION                   */
/* ============================================= */
.about { background: var(--light); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-images { position: relative; }
.about-img-main { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-img-main img { width: 100%; height: 500px; object-fit: cover; }
.experience-badge { position: absolute; bottom: 2rem; right: -2rem; background: var(--gradient-primary); color: var(--white); padding: 1.5rem 2rem; border-radius: var(--radius-md); text-align: center; box-shadow: var(--shadow-lg); }
.badge-number { display: block; font-family: var(--font-heading); font-size: 2.5rem; font-weight: 700; }
.badge-text { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; }
.about-content p { color: var(--gray-600); margin-bottom: 1.5rem; }
.about-features { display: flex; flex-direction: column; gap: 1.5rem; margin: 2rem 0; }
.feature-item { display: flex; gap: 1rem; align-items: flex-start; }
.feature-icon { width: 50px; height: 50px; background: var(--gradient-primary); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.25rem; flex-shrink: 0; }
.feature-text h4 { font-size: 1.1rem; color: var(--secondary); margin-bottom: 0.25rem; }
.feature-text p { font-size: 0.9rem; color: var(--gray-600); margin: 0; }

/* ============================================= */
/*              SERVICES SECTION                 */
/* ============================================= */
.services { background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.service-card { background: var(--white); padding: 2.5rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200); transition: var(--transition); position: relative; overflow: hidden; }
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.service-card.featured { background: var(--gradient-dark); color: var(--white); border: none; }
.service-card.featured .service-icon { background: var(--gradient-primary); }
.service-card.featured p { color: rgba(255,255,255,0.8); }
.featured-badge { position: absolute; top: 1.5rem; right: -2rem; background: var(--accent); color: var(--white); padding: 0.25rem 2.5rem; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; transform: rotate(45deg); }
.service-icon { width: 70px; height: 70px; background: var(--light); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 1.75rem; color: var(--primary); margin-bottom: 1.5rem; }
.service-card h3 { font-family: var(--font-heading); font-size: 1.5rem; margin-bottom: 1rem; }
.service-card p { color: var(--gray-600); margin-bottom: 1.5rem; font-size: 0.95rem; }
.service-link { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--primary); font-weight: 600; }
.service-card.featured .service-link { color: var(--primary-light); }
.service-link:hover { gap: 1rem; }

/* ============================================= */
/*              GALLERY SECTION                  */
/* ============================================= */
.gallery { background: var(--light); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.gallery-item { position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 1; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.gallery-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,26,26,0.9) 0%, transparent 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; opacity: 0; transition: var(--transition); }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay h4 { color: var(--white); font-family: var(--font-heading); font-size: 1.25rem; }

/* ============================================= */
/*            TESTIMONIALS SECTION               */
/* ============================================= */
.testimonials { background: var(--white); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.testimonial-card { background: var(--light); padding: 2rem; border-radius: var(--radius-lg); transition: var(--transition); }
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.testimonial-rating { color: var(--accent); margin-bottom: 1rem; display: flex; gap: 0.25rem; }
.testimonial-card p { font-style: italic; color: var(--gray-600); margin-bottom: 1.5rem; font-size: 1rem; line-height: 1.8; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.author-info h4 { font-size: 1rem; color: var(--secondary); margin-bottom: 0.25rem; }
.author-info span { font-size: 0.85rem; color: var(--gray-600); }

/* ============================================= */
/*              CONTACT SECTION                  */
/* ============================================= */
.contact { background: var(--light); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.info-cards { display: flex; flex-direction: column; gap: 1.5rem; margin: 2rem 0; }
.info-card { display: flex; gap: 1rem; align-items: flex-start; background: var(--white); padding: 1.5rem; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.info-icon { width: 50px; height: 50px; background: var(--gradient-primary); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.25rem; flex-shrink: 0; }
.info-content h4 { font-size: 1rem; color: var(--secondary); margin-bottom: 0.25rem; }
.info-content p, .info-content a { font-size: 0.9rem; color: var(--gray-600); }
.info-content a:hover { color: var(--primary); }
.social-links h4 { margin-bottom: 1rem; color: var(--secondary); }
.social-icons { display: flex; gap: 1rem; }
.social-icon { width: 45px; height: 45px; background: var(--gradient-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.1rem; transition: var(--transition); }
.social-icon:hover { transform: translateY(-3px) scale(1.1); box-shadow: var(--shadow-glow); }

.contact-form-wrapper { background: var(--white); padding: 3rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.contact-form h3 { font-family: var(--font-heading); font-size: 1.75rem; color: var(--secondary); margin-bottom: 2rem; text-align: center; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-weight: 500; color: var(--secondary); margin-bottom: 0.5rem; font-size: 0.95rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 1rem 1.25rem; border: 2px solid var(--gray-200); border-radius: var(--radius-md); font-size: 1rem; transition: var(--transition); background: var(--white); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(38,178,253,0.1); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ============================================= */
/*                   FOOTER                      */
/* ============================================= */
.footer { background: var(--dark); color: var(--white); padding: 4rem 0 2rem; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-logo { display: flex; flex-direction: column; margin-bottom: 1rem; }
.footer-logo .logo-text { color: var(--white); }
.footer-brand p { color: rgba(255,255,255,0.7); font-size: 0.95rem; max-width: 300px; }
.footer-links h4, .footer-contact h4 { font-size: 1.1rem; margin-bottom: 1.5rem; color: var(--primary); }
.footer-links ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 0.95rem; transition: var(--transition); }
.footer-links a:hover { color: var(--primary); padding-left: 5px; }
.footer-contact p { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.75rem; }
.footer-contact a { color: rgba(255,255,255,0.7); }
.footer-contact a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; text-align: center; color: rgba(255,255,255,0.5); font-size: 0.9rem; }

/* ============================================= */
/*              FLOATING ELEMENTS                */
/* ============================================= */
.whatsapp-float { position: fixed; bottom: 2rem; right: 2rem; width: 60px; height: 60px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.75rem; box-shadow: var(--shadow-lg); z-index: 999; animation: pulse 2s infinite; }
.whatsapp-float:hover { transform: scale(1.1); }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.4); } 50% { box-shadow: 0 0 0 15px rgba(37,211,102,0); } }
.back-to-top { position: fixed; bottom: 2rem; left: 2rem; width: 50px; height: 50px; background: var(--gradient-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.25rem; box-shadow: var(--shadow-md); z-index: 999; opacity: 0; visibility: hidden; transition: var(--transition); }
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-3px); }

/* ============================================= */
/*               RESPONSIVE DESIGN               */
/* ============================================= */
@media (max-width: 1024px) {
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    .services-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-content { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-menu { position: fixed; top: 0; right: -100%; width: 80%; max-width: 350px; height: 100vh; background: var(--white); flex-direction: column; padding: 6rem 2rem 2rem; gap: 1.5rem; transition: var(--transition); box-shadow: var(--shadow-lg); }
    .nav-menu.active { right: 0; }
    .nav-link { color: var(--secondary); font-size: 1.1rem; }
    .nav-toggle { display: flex; z-index: 1001; }
    .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
    .services-grid, .gallery-grid, .testimonials-grid { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: column; gap: 1.5rem; }
    .experience-badge { right: 1rem; bottom: 1rem; }
    .section { padding: 4rem 0; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .footer-brand p { margin: 0 auto; }
    .footer-contact p { justify-content: center; }
}
@media (max-width: 480px) {
    .container { padding: 0 1rem; }
    .hero-buttons { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }
    .contact-form-wrapper { padding: 2rem 1.5rem; }
}
