/* Reset and Basic Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #000 10%, #1a1a1a 100%);
    color: var(--text-color);
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative; /* Ensure proper stacking */
    z-index: 0;

}


/* Root Variables for Dark and Light Modes */
:root {
  --background-color: #000000; /* Dark mode background */
  --text-color: #fafafa; /* Dark mode text color */
  --primary-color: #d10303; /* Accent color */
  --nav-background: rgba(0, 0, 0, 0.9);
  --nav-link-hover-color: rgb(216, 27, 27);
  --divider-color: rgba(255, 255, 255, 0.2);
  --enhanced-title-gradient: linear-gradient(to right, #800000, #d10303);
  --project-section-background: linear-gradient(135deg, #0d0d0d 0%, #000 100%);
  --card-background: rgba(255, 255, 255, 0.1); /* Added for card backgrounds */
  --secondary-color: #cccccc; /* Added for secondary text */
  --form-background: rgba(33, 33, 33, 0.5);
  --link-color:  #d10303;
  --social-icon-color: #ffffff;
  --social-icon-hover:  #d10303;;
  --btn-gradient-light: linear-gradient(145deg, var(--primary-color), #40c9ff);
  --btn-gradient-dark: linear-gradient(145deg, var(--primary-color), #40c9ff);
  --btn-bg-light: var(--btn-gradient-light);
  --btn-bg-dark: var(--btn-gradient-dark);
  --btn-text-color-light: #ffffff;
  --btn-text-color-dark: #ffffff;
  --depth-factor: 0.2;
  --movement-intensity: 1.5;
  --neon-glow: 0 0 20px var(--primary-color), 0 0 40px var(--primary-color), 0 0 60px var(--primary-color);
  --glass-background: rgba(255, 255, 255, 0.02);
  --glass-border: rgba(255, 255, 255, 0.05);
}

/* Light Mode Overrides */
body.light-mode {
  --background-color: #ffffff; /* Light mode background */
  --text-color: #000000; /* Light mode text color */
  --nav-background: rgba(255, 255, 255, 0.9);
  --nav-link-hover-color: #d10303;
  --divider-color: rgba(0, 0, 0, 0.2);
  --enhanced-title-gradient: linear-gradient(to right, #d10303, #800000);
  --project-section-background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
  --card-background: rgba(255, 255, 255, 0.8); /* Light mode card background */
  --form-background: rgba(33, 33, 33, 0.1);
  --link-color:  #d10303;
  --social-icon-color: #000000;
  --social-icon-hover:  #d10303;
}

/* Light Mode Overrides */
@media (prefers-color-scheme: light) {
  :root {
    --background-color: #ffffff; /* Light mode background */
    --text-color: #000000; /* Light mode text color */
    /* ... other variables ... */
  }
}
  /* Light Mode Overrides */
@media (prefers-color-scheme: light) {
  :root {
    --background-color: #ffffff; /* Light mode background */
    --text-color: #000000; /* Light mode text color */
    /* ... other variables ... */
  }
}



  /* Modern Navigation Styles */
        nav {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 80px;
            background: transparent;
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--divider-color);
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 2rem;
            z-index: 1000;
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        /* Glassmorphism effect on scroll */
        nav.scrolled {
            height: 70px;
            background: var(--nav-background);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        }

        /* Logo Section */
        nav h2 {
            display: flex;
            align-items: center;
            gap: 12px;
            color: var(--text-color);
            font-size: 1.5rem;
            font-weight: 700;
            letter-spacing: -0.5px;
            z-index: 1004;
            transition: all 0.3s ease;
        }

        .logo-image {
            width: 32px;
            height: 32px;
            object-fit: cover;
            border-radius: 50%;
            box-shadow: 0 4px 20px rgba(var(--primary-color), 0.3);
            transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        .logo-image:hover {
            transform: rotate(360deg) scale(1.1);
            box-shadow: 0 6px 25px rgba(var(--primary-color), 0.5);
        }

        /* Desktop Navigation Links */
        nav .nav-links {
            display: flex;
            align-items: center;
            gap: 3rem;
            list-style: none;
            margin: 0;
            padding: 0;
            transition: all 0.3s ease;
        }

        nav .nav-links li {
            position: relative;
        }

        nav .nav-links li a {
            color: var(--text-color);
            text-decoration: none;
            font-size: 0.95rem;
            font-weight: 500;
            letter-spacing: 0.3px;
            padding: 12px 20px;
            border-radius: 50px;
            position: relative;
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            overflow: hidden;
        }

        /* Modern hover effects */
        nav .nav-links li a::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
            transition: all 0.6s ease;
        }

        nav .nav-links li a:hover::before {
            left: 100%;
        }

        nav .nav-links li a:hover {
            color: var(--primary-color);
            background: rgba(255, 255, 255, 0.05);
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        }

        /* Active state */
        nav .nav-links li a.active {
            color: var(--primary-color);
            background: rgba(var(--primary-color), 0.1);
            backdrop-filter: blur(10px);
            box-shadow: 0 2px 10px rgba(var(--primary-color), 0.2);
        }

        nav .nav-links li a.active::after {
            content: '';
            position: absolute;
            bottom: -1px;
            left: 50%;
            transform: translateX(-50%);
            width: 6px;
            height: 6px;
            background: var(--primary-color);
            border-radius: 50%;
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0%, 100% { opacity: 1; transform: translateX(-50%) scale(1); }
            50% { opacity: 0.7; transform: translateX(-50%) scale(1.2); }
        }

        /* Ultra Modern Burger Menu */
        .burger {
            display: none;
            position: fixed;
            top: 50%;
            right: 2rem;
            transform: translateY(-50%);
            width: 44px;
            height: 44px;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 1px solid var(--divider-color);
            border-radius: 50%;
            cursor: pointer;
            z-index: 1003;
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            overflow: hidden;
        }

        .burger::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: all 0.6s ease;
        }

        .burger:hover::before {
            left: 100%;
        }

        .burger:hover {
            background: rgba(var(--primary-color), 0.2);
            border-color: var(--primary-color);
            transform: translateY(-50%) scale(1.05);
            box-shadow: 0 4px 20px rgba(var(--primary-color), 0.3);
        }

        .burger input {
            display: none;
        }

        .burger span {
            display: block;
            position: absolute;
            width: 20px;
            height: 2px;
            background: var(--text-color);
            border-radius: 3px;
            transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            left: 50%;
            transform: translateX(-50%);
        }

        .burger span:nth-of-type(1) {
            top: 14px;
        }

        .burger span:nth-of-type(2) {
            top: 21px;
        }

        .burger span:nth-of-type(3) {
            top: 28px;
        }

        /* Burger animation */
        .burger input:checked ~ span:nth-of-type(1) {
            top: 21px;
            transform: translateX(-47%) rotate(45deg);
            background: var(--primary-color);
        }

        .burger input:checked ~ span:nth-of-type(2) {
            opacity: 0;
            transform: translateX(-47%) scale(50deg);
        }

        .burger input:checked ~ span:nth-of-type(3) {
            top: 21px;
            transform: translateX(-47%) rotate(-50deg);
            background: var(--primary-color);
        }

        /* Mobile Navigation Overlay */
        .nav-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(5px);
            opacity: 0;
            visibility: hidden;
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            z-index: 999;
        }

        .nav-overlay.show {
            opacity: 1;
            visibility: visible;
        }

        /* Mobile Menu Styles */
        @media (max-width: 768px) {
            .burger {
                display: block;
            }

           

            nav .nav-links {
                position: fixed;
                top: 0;
                left: -100%;
                width: 320px;
                max-width: 85vw;
                height: 100vh;
                background: var(--form-background);
                backdrop-filter: blur(30px) !important;
                -webkit-backdrop-filter: blur(30px) !important;
                border-right: 1px solid var(--divider-color);
                flex-direction: column;
                justify-content: flex-start;
                align-items: stretch;
                padding: 120px 2rem 2rem;
                gap: 0;
                transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
                box-shadow: 10px 0 40px rgba(0, 0, 0, 0.1);
                z-index: 1002;
                overflow-y: auto;
                  
            }

            nav .nav-links.show-links {
                left: 0;
            }

            nav .nav-links li {
                width: 100%;
                margin-bottom: 8px;
            }

            nav .nav-links li a {
                display: block;
                width: 100%;
                padding: 20px 24px;
                font-size: 1.1rem;
                font-weight: 600;
                border-radius: 16px;
                border: 1px solid transparent;
                background: rgba(255, 255, 255, 0.02);
                transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
                position: relative;
                overflow: hidden;
            }

            nav .nav-links li a::before {
                content: '';
                position: absolute;
                left: 0;
                top: 0;
                width: 4px;
                height: 100%;
                background: var(--primary-color);
                transform: scaleY(0);
                transition: all 0.3s ease;
                transform-origin: top;
                  
            }

            nav .nav-links li a:hover,
            nav .nav-links li a.active {
                background: rgba(var(--primary-color), 0.1);
                border-color: rgba(var(--primary-color), 0.3);
                color: var(--primary-color);
                transform: translateX(8px);
                box-shadow: 0 4px 20px rgba(var(--primary-color), 0.2);
            }

            nav .nav-links li a:hover::before,
            nav .nav-links li a.active::before {
                transform: scaleY(1);
            }

       

            nav .nav-links::before:hover {
                background: rgba(var(--primary-color), 0.2);
                border-color: var(--primary-color);
                color: var(--primary-color);
                transform: rotate(90deg);
            }

            /* Stagger animation for mobile menu items */
            nav .nav-links.show-links li {
                animation: slideInFromLeft 0.5s ease forwards;
            }

            nav .nav-links.show-links li:nth-child(1) { animation-delay: 0.1s; }
            nav .nav-links.show-links li:nth-child(2) { animation-delay: 0.2s; }
            nav .nav-links.show-links li:nth-child(3) { animation-delay: 0.3s; }
            nav .nav-links.show-links li:nth-child(4) { animation-delay: 0.4s; }
            nav .nav-links.show-links li:nth-child(5) { animation-delay: 0.5s; }
            nav .nav-links.show-links li:nth-child(6) { animation-delay: 0.6s; }

            @keyframes slideInFromLeft {
                0% {
                    opacity: 0;
                    transform: translateX(-30px);
                }
                100% {
                    opacity: 1;
                    transform: translateX(0);
                }
            }
        }

        /* Desktop responsive */
        @media (min-width: 1200px) {
            nav {
                padding: 0 4rem;
            }
            
            nav .nav-links {
                gap: 4rem;
            }
        }



  
  /* Theme Toggle Switch Styles */
  .theme-toggle {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 1005;
    cursor: pointer;
  }
  
  /* Sun-Moon Toggle Button */
  .st-sunMoonThemeToggleBtn {
    color: #bbb;
    width: 3em;
    position: relative;
  }
  
  .st-sunMoonThemeToggleBtn .themeToggleInput {
    opacity: 0;
    width: 100%;
    aspect-ratio: 1;
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
  }
  
  .st-sunMoonThemeToggleBtn svg {
    width: 100%;
    height: 100%;
    transition: transform 0.4s ease;
    transform: rotate(40deg);
  }
  
  .st-sunMoonThemeToggleBtn svg .sunMoon {
    transform-origin: center center;
    transition: inherit;
    transform: scale(1);
  }
  
  .st-sunMoonThemeToggleBtn svg .sunRay {
    transform-origin: center center;
    transform: scale(0);
    transition: transform 0.4s ease;
  }
  
  .st-sunMoonThemeToggleBtn svg mask > circle {
    transition: transform 0.64s cubic-bezier(0.41, 0.64, 0.32, 1.575);
    transform: translate(0px, 0px);
  }
  
  .st-sunMoonThemeToggleBtn .themeToggleInput:checked + svg {
    transform: rotate(90deg);
  }
  
  .st-sunMoonThemeToggleBtn .themeToggleInput:checked + svg mask > circle {
    transform: translate(16px, -3px);
  }
  
  .st-sunMoonThemeToggleBtn .themeToggleInput:checked + svg .sunMoon {
    transform: scale(0.55);
  }
  
  .st-sunMoonThemeToggleBtn .themeToggleInput:checked + svg .sunRay {
    transform: scale(1);
  }
  
  /* Light Mode Specific Styles */
  body.light-mode nav {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
  }
  
  body.light-mode nav h2,
  body.light-mode nav .nav-links li a {
    background-color: rgba(255, 255, 255, 0);
    color: #000;
  }

 
  
  
  body.light-mode nav .nav-links li a::after {
    background: #000000;
  }
  
  body.light-mode nav .nav-links a:hover {
    color: var(--primary-color);
  }

  body.light-mode .project-details{
    background-color: rgb(255,255, 255, 0.9);
  }
  
  body.light-mode nav .nav-links li a.active {
    color: #800000; /* Maroon color */
  }
  
  body.light-mode nav .nav-links li a:hover::after,
  body.light-mode nav .nav-links li a.active::after {
    background: #800000; /* Maroon underline */
  }


  .light-mode .burger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #000;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: 0.25s ease-in-out;
  }


/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 0;
}
/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    /* Removed background image from here */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    margin-top: -40px;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../unisex2.jpg') center center / cover no-repeat fixed;
    filter: blur(5px);
    z-index: 0;
}

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

