@import url('https://fonts.googleapis.com/css2?family=Audiowide&display=swap');

@font-face {
    font-family: 'Audiowide';
    src: url('https://fonts.gstatic.com/s/audiowide/v16/l7gdbjpo0cum0ckerWCdlg_O.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    text-rendering: optimizeLegibility;
}

/* Fallback font loading */
.fonts-loading h1,
.fonts-loading h2,
.fonts-loading h3,
.fonts-loading h4,
.fonts-loading h5,
.fonts-loading h6 {
    font-family: Arial, sans-serif;
}

/* Once fonts are loaded */
.fonts-loaded h1,
.fonts-loaded h2,
.fonts-loaded h3,
.fonts-loaded h4,
.fonts-loaded h5,
.fonts-loaded h6 {
    font-family: 'Audiowide', Arial, sans-serif;
}

body {
    background-color: #212529;
    color: #ffffff;
    font-family: Helvetica, Arial, sans-serif;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
    overflow-x: hidden;
    width: 100%;
    position: relative;
    background-color: #000;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Audiowide', sans-serif;
    letter-spacing: 0.2rem;
    word-spacing: 0.5rem;
}

p {
    font-family: Helvetica, Arial, sans-serif;
}

.card {
    background-color: #2c3034;
}

.container {
    color: #e9ecef;
}

/* Navbar Styles */
.navbar {
    background-color: transparent !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.7%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section Styles */
.hero-section {
    height: 100vh;
    background-image: url('img/about/lets.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

/* Add overlay */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Adjust opacity here (0.6 = 60% dark) */
}

.hero-content {
    z-index: 1;  /* This ensures content stays above the overlay */
    padding: 20px;
    position: relative;  /* This helps with z-index stacking */
}

.hero-title {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 5rem;
    letter-spacing: 4px;
    margin-bottom: 2rem;
    line-height: 1.2;
    word-spacing: 0.5rem;
}

.glow-text {
    font-size: 3.5rem;
    font-weight: bold;
    color: white;
    animation: breathing 4s ease-in-out infinite;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8),
                 0 0 20px rgba(255, 255, 255, 0.8),
                 0 0 30px rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    letter-spacing: 0.5rem;
    word-spacing: 1rem;
    text-align: center;
}

/* Breathing animation keyframes */
@keyframes breathing {
    0% {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.8),
                     0 0 20px rgba(255, 255, 255, 0.8),
                     0 0 30px rgba(255, 255, 255, 0.8);
        transform: scale(1);
    }
    50% {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.9),
                     0 0 30px rgba(255, 255, 255, 0.9),
                     0 0 40px rgba(255, 255, 255, 0.9);
        transform: scale(1.05);
    }
    100% {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.8),
                     0 0 20px rgba(255, 255, 255, 0.8),
                     0 0 30px rgba(255, 255, 255, 0.8);
        transform: scale(1);
    }
}

.hero-description {
    font-family: 'Helvetica', serif;
    font-size: 1.5rem;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    padding: 0 20px;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 4.5rem;
        letter-spacing: 3px;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 4rem;
        letter-spacing: 2px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
        letter-spacing: 2px;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 1px;
        word-spacing: 0.3rem;
    }
}

/* Services Section */
.services-section {
    min-height: 100vh;
    background-color: #000000;
    position: relative;
}

.services-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

.services-image {
    position: relative;
    overflow: hidden;
}

.services-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services-content {
    padding: 2rem;
}

/* Add specific padding for the title */
.services-content h2.glow-text {
    padding-top: 5rem;  /* Increase top padding */
    margin-bottom: 1.5rem;  /* Maintain consistent spacing below */
}

.services-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    padding-top: 3rem;
    color: #ffffff;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 0.3rem;
}

.section-description {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 1200px;
    margin: 0 auto;
}

.service-item {
    background: #000000;
    border-radius: 15px;
    padding: 2.5rem 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.service-title {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    color: #fff;
    font-weight: 600;
}

.service-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #df0000, #ffb600);
    margin: 1.2rem 0;
}

