/* =========================================
   VARIABLES & RESET
========================================= */
:root {
    --primary-color: #0c4a6e; /* Deep Ocean Blue */
    --primary-light: #38bdf8; /* Bright Sky Blue */
    --primary-dark: #082f49;
    --accent-color: #f59e0b; /* Amber */
    --text-main: #0f172a;
    --text-muted: #64748b;
    --bg-light: #f1f5f9;
    --bg-white: #ffffff;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.1, 0.5, 0.1, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text-main); line-height: 1.8; overflow-x: hidden; background-color: var(--bg-white); }

/* =========================================
   TYPOGRAPHY
========================================= */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; color: var(--text-main); line-height: 1.3; }
h2.section-title { font-size: 2.6rem; margin-bottom: 3.5rem; position: relative; display: inline-block; font-weight: 800; color: var(--primary-dark); }
h2.section-title::after {
    content: ''; width: 60px; height: 4px; background: var(--primary-light);
    position: absolute; bottom: -15px; left: 50%; transform: translateX(-50%); border-radius: 5px;
}
.text-white { color: #fff !important; }
.section-subtitle { display: block; color: var(--primary-light); font-weight: 700; text-transform: uppercase; letter-spacing: 2.5px; margin-bottom: 1rem; font-size: 0.95rem; }
.text-center { text-align: center; }
p { margin-bottom: 1.2rem; color: var(--text-muted); font-size: 1.05rem; font-weight: 400; }
.lead { font-size: 1.25rem; color: var(--primary-dark); font-weight: 500; }

/* =========================================
   LAYOUT UTILITIES & BUTTONS
========================================= */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
section { padding: 7rem 0; }
.bg-light { background-color: var(--bg-light); }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 32px; border-radius: 12px; text-decoration: none; font-weight: 700;
    transition: var(--transition); cursor: pointer; border: 2px solid transparent; font-family: var(--font-heading);
    letter-spacing: 0.5px;
}
.btn-primary { background-color: var(--primary-color); color: var(--bg-white); box-shadow: 0 8px 15px rgba(12, 74, 110, 0.15); }
.btn-primary:hover { background-color: var(--primary-dark); transform: translateY(-3px); box-shadow: 0 12px 25px rgba(12, 74, 110, 0.25); }
.btn-outline-dark { border-color: rgba(30,30,30,0.2); color: var(--primary-dark); background: transparent; backdrop-filter: blur(5px); }
.btn-outline-dark:hover { border-color: var(--primary-dark); background-color: var(--primary-dark); color: var(--bg-white); }
.btn-sm { padding: 10px 24px; font-size: 0.95rem; }
.btn-large { padding: 18px 45px; font-size: 1.15rem; }
.cta-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }

/* =========================================
   NAVIGATION & LOGO
========================================= */
#navbar { position: fixed; top: 0; width: 100%; background: rgba(255,255,255,0.98); backdrop-filter: blur(15px); box-shadow: 0 2px 20px rgba(0,0,0,0.03); z-index: 1000; transition: var(--transition); }
.nav-container { max-width: 1280px; margin: 0 auto; padding: 15px 24px; display: flex; justify-content: space-between; align-items: center; }

.logo-wrapper { display: flex; align-items: center; text-decoration: none; }
.logo-text { display: flex; flex-direction: column; }
.logo-title { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 900; color: var(--primary-dark); line-height: 1; margin-bottom: 3px; letter-spacing: -1px; }
.logo-title::after { content: '.'; color: var(--primary-light); }
.logo-subtitle { font-size: 0.75rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; }

.nav-links { list-style: none; display: flex; gap: 32px; align-items: center; }
.nav-links li a { text-decoration: none; color: var(--primary-dark); font-weight: 600; font-size: 0.95rem; font-family: var(--font-heading); transition: var(--transition); position: relative; }
.nav-links li a::after {
    content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 0; background-color: var(--primary-light); transition: width 0.3s ease;
}
.nav-links li a:hover { color: var(--primary-light); }
.nav-links li a:hover::after { width: 100%; }

.hamburger { display: none; font-size: 1.8rem; cursor: pointer; color: var(--primary-dark); }

/* =========================================
   CREATIVE HERO CAROUSEL
========================================= */
.hero-slider {
    position: relative; min-height: 85vh; width: 100%; overflow: hidden; background: var(--primary-dark);
    display: flex; align-items: center; justify-content: center; padding: 15vh 0;
}
.slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0;
    transition: opacity 1.5s cubic-bezier(0.1, 0.5, 0.1, 1); background-size: cover; background-position: center; z-index: 1;
}
.slide::after {
    content: ''; position: absolute; top:0; left:0; width:100%; height:100%; background: linear-gradient(to right, rgba(8, 47, 73, 0.9) 0%, rgba(8, 47, 73, 0.3) 100%);
}
.slide.active { opacity: 1; z-index: 2; }