.hero-content {
    position: relative;
    text-align: center;
    z-index: 2;
    padding: 0 20px;
}

.hero-logo {
    width: 550px; /* Adjust if your image has a different width */
    height: auto;
    display: inline-block;
    animation: slideInDown 1s ease-out forwards;
    position: relative;
    z-index: 3;
}


/* Glitch Effect */
.glitch {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.glitch img {
    position: relative;
    z-index: 1;
    display: block;
}

.glitch__layers {
    position: absolute;
    z-index: 2;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Ensure layers don't interfere with hover */
}

.glitch__layer {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-image: url('../logo/RokeylaSecondaryLogoWhite.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    opacity: 0; /* Start with opacity 0 */
    transition: opacity 0.3s;
}

.glitch:hover .glitch__layer {
    opacity: 1; /* Show layers on hover */
}

.glitch__layer:nth-child(1) {
    mix-blend-mode: screen;
    transform: translate(0);
    animation: glitch-anim-1 2s infinite linear alternate;
}

.glitch__layer:nth-child(2) {
    mix-blend-mode: overlay;
    transform: translate(0);
    animation: glitch-anim-2 2.3s infinite linear alternate;
}

.glitch__layer:nth-child(3) {
    mix-blend-mode: lighten;
    transform: translate(0);
    animation: glitch-anim-flash 1s infinite linear;
}

@keyframes glitch-anim-1 {
    0% {
        clip-path: polygon(0 2%, 100% 2%, 100% 5%, 0 5%);
        transform: translate(-2px, -2px);
    }
    20% {
        clip-path: polygon(0 10%, 100% 10%, 100% 13%, 0 13%);
        transform: translate(2px, -2px);
    }
    40% {
        clip-path: polygon(0 20%, 100% 20%, 100% 23%, 0 23%);
        transform: translate(-2px, 2px);
    }
    60% {
        clip-path: polygon(0 30%, 100% 30%, 100% 33%, 0 33%);
        transform: translate(2px, 2px);
    }
    80% {
        clip-path: polygon(0 40%, 100% 40%, 100% 43%, 0 43%);
        transform: translate(-2px, -2px);
    }
    100% {
        clip-path: polygon(0 50%, 100% 50%, 100% 53%, 0 53%);
        transform: translate(0, 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip-path: polygon(0 52%, 100% 52%, 100% 55%, 0 55%);
        transform: translate(2px, 2px);
    }
    20% {
        clip-path: polygon(0 62%, 100% 62%, 100% 65%, 0 65%);
        transform: translate(-2px, 2px);
    }
    40% {
        clip-path: polygon(0 72%, 100% 72%, 100% 75%, 0 75%);
        transform: translate(2px, -2px);
    }
    60% {
        clip-path: polygon(0 82%, 100% 82%, 100% 85%, 0 85%);
        transform: translate(-2px, -2px);
    }
    80% {
        clip-path: polygon(0 92%, 100% 92%, 100% 95%, 0 95%);
        transform: translate(2px, 2px);
    }
    100% {
        clip-path: polygon(0 2%, 100% 2%, 100% 5%, 0 5%);
        transform: translate(0, 0);
    }
}

@keyframes glitch-anim-flash {
    0% {
        opacity: 0.5;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 0.5;
    }
}


/* Project Details Section */
.project-details {
    background-color: linear-gradient(135deg, #000 10%, #1a1a1a 100%) !important;
    padding: 80px 0;
    text-align: center;
}
/* Card Container to hold both cards side by side */
.card-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 40px; /* Adjust the spacing between cards as needed */
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
}


/* New Card Styles */
.new-card {
    width: 210px;
    height: 400px;
    background: black;
    border-radius: 35px;
    border: 2px solid rgb(40, 40, 40);
    padding: 7px;
    position: relative;
    box-shadow: 2px 5px 15px rgba(0, 0, 0, 0.486);
}

.new-card-int {
    background-image: linear-gradient(to right bottom, #800000, #a00050, #b03060, #c04070, #d05080, #e06090, #f070a0, #ff80b0); /* Maroon gradient */
    background-size: 200% 200%;
    background-position: 0% 0%;
    height: 100%;
    border-radius: 25px;
    transition: all 0.6s ease-out;
    overflow: hidden;
}

.new-card:hover .new-card-int {
    background-position: 100% 100%;
}

.new-top {
    position: absolute;
    top: 0px;
    right: 50%;
    transform: translate(50%, 0%);
    width: 35%;
    height: 18px;
    background-color: black;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.new-speaker {
    position: absolute;
    top: 2px;
    right: 50%;
    transform: translate(50%, 0%);
    width: 40%;
    height: 2px;
    border-radius: 2px;
    background-color: rgb(20, 20, 20);
}

.new-camera {
    position: absolute;
    top: 6px;
    right: 84%;
    transform: translate(50%, 0%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.048);
}

.new-int {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
    background-color: rgba(0, 0, 255, 0.212);
}

.new-btn1, .new-btn2, .new-btn3, .new-btn4 {
    position: absolute;
    width: 2px;
}

.new-btn1, .new-btn2, .new-btn3 {
    height: 45px;
    top: 30%;
    right: -4px;
    background-image: linear-gradient(to right, #111111, #222222, #333333, #464646, #595959);
}

.new-btn2, .new-btn3 {
    transform: scale(-1);
    left: -4px;
}

.new-btn2, .new-btn3 {
    height: 30px;
}

.new-btn2 {
    top: 26%;
}

.new-btn3 {
    top: 36%;
}

.new-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .card-container {
        flex-direction: column;
        align-items: center;
    }
    .new-card, .card {
        margin-bottom: 20px;
    }
}


.card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 800px;
    padding: 2px;
    border-radius: 24px;
    overflow: hidden;
    line-height: 1.6;
    transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
}

.content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 34px;
    border-radius: 22px;
    color: #800000;
    overflow: hidden;
    background: rgb(255,255, 255, 0.9);
    transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
}

.light-mode .content{
    background-color: var(--card-background);
}

.content .heading {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 1.3;
    z-index: 1;
    transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
    color: #fff;
}

.content .para {
    z-index: 1;
    opacity: 0.9;
    font-weight: 400;
    font-size: 18px;
    transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
    color: #ffff;
}

.project-features .features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-features .features-list li {
    font-size: 1.1em;
    line-height: 1.6;
    font-weight: 500 !important;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: #333333e6;
}

.project-features .features-list li i {
    margin-right: 10px;
    color: #800000;
}

.project-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.project-links .cti {
    margin: 10px 0;
}

/* Card Hover Effects */
.card::before {
    content: "";
    position: absolute;
    height: 160%;
    width: 160%;
    border-radius: inherit;
    background: linear-gradient(to right, #800000, #b03060);
    transform-origin: center;
    animation: moving 4.8s linear infinite paused;
    transition: all 0.88s cubic-bezier(0.23, 1, 0.32, 1);
    color: #000;
}

.card:hover::before {
    animation-play-state: running;
    z-index: -1;
    width: 20%;
   
}


.card:hover .content .para {
    color: #000;
}


.card:hover .content .heading{
    color: #800000;
}

.card:hover {
    box-shadow: 0rem 6px 13px rgba(128, 0, 0, 0.1),
                0rem 24px 24px rgba(128, 0, 0, 0.09),
                0rem 55px 33px rgba(128, 0, 0, 0.05),
                0rem 97px 39px rgba(128, 0, 0, 0.01),
                0rem 152px 43px rgba(128, 0, 0, 0);
    transform: scale(1.05);
    color: #000;
}

@keyframes moving {
    0% {
        transform: rotate(0);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Adjustments for responsiveness */
@media (max-width: 768px) {
    .content .heading {
        font-size: 28px;
    }

    .content .para {
        font-size: 16px;
    }

    .project-features .features-list li {
        font-size: 1em;
    }
}

/* Customized Button (Maroon Theme) */
.cti {
    background-color: #800000;
    padding: 17px 30px;
    border: 3px solid transparent;
    border-radius: 0.6em;
    transition: 0.2s;
    display: inline-block;
    text-decoration: none;
}

.cti:hover {
    background-color: transparent;
    border: 3px solid #800000;
    box-shadow: 0px 0px 27px 5px rgba(128, 0, 0, 0.5);
}

.CTI {
    color: #ffffff;
    font-family: 'Courier New', Courier, monospace;
    font-size: 17px;
    font-weight: bold;
    overflow: hidden;
    border-right: 4px solid transparent;
    white-space: nowrap;
    margin: 0 auto;
    text-decoration: none;
}

.cti:hover .CTI {
    border-right: 4px solid #800000;
    animation: letters 1.75s steps(22, end), cursor .4s step-end infinite;
    color: #333333 !important;
}

.gallery-links:hover .CTI {
    border-right: 4px solid #800000;
    animation: letters 1.75s steps(22, end), cursor .4s step-end infinite;
    color: #ffffff !important;
    
}




/* Keyframes for Button Animation */
@keyframes letters {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes cursor {
    from {
        border-color: transparent;
    }
    50% {
        border-color: #800000;
    }
}


/* Image Gallery Section */
.image-gallery {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

/* Background and Gradient Overlay */
.gallery-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../projects/BusinessCardFront.jpg') center center / cover no-repeat;
    z-index: 1;
    /* Linear gradient overlay */
    background: linear-gradient(
            rgba(0, 0, 0, 0.6), 
            rgba(0, 0, 0, 0.6)
        ), 
        url('../projects/BusinessCardFront.jpg') center center / cover no-repeat;
}

/* Gallery Content */
.gallery-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #FFFFFF;
}

/* Gallery Title */
.gallery-title {
    font-size: 3em;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 40px;
    color: #FFFFFF;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 0 20px;
}

/* Gallery Item */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Hover Effects */
.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Gallery Links (Call-to-Action) */
.gallery-links {
    margin-top: 40px;

}
.gallery-links a{
    text-decoration: none !important;
}



/* Responsive Design */
@media (max-width: 768px) {
    .gallery-title {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        max-width: 90%;
        margin: 0 auto;
    }

    .gallery-links .btn {
        padding: 12px 25px;
        font-size: 0.9em;
    }

    /* Adjust linear gradient for mobile */
    .gallery-background {
        background: linear-gradient(
                rgba(0, 0, 0, 0.6), 
                rgba(0, 0, 0, 0.6)
            ), 
            url('../projects/BusinessCardFront.jpg') center center / cover no-repeat;
    }
}


/* Default State */
.parah {
    display: none;
}

/* Mobile View */
@media (max-width: 990px) {
    .parah {
        display: block;
        border: 1px solid #fff;
        padding: 12px 25px;
        border-radius: 5px;
        text-align: center;
        background-color: #800000 !important;
        color: #fff;
        cursor: pointer;
    }

    .parah:hover {
        background-color: #fff;
        color: #000;
    }

    .content-body {
        display: none;
    }
}

/* Responsive Design */
@media (max-width: 990px) {
    .project-details {
        padding: 60px 20px;
     
    }

    .card {
        max-width: 100%;
    }
    
    .content .heading {
        font-size: 24px;
        text-align:center !important;
     
    }
    
    .content .para {
        font-size: 16px;
    }
    
    .project-features .features-list li {
        font-size: 1em;
    }
    
    .project-links .cti {
        padding: 12px 25px;
        font-size: 0.9em;
    }
    
    .gallery-links .cti{
        padding: 12px 25px;
        font-size: 0.9em;
    }
    
    .image-gallery {
        padding: 60px 20px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;

    }

    
    .hero-logo{ 
        width: 300px;
    }

    .parah{
        border:1px solid #fff;
        padding: 12px 25px;
        display: block;
        border-radius:5px;
        text-align: center;
        background-color: #800000 !important;

    }

    .parah:hover{
        background-color: #fff;
        color:#000
    }
   
}


/* AOS Animations */
[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(20px);
    transition-property: opacity, transform;
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos="zoom-in"] {
    opacity: 0;
    transform: scale(0.8);
    transition-property: opacity, transform;
}

[data-aos="zoom-in"].aos-animate {
    opacity: 1;
    transform: scale(1);
}


/* Lightbox Styles */
.lightbox {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1005;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8); /* Black w/ opacity */
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    border-radius: 10px;
}

.caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
}

.close {
    position: absolute;
    top: 30px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: color 0.3s;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}





/* Footer Section */
.footer-section {
    background-color: var(--background-color);
    color: var(--text-color);
    padding: 60px 40px;
    border-top: 1px solid var(--divider-color);
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
  }
  
  /* Footer Top */
  .footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }
  
  .body.dark-mode .footer-top {
    background: rgba(33, 33, 33, 0.5);
  }
  
  .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .footer-logo .logo-image {
    width: 30px;
    height: 30px;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .footer-logo .logo-image:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
  }
  
  .footer-description {
    font-size: 1em;
    max-width: 600px;
    line-height: 1.6;
    color: var(--text-color);
  }
  
  /* Footer Middle */
  .footer-middle {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
  }
  
  .footer-social{
    margin-top:25px;
  }
  
  .footer-contact,
  .footer-social {
    flex: 1 1 200px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: background 0.3s ease;
  }
  
  body.light-mode .footer-contact,
  body.light-mode .footer-social {
    background: rgba(0, 0, 0, 0.05);
  }
  
  .footer-contact h4,
  .footer-social h4 {
    font-size: 1.2em;
    margin-bottom: 15px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  .footer-contact p,
  .footer-social p {
    font-size: 1em;
    margin-bottom: 10px;
    line-height: 1.5;
  }
  
  .footer-contact a,
  .footer-social a {
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .footer-contact a:hover,
  .footer-social a:hover {
    color: var(--social-icon-hover);
    text-decoration: underline;
  }
  
  .footer-social .social-icons {
    display: flex;
    gap: 15px;
  }
  
  .footer-social .social-icons a {
    color: var(--social-icon-color);
    font-size: 1.5em;
    transition: color 0.3s ease, transform 0.3s ease;
  }
  
  .footer-social .social-icons a:hover {
    color: var(--social-icon-hover);
    transform: scale(1.2);
  }
  .footer-bottom img{
    width:20px;
  }
  /* Footer Bottom */
  .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: background 0.3s ease;
  }
  
  .body.light-mode .footer-bottom {
    background: rgba(0, 0, 0, 0.05);
  }
  
  .footer-credits p {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1em;
    color: var(--text-color);
  }
  
  .footer-bottom p {
    font-size: 0.9em;
    color: var(--text-color);
  }
  
  .footer-bottom a {
    color: var(--primary-color);
    text-decoration: none;
    margin-left: 5px;
  }
  
  .footer-bottom a:hover {
    text-decoration: underline;
  }
  
  /* Responsive Design */
  @media (max-width: 992px) {
    .footer-middle {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
  
    .footer-contact,
    .footer-social {
        width: 100%;
        max-width: 500px;
    }
  }
  
  @media (max-width: 600px) {
    .footer-section {
        padding: 40px 20px;
    }
  
    .footer-top,
    .footer-middle,
    .footer-bottom {
        padding: 15px;
    }
  
    .footer-logo .logo-image {
        width: 25px;
        height: 25px;
    }
  
    .footer-description {
        font-size: 0.9em;
    }
  
    .footer-contact h4,
    .footer-social h4 {
        font-size: 1em;
    }
  
    .footer-credits p {
        flex-direction: column;
        gap: 5px;
    }
  
    .social-icons a {
        font-size: 1.3em;
    }
  }
  
  /* Smooth Transitions for Background Gradient */
  .footer-section,
  .footer-top,
  .footer-middle,
  .footer-bottom,
  .footer-contact,
  .footer-social {
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  /* Animations */
  @keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
  }
  
  /* Focus States for Accessibility */
  .social-media a:focus,
  .form-submit-btn:focus,
  .nav-links a:focus,
  .footer-credits a:focus,
  .footer-bottom a:focus {
      outline: 2px solid var(--primary-color);
      outline-offset: 2px;
  }
  
  /* Animations */
  @keyframes fadeInDown {
      from {
          opacity: 0;
          transform: translateY(-50px);
      }
      to {
          opacity: 1;
          transform: translateY(0);
      }
  }
  
  @keyframes blob-bounce {
      0% {
          transform: translate(-50%, -50%) translate3d(0, 0, 0);
      }
  
      25% {
          transform: translate(-50%, -50%) translate3d(100%, 0, 0);
      }
  
      50% {
          transform: translate(-50%, -50%) translate3d(100%, 100%, 0);
      }
  
      75% {
          transform: translate(-50%, -50%) translate3d(0, 100%, 0);
      }
  
      100% {
          transform: translate(-50%, -50%) translate3d(0, 0, 0);
      }
  }
  
  /* Smooth transitions for background gradient */
  .card1 {
      transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  }
  
  
  
  /* Back to Top Button Styling */
  .Btn {
    width: 40px;
    height: 40px;
    background: var(--btn-bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    position: fixed;
    bottom: 30px;
    right: 30px;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: background 0.3s ease, transform 0.3s ease;
  }
  
  body.light-mode .Btn {
    background: var(--btn-bg-light);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  }
  
  .Btn:hover {
    transform: translateY(-5px);
  }
  
  .arrow path {
    fill: var(--btn-text-color-dark);
    transition: fill 0.3s ease;
  }
  
  body.light-mode .arrow path {
    fill: var(--btn-text-color-light);
  }
  
  .text {
    font-size: 0.8em;
    width: 120px;
    position: absolute;
    color: var(--btn-text-color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: -25px;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: rgba(0, 0, 0, 0.6);
    padding: 5px 10px;
    border-radius: 4px;
    pointer-events: none;
  }
  
  body.light-mode .text {
    background: rgba(255, 255, 255, 0.8);
    color: #000;
  }


  
  .Btn:hover .text {
    opacity: 1;
  }
  /* Keyframes for Slide-in Animation */
  @keyframes slide-in-bottom {
    0% {
        transform: translateY(10px);
        opacity: 0;
    }
  
    100% {
        transform: translateY(0);
        opacity: 1;
    }
  }
 



  

/* Loader Styles */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--background-color); /* Use CSS variable */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}


.loader {
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  height: 55px;
  width: 200px;
  overflow: hidden;
}

.loader .loader-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 200px;
  position: relative;
  align-items: center;
}

.loader .carousel {
  display: flex;
  gap: 1rem;
  flex-direction: column;
  position: absolute;
  width: 100%;
  transform-origin: center;
}

.loader .loader-container:nth-child(3) {
  justify-content: flex-start;
  justify-items: flex-start;
  animation: scroll-up 4s infinite ease-in-out;
  animation-delay: 1s;
}

.loader .loader-container:nth-child(2) {
  justify-content: flex-end;
  justify-items: flex-end;
  animation: scroll-down 4s infinite ease-in-out;
  animation-delay: 1s;
}

.loader .loader-container:nth-child(1) {
  justify-content: flex-end;
  justify-items: flex-end;
  animation: scroll-down 3s infinite ease-in-out;
  animation-delay: 1s;
}

.love {
  background: red;
  display: flex;
  width: 30px;
  height: 30px;
  position: relative;
  align-items: center;
  justify-content: center;
  left: 8px;
  margin: 0.8rem 4px;
  transform: rotate(45deg);
}

.love::before, .love::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: red;
}

.love::before {
  left: -16px;
}

.love::after {
  top: -16px;
}

.death {
  display: flex;
  width: 100%;
  height: 55px;
  position: relative;
  align-items: center;
  justify-content: center;
  animation: rotation 3s infinite ease-in-out;
}

.death::after {
  content: '';
  height: 63px;
  position: absolute;
  border-left: 12px solid red;
  transform: rotate(45deg);
  border-radius: 8px;
  top: -4px;
}

.death::before {
  content: '';
  height: 60px;
  position: absolute;
  border-left: 12px solid red;
  transform: rotate(-45deg);
}


.robots {
  display: flex;
  width: 100%;
  height: 55px;
  justify-content: space-between;
  background-color: #ff0000;
  border-radius: 0 8px 8px;
  padding: 8px;
  animation-delay: .5s;
}

.robots::after {
  content: '';
  width: 12px;
  height: 12px;
  top: 0;
  left: 0;
  background-color: #ffffff;
  border-radius: 50%;
  animation-delay: 2s;
  animation: blink 0.5s 2 forwards;
}

.robots::before {
  content: '';
  width: 12px;
  height: 12px;
  top: 0;
  left: 0;
  background-color: #ffffff;
  border-radius: 50%;
  animation-delay: 2s;
  animation: blink 0.5s 2 forwards;
}


@keyframes scroll-up {
  0% {
      transform: translateY(0);
      filter: blur(0);
  }
  30% {
      transform: translateY(-150%);
      filter: blur(10px);
  }
  60% {
      transform: translateY(0);
      filter: blur(0px);
  }
}

@keyframes scroll-down {
  0% {
      transform: translateY(0);
      filter: blur(0);
  }
  30% {
      transform: translateY(150%);
      filter: blur(10px);
  }
  60% {
      transform: translateY(0);
      filter: blur(0px);
  }
}

@keyframes rotation {
  0%, 100% {
      transform: rotate(0deg);
  }
  50% {
      transform: rotate(180deg);
  }
}

@keyframes blink {
  0% {
      height: 0;
  }
  100% {
      height: 12px;
  }
}

.loader .love
 {
    /* Use CSS variables for colors */
    background-color: var(--primary-color);
}

/* Adjust the colors of pseudo-elements */
.loader .love::before,
.loader .love::after,
.loader .death::before,
.loader .death::after {
    background-color: var(--primary-color);
}




/* Light Mode Styles */
@media (prefers-color-scheme: light) {
  :root {
      --background-color: #ffffff; /* Light mode background */
      --text-color: #000000; /* Light mode text color */
      /* ... other light mode variables ... */
  }

  .page-loader {
      background: var(--background-color);
  }

  .loader .love,
  .loader .death,
  .loader .robots {
      background-color: var(--primary-color);
  }

  .loader .love::before,
  .loader .love::after,
  .loader .death::before,
  .loader .death::after,
  .loader .robots::before,
  .loader .robots::after {
      background-color: var(--primary-color);
  }
}


  



/* ===== ULTRA-MODERN FOOTER 2025 ===== */

/* Main Footer Container */
.ultra-footer {
  position: relative;
  background: var(--background-color);
  overflow: hidden;
  padding: 80px 0 0;
  border-top: 1px solid rgba(185, 28, 28, 0.2);
}

/* Animated Background Effects */
.footer-bg-effects {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.floating-orbs {
  position: absolute;
  width: 100%;
  height: 100%;
}

.orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(185, 28, 28, 0.4), rgba(185, 28, 28, 0.1), transparent);
  animation: float 6s ease-in-out infinite;
  filter: blur(1px);
}

.orb-1 {
  width: 150px;
  height: 150px;
  top: 10%;
  left: 10%;
  animation-delay: 0s;
  animation-duration: 8s;
}

.orb-2 {
  width: 100px;
  height: 100px;
  top: 60%;
  right: 15%;
  animation-delay: -2s;
  animation-duration: 10s;
}

.orb-3 {
  width: 80px;
  height: 80px;
  bottom: 20%;
  left: 70%;
  animation-delay: -4s;
  animation-duration: 7s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.6; }
  25% { transform: translateY(-20px) rotate(90deg); opacity: 0.8; }
  50% { transform: translateY(-40px) rotate(180deg); opacity: 1; }
  75% { transform: translateY(-20px) rotate(270deg); opacity: 0.8; }
}

.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(185, 28, 28, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(185, 28, 28, 0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(30px, 30px); }
}

/* Footer Container */
.footer-container {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Footer Hero Section */
.footer-hero {
  text-align: center;
  margin-bottom: 80px;
  padding: 60px 0;
}

.brand-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.logo-container {
  position: relative;
}

.logo-ring {
  position: relative;
  width: 80px;
  height: 80px;
  border: 3px solid rgba(185, 28, 28, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: rotate 8s linear infinite;
}

.logo-ring::before {
  content: '';
  position: absolute;
  width: 100px;
  height: 100px;
  border: 2px solid rgba(185, 28, 28, 0.3);
  border-radius: 50%;
  animation: rotate 12s linear infinite reverse;
}

.ultra-footer .logo-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  z-index: 2;
  filter: drop-shadow(0 0 10px rgba(185, 28, 28, 0.5));
}

.logo-glow {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(185, 28, 28, 0.2) 0%, transparent 70%);
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; }
}

