/* ====== CSS Variables & Theme ====== */
:root {
    --primary: #0066cc;
    --primary-dark: #004c99;
    --secondary: #ff6b00;
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --text-main: #334155;
    --text-heading: #0f172a;
    --dark: #0a0a0a;
    --dark-alt: #141414;
    --light: #f8f9fa;
    --white: #ffffff;
    --gray: #64748b;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(0, 0, 0, 0.1);
}

/* ====== Reset & Base ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none; /* For custom cursor */
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-heading);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* ====== Custom Cursor ====== */
.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary);
    opacity: 0.5;
}

.cursor-dot, .cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

/* ====== Typography ====== */
.reveal-text {
    font-size: clamp(3rem, 5vw, 5.5rem);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(90deg, #fff, #888);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    margin-bottom: 20px;
}

.reveal-text span {
    color: var(--primary);
    -webkit-text-fill-color: var(--primary);
    text-shadow: 0 0 20px rgba(0, 123, 255, 0.4);
}

.title-3d {
    font-size: clamp(2.5rem, 4vw, 4rem);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.title-3d span {
    color: var(--primary);
}

/* ====== Header & Nav ====== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

header.scrolled, header.solid-header {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
}

header.scrolled .logo, header.scrolled .nav-links li a {
    color: var(--text-heading);
}
header.scrolled .hamburger div {
    background-color: var(--text-heading);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    z-index: 1001;
}

.logo img {
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.2));
}

.logo strong {
    color: var(--primary);
}

nav .nav-links {
    display: flex;
    gap: 30px;
}

.nav-links li a {
    font-weight: 500;
    font-size: 1.1rem;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links li a:hover::after, .nav-links li a.active::after {
    width: 100%;
}

.contact-header {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 5px;
    transition: var(--transition);
}

/* ====== Buttons ====== */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border: none;
    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: var(--transition);
    z-index: -1;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(0, 123, 255, 0.4);
}

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

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

.btn-outline {
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 10px 25px;
    border-radius: 30px;
}
.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

.full-width {
    width: 100%;
    text-align: center;
}

/* ====== Hero Section ====== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: #050505; /* Fallback color */
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Lighter Dark Overlay */
    z-index: 1;
}

.hero-overlay.light-overlay {
    background: linear-gradient(to right, rgba(0,0,0,0.5), rgba(0,0,0,0.1));
}

#hero-canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

@keyframes zoomInOut {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(255,255,255,0.1) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-content h1 {
    color: var(--white);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--light);
    margin-bottom: 40px;
    max-width: 600px;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--gray);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--gray);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { top: 10px; opacity: 1; }
    100% { top: 30px; opacity: 0; }
}

/* ====== 3D Flip Cards (Popular Services) ====== */
.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-header p {
    color: var(--gray);
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    perspective: 1000px;
}

