:root {
    --primary-dark: #07090f;
    --secondary-dark: #111827;
    --accent-blue: #007BFF;
    --accent-blue-hover: #0056b3;
    --text-light: #f9fafb;
    --text-muted: #9ca3af;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body { font-family: 'Inter', sans-serif; background-color: var(--primary-dark); color: var(--text-light); line-height: 1.6; }
h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; text-transform: uppercase; }
a { text-decoration: none; color: var(--text-light); transition: var(--transition); }
ul { list-style: none; }

/* --- Accessibility --- */
.skip-link { position: absolute; top: -50px; left: 10px; background: var(--accent-blue); color: var(--primary-dark); padding: 10px 15px; font-weight: bold; border-radius: 4px; z-index: 2000; transition: top 0.3s ease; }
.skip-link:focus { top: 10px; }
a:focus-visible, button:focus-visible, .btn:focus-visible, .link-btn:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px dashed #66b2ff; outline-offset: 4px; }
#main-content:focus { outline: none; }

/* --- Layout & Utilities --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-blue { color: var(--accent-blue); }
.text-muted { color: var(--text-muted); }

.btn { display: inline-block; padding: 12px 24px; background-color: var(--accent-blue); color: #ffffff; font-weight: 700; border-radius: 4px; text-align: center; border: 2px solid var(--accent-blue); transition: var(--transition); }
.btn:hover, .btn:focus { background-color: var(--accent-blue-hover); color: #ffffff; border-color: var(--accent-blue-hover); }
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 3rem; font-weight: 800; }

/* --- Navigation & Header --- */
header { background-color: rgba(7, 9, 15, 0.95); position: fixed; width: 100%; top: 0; z-index: 1000; border-bottom: 1px solid rgba(0, 123, 255, 0.2); }
.nav-container { display: flex; justify-content: space-between; align-items: center; height: 90px; }
.logo { display: flex; align-items: center; }
.logo img { height: 60px; transition: height 0.3s ease; }
.header-title { font-family: 'Poppins', sans-serif; font-size: 1.3rem; font-weight: 800; text-transform: uppercase; color: var(--text-light); text-align: center; flex-grow: 1; padding: 0 15px; line-height: 1.2; transition: all 0.3s ease; }
.title-top, .title-bottom { display: inline; }
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a:hover, .nav-links a:focus { color: var(--accent-blue); }
.mobile-only { display: none; }
.mobile-quick-actions { display: none; }

.circle-btn { width: 38px; height: 38px; border-radius: 50%; background-color: var(--accent-blue); display: flex; justify-content: center; align-items: center; transition: background-color 0.3s ease; }
.circle-btn:hover { background-color: var(--accent-blue-hover); }
.circle-btn svg { width: 18px; height: 18px; fill: #ffffff; }

.mobile-toggle { display: none; width: 32px; height: 22px; background: transparent; border: none; cursor: pointer; padding: 0; z-index: 1001; }
.mobile-toggle .bar { width: 100%; height: 3px; background-color: var(--accent-blue); border-radius: 3px; transition: all 0.3s ease-in-out; }

/* --- Social Icons styling (Footer) --- */
.social-link { display: inline-flex; align-items: center; gap: 10px; transition: var(--transition); color: var(--text-light); font-weight: 600; margin-bottom: 0.5rem; }
.social-link:hover, .social-link:active, .social-link:focus { color: var(--accent-blue); }
.inline-icon { width: 20px; height: 20px; fill: var(--accent-blue); }

/* --- Hero Section --- */
.hero { padding: 160px 0 100px; text-align: center; background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--primary-dark) 100%); }
.hero h1 { font-size: 3.5rem; margin-bottom: 1rem; line-height: 1.2; }
.hero p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 2rem; max-width: 600px; margin-inline: auto; }