.brand-text {
  text-align: left;
}

.brand-name {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  margin: 0;
  line-height: 1;
}

.text-gradient {
  background: linear-gradient(135deg, #b91c1c 0%, #dc2626 50%, #ef4444 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.brand-tagline {
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  color: var(--text-color);
  opacity: 0.8;
  margin-top: 8px;
  letter-spacing: 1px;
}

.hero-description {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: var(--text-color);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
  opacity: 0.9;
}

.highlight {
  color: #b91c1c;
  font-weight: 600;
  position: relative;
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #b91c1c, transparent);
  animation: underlineExpand 2s ease-in-out infinite;
}

@keyframes underlineExpand {
  0%, 100% { width: 0; }
  50% { width: 100%; }
}

/* Footer Grid Layout */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.footer-column {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(185, 28, 28, 0.1);
  border-radius: 20px;
  padding: 35px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.footer-column::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(185, 28, 28, 0.1), transparent);
  transition: left 0.6s ease;
}

.footer-column:hover::before {
  left: 100%;
}

.footer-column:hover {
  transform: translateY(-8px);
  border-color: rgba(185, 28, 28, 0.3);
  box-shadow: 0 20px 40px rgba(185, 28, 28, 0.1);
}

.column-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 25px;
  position: relative;
  padding: 0 5px;
  line-height: 1.2;
}