.service-card {
    height: 400px;
    background-color: transparent;
    perspective: 1000px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.service-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 20px;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card-front {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(0, 123, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .icon-wrapper {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.card-front h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.card-front p {
    color: var(--gray);
}

.card-back {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: white;
    transform: rotateY(180deg);
}

.card-back h3 {
    margin-bottom: 20px;
    font-size: 2rem;
    color: white;
}

.card-back p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ====== Slider Section (Weekly Services) ====== */
.dark-bg {
    background-color: #f1f5f9;
    position: relative;
}

.weekly-services.section-padding {
    padding-top: 40px;
    padding-bottom: 0;
}

.weekly-swiper {
    padding: 10px 0 30px; /* Balanced padding for pagination */
    height: auto;
}

.slider-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.slider-card .img-box {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.slider-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.slider-card:hover img {
    transform: scale(1.1);
}

.slider-card .content-box {
    padding: 30px 20px;
    transform: translateZ(30px); /* 3D pop out effect on content */
}

.content-box h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.content-box p {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.btn-text {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-text i {
    transition: transform 0.3s;
}

.btn-text:hover i {
    transform: translateX(5px);
}

/* ====== Projects Section ====== */
/* ====== Projects Section ====== */
.project-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    border: 1px solid var(--glass-border);
    background: var(--card-bg);
    color: var(--gray);
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    font-size: 0.9rem;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(0, 102, 204, 0.2);
    transform: translateY(-2px);
}

.projects-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.project-card {
    background: var(--card-bg);
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    box-shadow: 0 15px 45px rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column; /* Default for mobile */
}

@media (min-width: 992px) {
    .project-card {
        flex-direction: row;
        align-items: stretch;
    }

    .project-media {
        width: 45%;
        height: auto;
        min-height: 400px;
    }

    .project-info {
        width: 55%;
        padding: 50px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

.project-card.hide {
    display: none;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.project-media {
    position: relative;
    overflow: hidden;
    background: #000;
}

.project-media img, .project-media video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.project-media.video-view, .project-media.full-view {
    height: auto;
}

.project-media blockquote {
    margin: 0 !important;
}

.project-card:hover .project-media img {
    transform: scale(1.02);
}

.project-info {
    padding: 30px;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.project-date {
    color: var(--gray);
    font-size: 0.9rem;
}

.project-info h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    line-height: 1.2;
    color: var(--white);
}

.project-info p {
    color: var(--gray);
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 1rem;
}

.project-info p strong {
    color: var(--primary);
}

.project-tag {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(0, 102, 204, 0.15);
    color: var(--primary);
    border: 1px solid rgba(0, 102, 204, 0.2);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Swiper Controls */
.swiper-pagination-bullet {
    background: var(--gray);
}
.swiper-pagination-bullet-active {
    background: var(--primary);
}
.swiper-button-next, .swiper-button-prev {
    color: var(--primary);
}

/* ====== CTA Section ====== */
.cta-section {
    background: url('file:///C:/Users/DELL/.gemini/antigravity/brain/9b9c18da-c39b-424f-9f04-62915bdcb914/painting_1777293323862.png') no-repeat center center/cover;
    position: relative;
    padding: 40px 0 80px;
    background-attachment: fixed; /* Parallax effect */
    color: var(--white);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(4, 15, 45, 0.8); /* Dark Blue */
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--white);
}

.cta-section p {
    font-size: 1.2rem;
    color: var(--light);
    margin-bottom: 40px;
}

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

/* ====== Inner Pages ====== */
.inner-page {
    padding-top: 100px;
}

.page-header {
    padding: 100px 0 50px;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-color), #f1f5f9);
    border-bottom: 1px solid var(--glass-border);
}

.flex-row {
    display: flex;
    gap: 50px;
    align-items: center;
}

.flex-row > * {
    flex: 1;
}

/* About Page */
.stats-container {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.stat-box h3 {
    font-size: 3rem;
    color: var(--primary);
}

/* Services Page Grid */
.services-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.list-item {
    display: flex;
    gap: 20px;
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.list-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-color: rgba(0, 123, 255, 0.3);
}

.list-icon {
    font-size: 2.5rem;
    color: var(--primary);
}

/* Contact Page */
.info-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--card-bg);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.info-card i {
    color: var(--primary);
}

.big-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-heading);
}

.glass-form {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.glass-form h3 {
    margin-bottom: 30px;
    font-size: 2rem;
}

.input-group {
    margin-bottom: 20px;
}

.input-group input, .input-group select, .input-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(0,0,0,0.02);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 10px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.input-group input:focus, .input-group select:focus, .input-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(0,0,0,0.05);
}

.input-group select option {
    background: var(--card-bg);
    color: var(--text-main);
}

/* ====== Footer ====== */
footer {
    background: var(--dark);
    padding-top: 80px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--light);
}

footer h3 {
    color: var(--white);
}

footer p {
    color: var(--gray);
}

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

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-col p {
    color: var(--gray);
    margin-bottom: 20px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: var(--gray);
}

.footer-col ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.contact-info-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray);
}

.contact-info-list li i {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #222;
    color: var(--gray);
    font-size: 0.9rem;
}

/* ====== Responsive ====== */
@media (max-width: 992px) {
    .flex-row {
        flex-direction: column;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        right: -100%;
        height: 100vh;
        width: 300px;
        background: var(--dark);
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
        transition: right 0.4s ease;
        border-left: 1px solid #222;
    }

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

    .hamburger {
        display: block;
    }

    .hamburger.toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    .hamburger.toggle .line2 {
        opacity: 0;
    }
    .hamburger.toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .contact-header {
        display: none;
    }
}

@media (max-width: 768px) {
    .reveal-text {
        font-size: 2.5rem;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .cta-buttons {
        flex-direction: column;
    }
    .cursor-dot, .cursor-outline {
        display: none; /* Hide custom cursor on mobile */
    }
    * {
        cursor: auto;
    }
}

/* ====== Floating Contact Buttons ====== */
.floating-contact {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.floating-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 60px;
    border-radius: 40px 0 0 40px;
    color: white;
    font-size: 1.8rem;
    box-shadow: -5px 0 15px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    padding-right: 5px;
}

.btn-call {
    background-color: #007bff; /* Deep Blue from pic */
}

.btn-whatsapp {
    background-color: #25d366; /* WhatsApp Green */
}

.floating-btn:hover {
    width: 80px;
    padding-right: 15px;
}

/* Responsive adjust for mobile */
@media (max-width: 768px) {
    .floating-contact {
        top: auto;
        bottom: 20px;
        transform: none;
    }
    .floating-btn {
        width: 55px;
        height: 50px;
        font-size: 1.4rem;
    }
    .floating-btn:hover {
        width: 65px;
    }
}
