/* --- CSS Variables & Theming --- */
:root {
    --bg-color: #ffffff;
    --text-color: #121212;
    --text-muted: #555555;
    --primary-color: #0077cc; /* Professional Blue for Light Mode */
    --secondary-color: #5a189a; /* Deep Purple for Light Mode */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(0, 0, 0, 0.1);
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --neon-shadow: none;
    --btn-glow: none;
    --btn-glow-hover: 0 4px 15px rgba(0, 119, 204, 0.4);
    --orb-opacity: 0.15;
}

[data-theme="dark"] {
    --bg-color: #0d0d12;
    --text-color: #f0f0f0;
    --text-muted: #999999;
    --primary-color: #00e5ff; /* Sleek Neon Cyan for Dark Mode */
    --secondary-color: #7b2cbf; /* Deep Neon Purple for Dark Mode */
    --glass-bg: rgba(25, 25, 35, 0.6);
    --glass-border: rgba(255, 255, 255, 0.03);
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --neon-shadow: 0 0 10px var(--primary-color), 0 0 20px var(--primary-color);
    --btn-glow: 0 0 10px var(--primary-color) inset, 0 0 10px var(--primary-color);
    --btn-glow-hover: 0 0 20px var(--primary-color), 0 0 40px var(--primary-color);
    --orb-opacity: 0.5;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.4s ease, color 0.4s ease;
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- Typography --- */
.neon-text {
    color: var(--primary-color);
    text-shadow: var(--neon-shadow);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

/* --- Navigation --- */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.nav-links a {
    margin: 0 1.5rem;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* --- Theme Switch --- */
.theme-switch-wrapper {
    display: flex;
    align-items: center;
}

.theme-switch {
    display: inline-block;
    height: 34px;
    position: relative;
    width: 60px;
}

.theme-switch input {
    display: none;
}

.slider {
    background-color: #ccc;
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .4s;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5px;
}

[data-theme="dark"] .slider {
    background-color: #2a2a35;
}

.slider .fa-sun {
    color: #f39c12;
    font-size: 14px;
}
.slider .fa-moon {
    color: #f1c40f;
    font-size: 14px;
}

.slider:before {
    background-color: #fff;
    bottom: 4px;
    content: "";
    height: 26px;
    left: 4px;
    position: absolute;
    transition: .4s;
    width: 26px;
    z-index: 2;
}

input:checked + .slider {
    background-color: #2a2a35;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 5% 4rem;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 4rem;
    z-index: 10;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
}

.stat-item h4 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 0.2rem;
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-bottom: 0;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-image-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-phone {
    width: 100%;
    max-width: 450px;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    z-index: 10;
    animation: float 6s ease-in-out infinite;
    border: 2px solid var(--glass-border);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--primary-color);
}

.btn-primary.neon-border {
    box-shadow: var(--btn-glow);
}

.btn-primary:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    box-shadow: var(--btn-glow-hover);
}

[data-theme="dark"] .btn-primary:hover {
    color: #000;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    border: 2px solid transparent;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Glowing Orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 1;
    opacity: var(--orb-opacity);
    transition: opacity 0.4s ease;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    top: -50px;
    right: -50px;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary-color);
    bottom: -50px;
    left: -50px;
}

/* --- Services Section --- */
.services {
    padding: 8rem 5%;
    position: relative;
    z-index: 10;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem 2rem;
    box-shadow: var(--card-shadow);
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.glass-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.1);
}

.service-card {
    text-align: center;
}

.icon-wrapper {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
}

/* --- Social Feeds Section --- */
.social-feeds {
    padding: 8rem 5%;
}

.feeds-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.fb-iframe-wrapper {
    display: flex;
    justify-content: center;
    background: #fff; /* Facebook iframe looks best on white */
    border-radius: 10px;
    padding: 10px;
}

/* Custom Scrollbar for IG Feed */
.ig-scroll-wrapper::-webkit-scrollbar {
    width: 8px;
}
.ig-scroll-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1; 
    border-radius: 10px;
}
.ig-scroll-wrapper::-webkit-scrollbar-thumb {
    background: var(--primary-color); 
    border-radius: 10px;
}
.ig-scroll-wrapper::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color); 
}

.center-btn {
    text-align: center;
}

/* --- Footer --- */
.footer {
    padding: 4rem 5% 2rem;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer h3, .footer h4 {
    margin-bottom: 1rem;
}

.footer p {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--primary-color);
    color: #000;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        padding-top: 4rem;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
}

/* --- Detailed Sections --- */
.detail-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6rem 5%;
    gap: 4rem;
}

.detail-section.reverse {
    flex-direction: row-reverse;
}

.detail-content {
    flex: 1;
}

.detail-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.detail-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
    margin-bottom: 2rem;
}

.feature-list li {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-list li i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.detail-image {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
}

.detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.detail-image:hover img {
    transform: scale(1.05);
}

/* --- Floating WhatsApp Button --- */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.floating-wa:hover {
    background-color: #128C7E;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

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

/* --- Responsive Adjustments for Details --- */
@media (max-width: 768px) {
    .detail-section, .detail-section.reverse {
        flex-direction: column;
        gap: 2rem;
        padding: 4rem 5%;
    }
    .detail-content h2 {
        font-size: 2rem;
    }
}

/* --- Map Section --- */
.map-section {
    padding: 6rem 5%;
}

.map-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 15px;
    border-radius: 20px;
}

.map-info {
    text-align: center;
    margin-top: 1.5rem;
    padding: 1rem;
    border-top: 1px solid var(--glass-border);
}

.map-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.map-info p {
    color: var(--text-muted);
}