.title-icon {
  font-size: 1.3rem;
  color: #b91c1c;
  animation: iconBounce 2s ease-in-out infinite;
  flex-shrink: 0;
  width: 24px;
  text-align: center;
}

@keyframes iconBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav-link {
  color: var(--text-color);
  text-decoration: none;
  font-size: 1rem;
  padding: 10px 0;
  transition: all 0.3s ease;
  position: relative;
  opacity: 0.8;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-icon {
  font-size: 1rem;
  color: #b91c1c;
  transition: all 0.3s ease;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.nav-link span {
  flex: 1;
}

.nav-link:hover {
  color: #b91c1c;
  opacity: 1;
  transform: translateX(5px);
}

.nav-link:hover .nav-icon {
  color: #dc2626;
  transform: scale(1.2);
}

/* Contact Info Styling */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-link, .location {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-color);
  text-decoration: none;
  font-size: 1rem;
  padding: 12px 15px;
  border-radius: 12px;
  transition: all 0.3s ease;
  background: rgba(185, 28, 28, 0.05);
  border: 1px solid rgba(185, 28, 28, 0.1);
}

.contact-link:hover {
  background: rgba(185, 28, 28, 0.1);
  transform: translateX(5px);
  border-color: rgba(185, 28, 28, 0.2);
}

.contact-icon {
  font-size: 1.1rem;
  color: #b91c1c;
  transition: all 0.3s ease;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.contact-link:hover .contact-icon {
  color: #dc2626;
  transform: scale(1.1);
}

.contact-link span, .location span {
  flex: 1;
}

/* Social Grid */
.social-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px;
  background: rgba(185, 28, 28, 0.05);
  border: 1px solid rgba(185, 28, 28, 0.1);
  border-radius: 15px;
  text-decoration: none;
  color: var(--text-color);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.social-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(185, 28, 28, 0.1), transparent);
  transform: scale(0);
  transition: transform 0.4s ease;
  border-radius: 15px;
}