/* Glassmorphism Element */
.hero-overlay-content {
    position: relative; z-index: 10; width: 100%; max-width: 1280px; padding: 0 24px; display: flex; flex-direction: column; justify-content: center;
}
.glass-box {
    background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(15px); border-radius: 24px; padding: 60px;
    max-width: 650px; box-shadow: 0 30px 60px rgba(0,0,0,0.12); border: 1px solid rgba(255,255,255,0.7);
    transform: translateY(30px); opacity: 0; transition: all 1.2s cubic-bezier(0.1, 0.5, 0.1, 1) 0.3s;
}
.slide.active ~ .hero-overlay-content .glass-box { transform: translateY(0); opacity: 1; }

.badge { display: inline-block; padding: 6px 18px; background: rgba(56, 189, 248, 0.1); color: var(--primary-color); border-radius: 30px; font-weight: 700; font-size: 0.85rem; margin-bottom: 25px; text-transform: uppercase; letter-spacing: 1.5px;}
.glass-box h1 { font-size: 3.2rem; font-weight: 900; line-height: 1.15; margin-bottom: 25px; color: var(--primary-dark); letter-spacing: -1.5px; }
.glass-box p { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 40px; font-weight: 500; }

.slider-btn {
    position: absolute; top: 50%; transform: translateY(-50%); background: var(--bg-white);
    color: var(--primary-dark); border: none; width: 60px; height: 60px; border-radius: 50%; display: flex;
    align-items: center; justify-content: center; font-size: 1.4rem; cursor: pointer; box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    z-index: 15; transition: var(--transition);
}
.slider-btn:hover { background: var(--primary-color); color: white; transform: translateY(-50%) scale(1.05); }
.prev-btn { left: 40px; }
.next-btn { right: 40px; }

.slider-dots { position: absolute; bottom: 80px; right: 8%; display: flex; gap: 12px; z-index: 15; }
.dot { width: 14px; height: 14px; border-radius: 50%; background: rgba(255,255,255,0.3); cursor: pointer; transition: var(--transition); border: 2px solid transparent; }
.dot.active { background: white; transform: scale(1.3); }

/* SVG Wave */
.custom-shape-divider-bottom {
    position: absolute; bottom: -2px; left: 0; width: 100%; overflow: hidden; line-height: 0; z-index: 15;
}
.custom-shape-divider-bottom svg { position: relative; display: block; width: calc(100% + 2px); height: 80px; }
.custom-shape-divider-bottom .shape-fill { fill: var(--bg-white); }

/* =========================================
   ABOUT SECTION
========================================= */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.image-wrapper { position: relative; }
.main-image { width: 100%; border-radius: 24px; box-shadow: 0 30px 60px rgba(12, 74, 110, 0.1); object-fit: cover; }
.experience-badge {
    position: absolute; bottom: -30px; right: -30px; background: var(--primary-color); color: white;
    padding: 35px 30px; border-radius: 24px; box-shadow: 0 20px 40px rgba(0,0,0,0.15); text-align: center; border: 8px solid white;
}
.experience-badge h3 { color: white; font-size: 2.8rem; margin: 0; line-height: 1; }
.experience-badge span { font-size: 0.95rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; }

.about-list { list-style: none; margin-top: 30px; }
.about-list li { margin-bottom: 18px; display: flex; align-items: center; gap: 15px; font-weight: 600; font-size: 1.1rem; color: var(--primary-dark); }
.about-list i { color: var(--primary-light); background: rgba(56, 189, 248, 0.12); width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; }

/* =========================================
   SERVICES SECTION
========================================= */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; margin-top: 60px; }
.service-card {
    background: var(--bg-white); padding: 50px 35px; border-radius: 24px; box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    transition: var(--transition); border: 1px solid rgba(0,0,0,0.04); position: relative; overflow: hidden;
}
.service-card::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 5px; background: linear-gradient(90deg, var(--primary-light), var(--primary-color)); transform: scaleX(0); transition: transform 0.4s ease; transform-origin: left;
}
.service-card:hover { transform: translateY(-12px); box-shadow: 0 25px 50px rgba(12, 74, 110, 0.08); }
.service-card:hover::after { transform: scaleX(1); }

.service-icon { width: 80px; height: 80px; background: var(--bg-light); color: var(--primary-color); font-size: 2.2rem; border-radius: 24px; display: flex; align-items: center; justify-content: center; margin: 0 auto 30px; transition: var(--transition); }
.service-card:hover .service-icon { background: var(--primary-color); color: white; border-radius: 50%; transform: rotate(5deg); }