.service-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Updated media query for better mobile layout */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }

    .service-item {
        padding: 2rem 1.5rem;
    }

    .service-title {
        font-size: 1.5rem;
    }

    .service-description {
        font-size: 1rem;
    }

    .services-image {
        display: none; /* Hide the image on mobile */
    }

    .services-container {
        display: block; /* Change from grid to block on mobile */
    }

    .services-content {
        width: 100%; /* Take full width on mobile */
    }
    
    .services-content {
        padding: 1rem;
    }
    
    .services-content h2.glow-text {
        padding-top: 2rem;  /* Slightly less padding on mobile */
    }

    .services-content h2 {
        font-size: 2.5rem;
        padding-top: 2rem;
    }
}

/* Video Section Styles */
.video-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    background-color: #000;
    display: block;
}

.video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
    background-color: #000;
}

.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
    z-index: 0;
}

.video-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1;
    width: 90%;
    max-width: 1200px; /* Prevent excessive width */
}

/* Video Content Glow Text */
.video-content .glow-text {
    font-size: 3.5rem;
    text-align: center;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8),
                 0 0 20px rgba(255, 255, 255, 0.8),
                 0 0 30px rgba(255, 255, 255, 0.8);
    animation: glow 2s ease-in-out infinite alternate;
}

@media (max-width: 1024px) {
    .video-content {
        width: 95%;
    }
}

@media (max-width: 768px) {
    .video-content {
        width: 90%;
    }
    
    .video-container {
        height: 80vh; /* Increased from 60vh to 80vh */
    }
}

@media (max-width: 480px) {
    .video-content {
        width: 85%;
    }
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.8),
                     0 0 20px rgba(255, 255, 255, 0.8),
                     0 0 30px rgba(255, 255, 255, 0.8);
    }
    to {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.8),
                     0 0 30px rgba(255, 255, 255, 0.8),
                     0 0 40px rgba(255, 255, 255, 0.8);
    }
}

/* Understanding Section Styles */
.understanding-section {
    background-color: #000;
    min-height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    margin-top: -1px; /* Fix any potential pixel gap */
}

.glitch-wrapper {
    padding: 20px;
    text-align: center;
}

.glitch {
    font-size: 4rem;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
    text-shadow: 0.05em 0 0 #00fffc, -0.03em -0.04em 0 #fc00ff,
                 0.025em 0.04em 0 #fffc00;
    animation: glitch 725ms infinite;
    margin: 0;
    color: white;
}

.glitch span {
    position: absolute;
    top: 0;
    left: 0;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 #ff00c1;
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 #00fff9;
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim 2.5s infinite linear alternate-reverse;
}

@keyframes glitch {
    0% {
        text-shadow: 0.05em 0 0 #00fffc, -0.03em -0.04em 0 #fc00ff,
                     0.025em 0.04em 0 #fffc00;
    }
    15% {
        text-shadow: 0.05em 0 0 #00fffc, -0.03em -0.04em 0 #fc00ff,
                     0.025em 0.04em 0 #fffc00;
    }
    16% {
        text-shadow: -0.05em -0.025em 0 #00fffc, 0.025em 0.035em 0 #fc00ff,
                     -0.05em -0.05em 0 #fffc00;
    }
    49% {
        text-shadow: -0.05em -0.025em 0 #00fffc, 0.025em 0.035em 0 #fc00ff,
                     -0.05em -0.05em 0 #fffc00;
    }
    50% {
        text-shadow: 0.05em 0.035em 0 #00fffc, 0.03em 0 0 #fc00ff,
                     0 -0.04em 0 #fffc00;
    }
    99% {
        text-shadow: 0.05em 0.035em 0 #00fffc, 0.03em 0 0 #fc00ff,
                     0 -0.04em 0 #fffc00;
    }
    100% {
        text-shadow: -0.05em 0 0 #00fffc, -0.025em -0.04em 0 #fc00ff,
                     -0.04em -0.05em 0 #fffc00;
    }
}