/* --- Services Section --- */
.services { padding: 5rem 0; background-color: var(--primary-dark); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2.5rem; }
.service-card { display: flex; flex-direction: column; background-color: var(--secondary-dark); border-radius: 12px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.05); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.service-card:hover { transform: translateY(-5px); border-color: var(--accent-blue); box-shadow: 0 10px 20px rgba(0, 123, 255, 0.15); }
.service-img-wrapper { width: 100%; overflow: hidden; }
.service-img-wrapper img { width: 100%; height: auto; display: block; transition: transform 0.5s ease; }
.service-card:hover .service-img-wrapper img { transform: scale(1.03); }
.service-content { padding: 1.5rem; display: flex; flex-direction: column; flex-grow: 1; }
.service-card h3 { color: var(--text-light); font-size: 1.4rem; margin-bottom: 0.25rem; }
.service-price { color: var(--accent-blue); font-weight: 600; font-size: 1.1rem; margin-bottom: 1rem; }
.service-card p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }

/* --- Why Us Section --- */
.why-us { padding: 5rem 0; background-color: var(--primary-dark); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.features-list li { margin-bottom: 1rem; display: flex; align-items: center; font-size: 1.1rem; }
.features-list li::before { content: '✔'; color: var(--accent-blue); margin-right: 10px; font-weight: bold; }

/* --- Custom Instagram Reels Carousel Section --- */
.gallery { padding: 5rem 0; background-color: var(--secondary-dark); }
.carousel-container { position: relative; display: flex; align-items: center; justify-content: center; }
.carousel-track { 
    display: flex; 
    overflow-x: auto; 
    scroll-snap-type: x mandatory; 
    gap: 20px; 
    scroll-behavior: smooth; 
    padding-bottom: 10px; 
    width: 100%; 
}

/* Custom Scrollbar for the gallery */
.carousel-track::-webkit-scrollbar { height: 8px; }
.carousel-track::-webkit-scrollbar-track { background: var(--primary-dark); border-radius: 4px; }
.carousel-track::-webkit-scrollbar-thumb { background: var(--accent-blue); border-radius: 4px; }

.carousel-slide { 
    flex: 0 0 100%; 
    max-width: 400px;
    scroll-snap-align: center; 
    display: flex;
    justify-content: center;
}

@media (min-width: 768px) { .carousel-slide { flex: 0 0 calc(50% - 10px); } }
@media (min-width: 1100px) { .carousel-slide { flex: 0 0 calc(33.333% - 13.33px); } }

.reel-wrapper { 
    background-color: var(--primary-dark); 
    border-radius: 12px; 
    overflow: hidden; 
    border: 1px solid rgba(255, 255, 255, 0.05); 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    width: 100%;
    padding: 10px; 
}

.reel-wrapper iframe { max-width: 100% !important; border-radius: 8px !important; }

.carousel-btn { 
    background: var(--accent-blue); 
    color: white; 
    border: none; 
    border-radius: 50%; 
    width: 45px; 
    height: 45px; 
    font-size: 1.2rem; 
    cursor: pointer; 
    position: absolute; 
    top: calc(50% - 10px); 
    transform: translateY(-50%); 
    z-index: 10; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}
.carousel-btn.prev { left: -15px; }
.carousel-btn.next { right: -15px; }
.carousel-btn:hover { background: var(--accent-blue-hover); }

/* --- Contact Form Section --- */
.contact-section { padding: 5rem 0; background-color: var(--primary-dark); }
.form-container { max-width: 700px; margin: 0 auto; background-color: var(--secondary-dark); padding: 3rem; border-radius: 8px; border-top: 4px solid var(--accent-blue); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); }
.form-group { margin-bottom: 1.5rem; text-align: left; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; font-size: 0.95rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 14px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 4px; background-color: var(--primary-dark); color: var(--text-light); font-family: inherit; font-size: 1rem; transition: border-color 0.3s ease; }
.form-group input::placeholder, .form-group textarea::placeholder { color: #6b7280; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--accent-blue); }
.btn-submit { width: 100%; font-size: 1.1rem; margin-top: 1rem; cursor: pointer; color: #ffffff; }

/* --- Footer --- */
footer { background-color: var(--primary-dark); padding: 4rem 0 2rem; border-top: 1px solid rgba(255, 255, 255, 0.05); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.footer-col h4 { color: var(--accent-blue); margin-bottom: 1rem; }
.footer-servicing { text-align: center; font-size: 1.1rem; font-weight: 600; color: var(--text-light); padding-bottom: 2rem; }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.1); color: var(--text-muted); }

/* --- Mobile Return To Top Button --- */
.return-to-top { display: none; position: fixed; bottom: 20px; left: 20px; width: 45px; height: 45px; background-color: var(--accent-blue); border-radius: 50%; justify-content: center; align-items: center; z-index: 999; box-shadow: 0 4px 10px rgba(0,0,0,0.3); opacity: 0; transition: opacity 0.3s ease, background-color 0.3s ease; }
.return-to-top.show { opacity: 1; }
.return-to-top svg { fill: #ffffff; width: 24px; height: 24px; }

/* --- Links Page Specific --- */
.links-page { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100vh; padding: 2rem; text-align: center; background-color: var(--primary-dark); position: relative; }
#bubble-canvas { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; }
.links-container { width: 100%; max-width: 480px; z-index: 10; }
.links-logo { width: 120px; margin-bottom: 1rem; }
.links-container h1 { font-size: 1.6rem; letter-spacing: 1px; }
.links-container p { color: var(--text-muted); margin-bottom: 2.5rem; font-weight: 600;}
.link-btn { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 18px 24px; margin-bottom: 1.2rem; background: rgba(17, 24, 39, 0.6); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; font-size: 1.1rem; font-weight: 600; transition: var(--transition); color: var(--text-light); }
.link-btn:hover { background: rgba(0, 123, 255, 0.1); border-color: var(--accent-blue); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.4); }
.link-highlight { border: 1px solid var(--accent-blue); background: rgba(17, 24, 39, 0.8); }
.link-icon { width: 24px; height: 24px; fill: var(--accent-blue); }

/* --- Responsive Media Queries --- */
@media (max-width: 850px) {
    .mobile-quick-actions { display: flex; gap: 10px; margin-left: auto; margin-right: 15px; }
    .nav-container { justify-content: flex-start; }
    .header-title { font-size: 1.1rem; flex-grow: 0; padding: 0 10px; }
    .mobile-toggle { display: flex; flex-direction: column; justify-content: space-between; }
    .mobile-toggle.active .bar:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
    .mobile-toggle.active .bar:nth-child(2) { opacity: 0; }
    .mobile-toggle.active .bar:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }
    .desktop-nav { display: none; position: absolute; top: 90px; left: 0; width: 100%; background-color: var(--secondary-dark); border-bottom: 2px solid var(--accent-blue); box-shadow: 0 4px 6px rgba(0,0,0,0.3); }
    .desktop-nav.active { display: block; }
    .nav-links { flex-direction: column; gap: 0; padding: 1rem 0 2rem 0; }
    .nav-links a { display: block; padding: 1rem 2rem; text-align: center; }
    .title-top, .title-bottom { display: block; }
    .logo img { height: 60px; }
    .mobile-only { display: block; margin-top: 1.5rem; width: 100%; }
    .mobile-only .call-now-btn { width: 80%; margin: 0 auto; display: block; background-color: var(--accent-blue); color: #ffffff; }

    .why-content { display: flex; flex-direction: column; align-items: center; text-align: center; }
    .features-list { display: inline-block; text-align: left; }

    .footer-col { text-align: center; display: flex; flex-direction: column; align-items: center; }
    .return-to-top { display: flex; }
    .hero h1 { font-size: 2.5rem; }
    .why-grid { grid-template-columns: 1fr; }
    .form-container { padding: 1.5rem; }
}

@media (max-width: 450px) {
    .header-title { font-size: 1rem; padding: 0 5px;}
    .logo img { height: 50px; }
    .circle-btn { width: 34px; height: 34px; }
}