.link-btn { color: var(--primary-color); text-decoration: none; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; transition: var(--transition); }
.link-btn:hover { color: var(--primary-light); gap: 12px; }

/* =========================================
   WHY CHOOSE US
========================================= */
.why-us-section { background: var(--text-main); color: white; padding: 8rem 0 9rem; }
.why-us-section .section-subtitle { color: var(--primary-light); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; margin-top: 60px; }
.why-item { text-align: center; padding: 40px 20px; background: rgba(255,255,255,0.02); border-radius: 24px; border: 1px solid rgba(255,255,255,0.05); transition: var(--transition); backdrop-filter: blur(10px); }
.why-item:hover { background: rgba(255,255,255,0.05); transform: translateY(-8px); }
.why-icon { width: 85px; height: 85px; background: rgba(56, 189, 248, 0.15); color: var(--primary-light); font-size: 2.6rem; display: flex; align-items: center; justify-content: center; border-radius: 50%; margin: 0 auto 25px; transition: var(--transition);}
.why-item:hover .why-icon { background: var(--primary-light); color: var(--text-main); }
.why-item h4 { color: white; font-size: 1.3rem; margin-bottom: 15px; }
.why-item p { color: #94a3b8; }

/* =========================================
   GALLERY & LIGHTBOX
========================================= */
.gallery-section { padding-top: 9rem; margin-top: -4rem; border-radius: 40px 40px 0 0; background: var(--bg-white); position: relative; z-index: 5; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 60px; }
.gallery-item {
    position: relative; overflow: hidden; border-radius: 24px; height: 320px; cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.1, 0.5, 0.1, 1); }
.gallery-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.7);
    color: white; display: flex; align-items: center; justify-content: center; opacity: 0;
    transition: var(--transition); font-size: 3rem; transform: scale(1.1);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover .gallery-overlay { opacity: 1; transform: scale(1); }

.lightbox {
    display: none; position: fixed; z-index: 2000; padding-top: 60px; left: 0; top: 0; width: 100%; height: 100%;
    background-color: rgba(15, 23, 42, 0.95); backdrop-filter: blur(10px); overflow: auto;
}
.lightbox-content {
    margin: auto; display: block; max-width: 90%; max-height: 85vh; border-radius: 16px;
    animation: zoomIn 0.4s cubic-bezier(0.1, 0.5, 0.1, 1); box-shadow: 0 0 50px rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.1);
}
.close-lightbox { position: absolute; top: 30px; right: 40px; color: rgba(255,255,255,0.5); font-size: 50px; cursor: pointer; transition: var(--transition); }
.close-lightbox:hover { color: white; transform: rotate(90deg); }
@keyframes zoomIn { from {transform:scale(0.95); opacity:0} to {transform:scale(1); opacity:1} }

/* =========================================
   TESTIMONIALS
========================================= */
.testimonials-section { border-top: 1px solid rgba(0,0,0,0.03); background-color: var(--bg-light); }
.testimonial-slider { max-width: 900px; margin: 50px auto 0; background: var(--bg-white); padding: 70px 60px; border-radius: 24px; box-shadow: 0 20px 50px rgba(0,0,0,0.04); position: relative; }
.quote-icon { font-size: 3.5rem; color: rgba(56, 189, 248, 0.15); position: absolute; top: 40px; left: 50px; }
.testimonial-text { font-size: 1.4rem; font-style: italic; line-height: 1.8; color: var(--text-main); margin-bottom: 30px; position: relative; z-index: 2; padding-top: 10px;}
.testimonial-author { font-size: 1.25rem; color: var(--primary-dark); font-weight: 800; }
.stars { color: var(--accent-color); margin-top: 12px; font-size: 1.1rem; }

/* =========================================
   CTA SECTION
========================================= */
.cta-section { background: linear-gradient(135deg, var(--primary-light), var(--primary-color)); color: white; padding: 100px 0; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%); pointer-events: none; }
.cta-section h2 { color: white; font-size: 3rem; margin-bottom: 20px; position: relative; z-index: 2; }
.cta-section p { font-size: 1.3rem; color: rgba(255,255,255,0.9); margin-bottom: 45px; max-width: 750px; margin-left: auto; margin-right: auto; position: relative; z-index: 2;}
.cta-section .btn-primary { background: white; color: var(--primary-color); padding: 20px 50px; font-size: 1.25rem; font-weight: 800; }
.cta-section .btn-primary:hover { background: var(--primary-dark); color: white; }
.cta-pulse { animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255, 0.5); } 70% { box-shadow: 0 0 0 25px rgba(255,255,255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255, 0); } }