@keyframes glitch-anim {
    0% {
        clip: rect(51px, 9999px, 28px, 0);
    }
    5% {
        clip: rect(70px, 9999px, 19px, 0);
    }
    10% {
        clip: rect(92px, 9999px, 13px, 0);
    }
    15% {
        clip: rect(85px, 9999px, 49px, 0);
    }
    20% {
        clip: rect(45px, 9999px, 56px, 0);
    }
    25% {
        clip: rect(54px, 9999px, 55px, 0);
    }
    30% {
        clip: rect(60px, 9999px, 41px, 0);
    }
    35% {
        clip: rect(55px, 9999px, 29px, 0);
    }
    40% {
        clip: rect(29px, 9999px, 44px, 0);
    }
    45% {
        clip: rect(89px, 9999px, 98px, 0);
    }
    50% {
        clip: rect(84px, 9999px, 75px, 0);
    }
    55% {
        clip: rect(23px, 9999px, 69px, 0);
    }
    60% {
        clip: rect(58px, 9999px, 71px, 0);
    }
    65% {
        clip: rect(69px, 9999px, 59px, 0);
    }
    70% {
        clip: rect(57px, 9999px, 16px, 0);
    }
    75% {
        clip: rect(64px, 9999px, 39px, 0);
    }
    80% {
        clip: rect(79px, 9999px, 31px, 0);
    }
    85% {
        clip: rect(94px, 9999px, 53px, 0);
    }
    90% {
        clip: rect(22px, 9999px, 67px, 0);
    }
    95% {
        clip: rect(91px, 9999px, 84px, 0);
    }
    100% {
        clip: rect(15px, 9999px, 78px, 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip: rect(65px, 9999px, 65px, 0);
    }
    5% {
        clip: rect(52px, 9999px, 77px, 0);
    }
    10% {
        clip: rect(28px, 9999px, 33px, 0);
    }
    15% {
        clip: rect(23px, 9999px, 40px, 0);
    }
    20% {
        clip: rect(64px, 9999px, 88px, 0);
    }
    25% {
        clip: rect(45px, 9999px, 65px, 0);
    }
    30% {
        clip: rect(76px, 9999px, 89px, 0);
    }
    35% {
        clip: rect(45px, 9999px, 28px, 0);
    }
    40% {
        clip: rect(94px, 9999px, 34px, 0);
    }
    45% {
        clip: rect(55px, 9999px, 33px, 0);
    }
    50% {
        clip: rect(24px, 9999px, 44px, 0);
    }
    55% {
        clip: rect(89px, 9999px, 98px, 0);
    }
    60% {
        clip: rect(26px, 9999px, 55px, 0);
    }
    65% {
        clip: rect(75px, 9999px, 76px, 0);
    }
    70% {
        clip: rect(57px, 9999px, 85px, 0);
    }
    75% {
        clip: rect(64px, 9999px, 39px, 0);
    }
    80% {
        clip: rect(93px, 9999px, 72px, 0);
    }
    85% {
        clip: rect(84px, 9999px, 43px, 0);
    }
    90% {
        clip: rect(12px, 9999px, 67px, 0);
    }
    95% {
        clip: rect(71px, 9999px, 84px, 0);
    }
    100% {
        clip: rect(15px, 9999px, 86px, 0);
    }
}

/* Add scan lines effect */
.understanding-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15) 0px,
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    animation: scan 0.5s linear infinite;
}

@keyframes scan {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 0 2px;
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .glitch {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .glitch {
        font-size: 1.5rem;
    }
}

.features-section {
    background-color: #000;
    padding: 6rem 2rem;
    color: white;
}

.features-header {
    max-width: 1200px;
    margin: 0 auto 4rem;
    text-align: center;
}

.features-title {
    font-size: 2rem;
    line-height: 1.4;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    transition: transform 0.3s ease, background 0.3s ease;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
}

.feature-number {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: #4facfe;
    z-index: 2;
}

.feature-image {
    position: relative;
    width: 100%;
    height: 200px;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-card:hover .feature-image img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.2),
        rgba(0, 0, 0, 0.6)
    );
    transition: opacity 0.3s ease;
}