.social-card:hover::before {
  transform: scale(1);
}

.social-card:hover {
  transform: translateY(-5px) scale(1.05);
  border-color: rgba(185, 28, 28, 0.3);
  box-shadow: 0 15px 30px rgba(185, 28, 28, 0.2);
}

.social-icon {
  font-size: 1.8rem;
  transition: all 0.3s ease;
  z-index: 2;
  position: relative;
}

.social-card:hover .social-icon {
  color: #b91c1c;
  transform: rotate(10deg) scale(1.2);
}

.social-label {
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 2;
  position: relative;
}

/* Newsletter Section */
.newsletter-section {
  background: linear-gradient(135deg, rgba(185, 28, 28, 0.1) 0%, rgba(185, 28, 28, 0.05) 100%);
  border: 1px solid rgba(185, 28, 28, 0.2);
  border-radius: 25px;
  padding: 50px;
  margin-bottom: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(185, 28, 28, 0.1), transparent);
  animation: rotate 10s linear infinite;
  z-index: 1;
}

.newsletter-content {
  position: relative;
  z-index: 2;
  margin-bottom: 30px;
}

.newsletter-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text-color);
  margin-bottom: 10px;
}

.newsletter-subtitle {
  font-size: 1.1rem;
  color: var(--text-color);
  opacity: 0.8;
}