/* =========================================
   CONTACT SECTION
========================================= */
.contact-card { display: flex; justify-content: center; gap: 40px; margin-top: 60px; flex-wrap: wrap; }
.contact-item { background: var(--bg-white); padding: 50px 45px; border-radius: 24px; box-shadow: 0 15px 50px rgba(0,0,0,0.05); flex: 1; min-width: 320px; max-width: 500px; border: 1px solid rgba(0,0,0,0.03); transition: var(--transition); }
.contact-item:hover { transform: translateY(-8px); box-shadow: 0 25px 60px rgba(0,0,0,0.08); }
.contact-item.highlight { background: var(--primary-dark); color: white; }
.contact-item.highlight h4 { color: white; }
.contact-item.highlight p { color: #cbd5e1; }
.contact-icon { width: 75px; height: 75px; background: rgba(12, 74, 110, 0.05); color: var(--primary-color); font-size: 2.2rem; border-radius: 24px; display: flex; align-items: center; justify-content: center; margin: 0 auto 30px; }
.highlight .contact-icon { background: rgba(255,255,255,0.1); color: var(--primary-light); }
.contact-item h4 { font-size: 1.5rem; margin-bottom: 15px; }
.phone-number { font-size: 1.8rem; font-weight: 800; color: var(--primary-color); display: inline-block; margin: 15px 0; font-family: var(--font-heading); }
.highlight .phone-number { color: white; }

/* =========================================
   FOOTER
========================================= */
footer { background: var(--bg-light); color: var(--text-main); padding: 80px 0 30px; border-top: 1px solid rgba(0,0,0,0.05); }
.footer-content { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 50px; }
.footer-logo { font-family: var(--font-heading); color: var(--primary-dark); font-size: 2.2rem; font-weight: 900; margin-bottom: 18px; display: flex; align-items: center; justify-content: center; letter-spacing: -1px; }
.footer-logo::after { content: '.'; color: var(--primary-light); }
.footer-desc { max-width: 500px; color: var(--text-muted); font-size: 1.1rem; }
.footer-bottom { padding-top: 30px; border-top: 1px solid rgba(0,0,0,0.1); font-size: 1rem; font-weight: 500; color: var(--text-muted); }

/* =========================================
   ANIMATIONS
========================================= */
.fade-in { opacity: 0; transition: opacity 1.2s ease; } .fade-in.appear { opacity: 1; }
.fade-in-up { opacity: 0; transform: translateY(40px); transition: all 1s cubic-bezier(0.1, 0.5, 0.1, 1); } .fade-in-up.appear { opacity: 1; transform: translateY(0); }
.slide-in-left { opacity: 0; transform: translateX(-50px); transition: all 1s cubic-bezier(0.1, 0.5, 0.1, 1); } .slide-in-left.appear { opacity: 1; transform: translateX(0); }
.slide-in-right { opacity: 0; transform: translateX(50px); transition: all 1s cubic-bezier(0.1, 0.5, 0.1, 1); } .slide-in-right.appear { opacity: 1; transform: translateX(0); }
.slide-in-bottom { opacity: 0; transform: translateY(50px); transition: all 1s cubic-bezier(0.1, 0.5, 0.1, 1); } .slide-in-bottom.appear { opacity: 1; transform: translateY(0); }

/* =========================================
   RESPONSIVE (MOBILE)
========================================= */
@media (max-width: 1024px) {
    .glass-box { padding: 40px; }
    .glass-box h1 { font-size: 2.8rem; }
    .about-grid { gap: 40px; }
    .hero-slider { min-height: 70vh; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%;
        background: var(--bg-white); padding: 30px 20px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); text-align: center; gap: 20px; border-top: 1px solid rgba(0,0,0,0.05);
    }
    .nav-links.active { display: flex; }
    .nav-cta { display: none; }
    .hamburger { display: block; }

    .hero-slider { min-height: auto; padding: 25vh 0 15vh;}
    .hero-overlay-content { text-align: center; }
    .glass-box { margin: 0 auto; padding: 40px 25px; }
    .glass-box h1 { font-size: 2.4rem; }
    .hero-buttons { flex-direction: column; }
    .slider-btn { display: none; } 

    .about-grid { grid-template-columns: 1fr; }
    .about-image { order: -1; } 
    .experience-badge { right: 0; bottom: -15px; padding: 25px; }
    .experience-badge h3 { font-size: 2.2rem; }
    
    .contact-card { flex-direction: column; align-items: center; }
    .contact-item { width: 100%; }
}