.feature-card:hover .image-overlay {
    opacity: 0.4;
}

.feature-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #fff;
    font-weight: 600;
}

.feature-card p {
    font-size: 0.9rem;
    color: #aaa;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Animation for cards on scroll */
.feature-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger the animation for each card */
.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

/* About Section Styles */
.about-section {
    background-color: #000;
    color: white;
    padding: 6rem 0;
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

.about-title {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 10rem;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 4px;
    color: white;
}

.content-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 5rem;
    position: relative;
}

.title-side {
    width: 40%;
}

.text-side {
    width: 70%;
}

.title-side h3 {
    font-size: 5.5rem;
    font-weight: bold;
    line-height: 1;
    text-transform: uppercase;
    margin: 0;
    color: white;
    letter-spacing: 6px;
}

.content-row p {
    font-size: 1.25rem;
    line-height: 1.5;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

/* Vision row specific styles */


.vision-row .text-side {
    order: 1;
    text-align: left;
    padding-right: 4rem;
}

.vision-row .title-side {
    order: 2;
    text-align: right;
}

/* Responsive Design */
@media (max-width: 992px) {
    .container {
        padding: 0 2rem;
    }
    
    .title-side h3 {
        font-size: 4rem;
    }
}

@media (max-width: 768px) {
    .content-row {
        flex-direction: column;
        gap: 2rem;
        margin-bottom: 8rem;
    }

    .title-side,
    .text-side {
        width: 100%;
    }

    .vision-row .text-side {
        order: 2;
        padding-right: 0;
    }

    .vision-row .title-side {
        order: 1;
        text-align: left;
    }

    .title-side h3 {
        font-size: 3.5rem;
    }
}

@media (max-width: 480px) {
    .about-title {
        font-size: 2.5rem;
    }

    .title-side h3 {
        font-size: 3rem;
    }

    .content-row p {
        font-size: 1rem;
    }
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px; /* Same height as before */
    background-color: #000;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header .container {
    height: 100%;
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px; /* Adjust based on your logo size */
    width: auto;
}

/* Add these styles at the beginning of your CSS file */
.logo-fixed {
    position: fixed;
    top: 2rem;
    left: 2rem;
    z-index: 1000;
}

.logo-fixed img {
    height: 80px;
    width: auto;
}


.contact-section {
    background-color: #000;
    color: white;
    padding: 6rem 0;
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

.contact-title {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 5rem;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 4px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

/* Contact Info Styles */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.info-content .description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.detail-item i {
    font-size: 1.5rem;
    color: #E00400;
}

/* Map Styles */
.map-container {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Form Styles */
.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 10px;
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s;
    pointer-events: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: #007bff;
    outline: none;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:valid + label,
.form-group textarea:valid + label {
    top: -0.5rem;
    font-size: 0.8rem;
    color: #007bff;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #EE5400;
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .container {
        padding: 0 2rem;
    }
}

@media (max-width: 768px) {
    .contact-title {
        font-size: 2.5rem;
        margin-bottom: 3rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .map-container {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .contact-title {
        font-size: 2rem;
    }

    .info-content .description {
        font-size: 1rem;
    }
}

/* Replace the previous social media styles with these new ones */
.social-media {
    margin-top: 3rem;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-text {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-svg-wrapper {
    width: 60px;
    cursor: pointer;
}

.social-svg-wrapper a {
    text-decoration: none;
}

.social-shape {
    fill: transparent;
    stroke-width: 3px;
    stroke: #E5E5E5;
}

.social-text {
    color: #E5E5E5;
    font-family: 'Open Sans', sans-serif;
    font-size: 24px;
    font-weight: 700;
    position: relative;
    top: -48px;
    transition: 0.3s;
    text-align: center;
}

.social-svg-wrapper:hover .social-text {
    color: #ff0400;
    transition: 320ms;
    transition-delay: 400ms;
}

@keyframes draw-social {
    0% {
        stroke-dashoffset: -130;
        stroke-dasharray: 40 180;
    }
    100% {
        stroke-dashoffset: 10;
        stroke-dasharray: 20 40;
        stroke: #E83100;
    }
}

@keyframes drawout-social {
    0% {
        stroke-dashoffset: 10;
        stroke-dasharray: 20 40;
        stroke: #E83100;
    }
    100% {
        stroke-dashoffset: -130;
        stroke-dasharray: 40 180;
    }
}

.social-svg-wrapper .social-shape {
    animation: 0.6s drawout-social cubic-bezier(0.86, 0, 0.07, 1) forwards;
}

.social-svg-wrapper:hover .social-shape {
    animation: 0.6s draw-social cubic-bezier(0.86, 0, 0.07, 1) forwards;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .social-links {
        gap: 1rem;
    }

    .social-svg-wrapper {
        width: 50px;
    }

    .social-text {
        font-size: 20px;
        top: -42px;
    }
}

/* Responsive Text Animations */
.glow-text {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.glitch {
    font-size: 4rem;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    /* Hero Section */
    .hero-content .glow-text {
        font-size: 2rem;
        padding: 0 15px;
    }
    
    .hero-description {
        font-size: 1rem;
        padding: 0 20px;
    }

    /* Understanding Section */
    .glitch-wrapper {
        padding: 20px;
    }

    .glitch {
        font-size: 2rem;
    }

    .glitch[data-text="FLAMEX ?"] {
        font-size: 1.8rem;
    }

    /* Features Section */
    .features-header .features-title {
        font-size: 1.5rem;
        padding: 0 15px;
        text-align: center;
    }

    /* About Section */
    .about-section h2.about-title {
        font-size: 2rem;
    }

    .content-row h3 {
        font-size: 1.8rem;
    }

    /* Transform Section */
    .transform-content .transform-title {
        font-size: 2rem;
        padding: 0 15px;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .hero-content .glow-text {
        font-size: 1.75rem;
    }

    .glitch {
        font-size: 1.5rem;
    }

    .glitch[data-text="FLAMEX ?"] {
        font-size: 1.4rem;
    }

    .features-header .features-title {
        font-size: 1.25rem;
    }
}

/* Draggable Button Styles */
.add {
    width: 84px;
    height: 84px;
    position: fixed; /* Changed to fixed */
    bottom: 20px;    /* Initial position */
    right: 20px;     /* Initial position */
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    transform: scale(.5);
    transform-origin: 50% 50%;
    transition: transform .4s ease;
    cursor: move;    /* Added cursor style */
    z-index: 9999;   /* Ensure it stays on top */
    touch-action: none; /* For better touch support */
}

/* Rest of your existing .add styles... */

/* Animation classes */
.fade-in {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.fade-in.animate {
    opacity: 1;
}

.slide-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.slide-up.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Add animation delay for sequential animations */
[data-animate="slide-up"]:nth-child(2) {
    transition-delay: 0.2s;
}

/* Progress bar styles */
#progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(to right, #ffb600, #df0000);
    z-index: 9999;
    transition: width 0.2s ease-out;
}

/* Feature Card Animations */
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Service Item Animations */
.service-item {
    transition: transform 0.3s ease;
    cursor: pointer;
}

.service-item:hover {
    transform: scale(1.05);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
}

/* WebKit browsers (Chrome, Safari, etc.) */
::-webkit-scrollbar {
    display: none;
}

body {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

/* Transform Section Effects */
.transform-section {
    perspective: 1000px;
    overflow: hidden;
}

.transform-content {
    transition: transform 0.5s ease;
    backface-visibility: hidden;
}



/* Logo Animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.logo-fixed img {
    animation: float 3s ease-in-out infinite;
}

/* Hero Section Enhancements */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Text Gradient Animation */
@keyframes textGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-title {
    background: linear-gradient(45deg, #ffffff, #ffffff, #ffffff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: textGradient 5s ease infinite;
}

/* Service Grid Animations */
.services-grid {
    display: grid;
    gap: 2rem;
}

.service-text {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.service-item:hover .service-text {
    transform: translateY(-5px);
}

/* Feature Image Hover Effect */
.feature-image {
    position: relative;
    overflow: hidden;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover .image-overlay {
    opacity: 1;
}

/* Contact Form Animations */
.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #00ffff;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

/* Social Media Icons Animation */
.social-svg-wrapper {
    transition: transform 0.3s ease;
}

.social-svg-wrapper:hover {
    transform: translateY(-5px) scale(1.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .feature-card:hover {
        transform: translateY(-5px); /* Smaller movement on mobile */
    }
    
    .service-item:hover {
        transform: scale(1.02); /* Smaller scale on mobile */
    }
    
    .transform-section:hover .transform-content {
        transform: rotateX(5deg) rotateY(5deg); /* Smaller rotation on mobile */
    }
}

/* Loading Animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.section-loaded {
    animation: fadeIn 1s ease-out;
}

/* Glitch Effect Enhancement */
.glitch-wrapper {
    position: relative;
    overflow: hidden;
}

.glitch {
    position: relative;
    animation: glitch 1s linear infinite;
}

@keyframes glitch {
    2%, 64% {
        transform: translate(2px,0) skew(0deg);
    }
    4%, 60% {
        transform: translate(-2px,0) skew(0deg);
    }
    62% {
        transform: translate(0,0) skew(5deg);
    }
}

.transform-section {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: #000;
    overflow: hidden;
}

.transform-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.transform-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Black overlay with 70% opacity */
    z-index: 1;
}

.transform-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.transform-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    width: 100%;
    padding: 0 2rem;
}

.transform-title {
    font-size: clamp(2rem, 5vw, 4rem);
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
}

/* Updated responsive styles for larger text */
@media (max-width: 1200px) {
    .transform-title {
        font-size: 5.5rem;
    }
}

@media (max-width: 992px) {
    .transform-title {
        font-size: 4.5rem;
    }
}

@media (max-width: 768px) {
    .transform-title {
        font-size: 3.5rem;
        letter-spacing: 2px;
    }
}

@media (max-width: 480px) {
    .transform-title {
        font-size: 2.8rem;
        letter-spacing: 1px;
    }
}

.video-title {
    font-size: 3rem;
    color: #ffffff;
    text-align: center;
    line-height: 1.2;
}

@media (max-width: 1024px) {
    .video-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .video-title {
        font-size: 2rem;
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .video-title {
        font-size: 1.5rem;
        padding: 0 15px;
    }
}

/* Reset any default margins and padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Ensure the root and body elements prevent overflow */
html, body {
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    position: relative;
}

/* Hero Section Responsive Styles */
.hero-content {
    text-align: center;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.transform-title {
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.5rem);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .hero-content {
        padding: 0 15px;
    }
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.modal-overlay.show {
    display: flex;
}

.modal-content {
    background: #1a1a1a;
    border-radius: 15px;
    padding: 0;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
}

.modal-header {
    background: linear-gradient(135deg, #b55216, #f7941e);
    color: white;
    padding: 20px;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.modal-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.modal-body {
    padding: 30px 20px;
    text-align: center;
    color:black;
}

.modal-body p {
    margin: 0;
    font-size: 16px;
    color: #e0e0e0;
    line-height: 1.6;
}

.modal-footer {
    padding: 20px;
    text-align: center;
    border-top: 1px solid #333;
}

.modal-btn {
    background: linear-gradient(135deg, #b55216, #f7941e);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(181, 82, 22, 0.4);
}