.newsletter-form {
  position: relative;
  z-index: 2;
}

.input-group {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(185, 28, 28, 0.2);
  border-radius: 60px;
  padding: 8px;
  transition: all 0.3s ease;
}

.input-group:focus-within {
  border-color: rgba(185, 28, 28, 0.5);
  box-shadow: 0 0 30px rgba(185, 28, 28, 0.2);
}

.newsletter-input {
  flex: 1;
  padding: 15px 25px;
  border: none;
  background: transparent;
  color: var(--text-color);
  font-size: 1rem;
  outline: none;
}

.newsletter-input::placeholder {
  color: var(--text-color);
  opacity: 0.6;
}

.newsletter-btn {
  background: linear-gradient(135deg, #b91c1c 0%, #dc2626 100%);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}

.newsletter-btn:hover {
  transform: translateX(-5px);
  box-shadow: 0 10px 25px rgba(185, 28, 28, 0.4);
}

.btn-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.newsletter-btn:hover .btn-icon {
  transform: translateX(5px);
}

/* Footer Bottom */
.ultra-footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 0;
  border-top: 1px solid rgba(185, 28, 28, 0.2);
  flex-wrap: wrap;
  gap: 20px;
}

.footer-credits {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.credit-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  color: var(--text-color);
  flex-wrap: wrap;
}

.heart {
  color: #b91c1c;
  animation: heartbeat 2s ease-in-out infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.creator-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(185, 28, 28, 0.1);
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid rgba(185, 28, 28, 0.2);
}

.creator-logo {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.creator-name {
  font-weight: 600;
  color: #b91c1c;
}

.copyright {
  font-size: 0.9rem;
  color: var(--text-color);
  opacity: 0.7;
}

.footer-tech-stack {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.tech-label {
  font-size: 0.9rem;
  color: var(--text-color);
  opacity: 0.7;
}

.tech-icons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tech-item {
  background: rgba(185, 28, 28, 0.1);
  color: var(--text-color);
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(185, 28, 28, 0.2);
  transition: all 0.3s ease;
}

.tech-item:hover {
  background: rgba(185, 28, 28, 0.2);
  transform: translateY(-2px);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(185, 28, 28, 0.2);
}

.scroll-line {
  height: 100%;
  background: linear-gradient(90deg, #b91c1c, #dc2626);
  width: var(--scroll-progress, 0%);
  transition: width 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
  .ultra-footer .footer-container {
    padding: 0 20px;
  }
  
  .footer-hero {
    padding: 40px 0;
    margin-bottom: 50px;
  }
  
  .brand-section {
    flex-direction: column;
    gap: 20px;
  }
  
  .brand-text {
    text-align: center;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .footer-column {
    padding: 25px;
  }
  
  .social-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .newsletter-section {
    padding: 30px 20px;
    margin-bottom: 40px;
  }
  
  .input-group {
    flex-direction: column;
    border-radius: 20px;
  }
  
  .newsletter-input {
    border-bottom: 1px solid rgba(185, 28, 28, 0.2);
    border-radius: 0;
  }
  
  .newsletter-btn {
    border-radius: 15px;
    margin-top: 5px;
  }
  
  .ultra-footer .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .footer-tech-stack {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .orb {
    display: none;
  }
  
  .social-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .social-card {
    padding: 15px;
  }
}
