/* Base Styles */
:root {
    --primary-color: #6e45e2;
    --secondary-color: #88d3ce;
    --dark-color: #0f0f1a;
    --light-color: #f8f9fa;
    --glitch-color-1: #0ff;
    --glitch-color-2: #f0f;
    --glitch-color-3: #ff0;
}

html {
    overflow-x: hidden;
}

body {
    color: #e0e0e0; /* Light gray instead of pure white */
    background-color: #0a0a12;
    background-image: 
        linear-gradient(rgba(110, 69, 226, 0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(110, 69, 226, 0.2) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center center;
    animation: gridAnim 60s linear infinite;
}

@keyframes gridAnim {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 1000px 1000px;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: #ffffff; /* Pure white for headings */
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
}

/* Navbar */
.navbar {
    padding: 20px 0;
    position: fixed; /* Changed from absolute to fixed */
    width: 100%;
    z-index: 1000;
    background-color: rgba(15, 15, 26, 0.9) !important; /* Add background with transparency */
    backdrop-filter: blur(10px); /* Frosted glass effect */
    transition: all 0.3s ease;
}

.navbar-scrolled {
    padding: 10px 0;
    background-color: rgba(15, 15, 26, 0.98) !important;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link {
    margin: 0 10px;
    font-weight: 500;
    position: relative;
}

/* Hero Section */
.hero {
    min-height: calc(100vh - 80px); /* Account for navbar */
    padding: 0;
    margin: 0;
    background: linear-gradient(135deg, var(--dark-color) 0%, #1a1a2e 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjAzKSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3QgZmlsbD0idXJsKCNwYXR0ZXJuKSIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIvPjwvc3ZnPg==');
    opacity: 0.3;
    z-index: 0;
}

/* Sections */
section {
    padding: 80px 0; 
    position: relative;
}

.bg-dark {
    background-color: var(--dark-color) !important;
}

/* About Section */
/* About Image Specific Styles */
.about-image-wrapper {
    width: 100%;
    max-width: 500px; /* Adjust this value to change max width */
    margin: 0 auto;
    aspect-ratio: 4/3; /* Adjust ratio (width/height) as needed */
  }
  
  .about-image-wrapper .about-img {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
    border: 2px solid rgba(110, 69, 226, 0.3);
  }
  
  .about-image-wrapper .about-img-main,
  .about-image-wrapper .about-img-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  /* Keep existing glitch effects but scoped to about section */
  .about-image-wrapper .glitch-layer-1 {
    z-index: 2;
    animation: glitch-img-anim-1 8s infinite;
    filter: hue-rotate(90deg) brightness(1.2);
  }
  
  .about-image-wrapper .glitch-layer-2 {
    z-index: 3;
    animation: glitch-img-anim-2 6s infinite;
    filter: hue-rotate(180deg) contrast(1.5);
  }
  
  .about-image-wrapper .glitch-layer-3 {
    z-index: 4;
    animation: glitch-img-anim-3 4s infinite;
    filter: hue-rotate(270deg) saturate(2);
  }
  
  .about-image-wrapper .glitch-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      45deg,
      transparent 45%,
      rgba(0, 255, 255, 0.1) 50%,
      transparent 55%
    );
    background-size: 20px 20px;
    z-index: 5;
    animation: glitch-scan 3s linear infinite;
  }
  
  /* Keyframes remain the same as before */
  @keyframes glitch-img-anim-1 {
    0%, 100% { opacity: 0; transform: translate(0); }
    2% { opacity: 0.8; transform: translate(-5px, 5px); }
    4% { opacity: 0; transform: translate(0); }
    6% { opacity: 0.8; transform: translate(5px, -5px); }
    8% { opacity: 0; transform: translate(0); }
  }
  
  @keyframes glitch-img-anim-2 {
    0%, 100% { opacity: 0; transform: translate(0); }
    3% { opacity: 0.7; transform: translate(5px, 5px); }
    5% { opacity: 0; transform: translate(0); }
    7% { opacity: 0.7; transform: translate(-5px, -5px); }
    9% { opacity: 0; transform: translate(0); }
  }
  
  @keyframes glitch-img-anim-3 {
    0%, 100% { opacity: 0; transform: translate(0); }
    4% { opacity: 0.6; transform: translate(-3px, -3px) scale(1.02); }
    6% { opacity: 0; transform: translate(0); }
    8% { opacity: 0.6; transform: translate(3px, 3px) scale(0.98); }
    10% { opacity: 0; transform: translate(0); }
  }
  
  @keyframes glitch-scan {
    0% { background-position: 0 0; }
    100% { background-position: 100% 100%; }
  }

/* Services Section */
.service-card {
    background: rgba(15, 15, 26, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

/* Gallery Section */
#gallery {
    padding: 60px 0 40px; 
}

.gallery-carousel {
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.gallery-track {
    display: flex;
    gap: 20px;
    animation: scroll 30s linear infinite;
    width: calc(250px * 10);
}

.gallery-slide {
    width: 350px;
    flex-shrink: 0;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.gallery-slide img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-slide:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-slide:hover img {
    transform: scale(1.1);
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-light:hover {
    background-color: var(--light-color);
    color: var(--dark-color);
}

/* Animations */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 5));
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .gallery-slide {
        width: 300px;
    }
}

/* Contact Page Styles */
.contact-hero {
    min-height: 60vh;
    background: linear-gradient(rgba(15, 15, 26, 0.8), rgba(15, 15, 26, 0.8)), url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2072&q=80') no-repeat center center/cover;
}

.contact-info, .contact-form {
    background: rgba(15, 15, 26, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
    min-width: 30px;
    text-align: center;
}

.contact-details h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.glitch-input {
    background: rgb(255, 255, 255);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgb(0, 0, 0);
    transition: all 0.3s ease;
}

.glitch-input:focus {
    background: rgb(255, 255, 255);
    border-color: var(--primary-color);
    color: rgb(0, 0, 0);
    box-shadow: 0 0 0 0.25rem rgba(110, 69, 226, 0.25);
}
#phone {
    color: #000 !important;
  }
  .iti__country-list {
    background-color: #fff !important;
    color: #000 !important;
  }
  
  .iti__country {
    color: #000 !important;
  }
  
  .iti__selected-flag {
    background-color: #fff !important;
    color: #000 !important;
  }
  

  

.map-container {
    border-radius: 0;
    overflow: hidden;
    position: relative;
}

.map-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        transparent 45%, 
        var(--glitch-color-1) 50%, 
        transparent 55%);
    background-size: 20px 20px;
    opacity: 0.1;
    pointer-events: none;
    z-index: 1;
}

.map-container iframe {
    position: relative;
    z-index: 0;
}

/* Update in style.css */
footer {
    background-color: var(--dark-color) !important;
    padding: 30px 0;
    text-align: center; /* Center all content */
}

footer .row {
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer .col-md-6 {
    width: 100%;
    max-width: 100%;
    text-align: center;
    margin-bottom: 15px;
}

footer .text-md-end {
    text-align: center !important;
}

/* For the social icons */
footer a {
    margin: 0 10px;
}

/* Centered Navbar */
.navbar-collapse {
    flex-grow: 0;
}

.navbar-brand.mx-auto {
    margin-right: auto !important;
}

@media (min-width: 992px) {
    .navbar-brand.mx-lg-0 {
        margin-right: 0 !important;
    }
}

/* Mega Menu Styles */
.mega-menu .dropdown-menu {
    width: 100vw;
    left: 50% !important;
    transform: translateX(-50%) !important;
    padding: 20px;
    background: rgba(30, 30, 46, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(110, 69, 226, 0.3);
}

.mega-menu-content {
    max-width: 1200px;
    margin: 0 auto;
}

.mega-menu .dropdown-item {
    color: #e0e0e0;
    padding: 8px 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.mega-menu .dropdown-item:hover {
    background: rgba(110, 69, 226, 0.2);
    color: white;
}

.mega-menu .dropdown-header {
    color: var(--primary-color);
    font-weight: 600;
    padding: 8px 15px;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* Navbar hover effects */
.nav-link.dropdown-toggle::after {
    display: none;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block !important;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(-50%) translateY(10px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
/*for mobile*/
@media (max-width: 991.98px) {
    .mega-menu .dropdown-menu {
        width: 100%;
        position: static !important;
        transform: none !important;
        background: rgba(30, 30, 46, 0.9);
    }
    
    .navbar-collapse {
        padding: 20px 0;
    }
    
    .navbar-nav {
        margin-top: 15px;
    }
}

/* Contact Form Alerts */
.alert {
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 0;
    border: 1px solid transparent;
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.2);
    border-color: rgba(40, 167, 69, 0.3);
    color: #28a745;
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.2);
    border-color: rgba(220, 53, 69, 0.3);
    color: #dc3545;
}

/* Glitch effect for success message */
.alert.glitch-text {
    position: relative;
    background-color: transparent;
    border: none;
    padding-left: 0;
    padding-right: 0;
}

.alert.glitch-text::before,
.alert.glitch-text::after {
    display: none; /* Disable for alerts */
}


.recaptcha-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
  }
  .g-recaptcha {
    transform: scale(0.85);
    transform-origin: 0 0;
  }
  .recaptcha-container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  #recaptchaWidget {
    margin-bottom: 15px;
    transform: scale(0.95);
    transform-origin: center;
  }
  
  @media (max-width: 576px) {
    #recaptchaWidget {
      transform: scale(0.85);
    }
  }
  