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

/* 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 ... */
  }
}


/* Body Styles */
body {
 font-family: "Montserrat", "Hind", sans-serif;
  background: var(--background-color);
  color: var(--text-color);
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative; /* Ensure proper stacking */
  z-index: 0;
}

/* Container for Menu Trigger */
.container {
  cursor: pointer;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1002;
  display: flex;
  align-items: center;
}


  /* Modern Navigation Styles */
        nav {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 80px;
            background: var(--nav-background);
            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(50px) !important;
                -webkit-backdrop-filter: blur(50px) !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 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 */
}

body.light-mode .hero-section {
  background: #ffffff;
}

body.light-mode .word {
  color: #000000;
}

body.light-mode .hero-text,
body.light-mode .hero-title,
body.light-mode .hero-subtitle {
  color: #000000;
}

body.light-mode .introduction-section {
  background: #ffffff;
  color: #000000;
}

body.light-mode .enhanced-title {
  color: #000000;
  background: linear-gradient(to right, #800000, #d10303);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.light-mode .intro-text {
  color: #333333;
}

body.light-mode .enhanced-text {
  border-left: 4px solid #800000;
  
}


body.light-mode .enhanced-text p {

    color: #333333;
  
}
body.light-mode .projects-section {
  background: #ffffff;
  color: #000000;
}

body.light-mode .projects-title {
  color: maroon;
}

body.light-mode .project-quote {
  color: #555555;
}

body.light-mode .project-info {
  color: #000000;
}

body.light-mode .project-icon {
  color: maroon;
}

body.light-mode .view-all-button {
  background: maroon;
  color: #ffffff;
}

body.light-mode .view-all-button:hover {
  background: #d10303;
}









/* Show Menu When Burger is Checked */
#nav-toggle:checked ~ nav .nav-links {
  opacity: 1;
  transform: translate(-50%, -10%) scale(1);
}

/* Ensure Sections Stack Correctly */
section {
  clear: both;
  position: relative;
  z-index: 1;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    width: 100%;
    height: 120vh;
    min-height: 600px;
    background: var(--background-color);
    display: flex;
    margin-top: 100px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 1;
    perspective: 2500px;
    transform-style: preserve-3d;
    background: 
        radial-gradient(circle at 20% 50%, rgba(209, 3, 3, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(128, 0, 0, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(209, 3, 3, 0.05) 0%, transparent 50%),
        var(--background-color);
}

/* ===== ANIMATED BACKGROUND GRID ===== */
.cyber-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    z-index: 0;
}

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

/* ===== FLOATING PARTICLES ===== */
.particle {
    position: absolute;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 90;
    animation: float 3s ease-in-out infinite;
}

.particle:nth-child(odd) {
    animation-delay: -1s;
}

.particle:nth-child(even) {
    animation-delay: -2s;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) translateX(0px); 
    }
    25% { 
        transform: translateY(-20px) translateX(10px); 
    }
    50% { 
        transform: translateY(0px) translateX(20px); 
    }
    75% { 
        transform: translateY(20px) translateX(10px); 
    }
}

/* ===== HERO CONTENT ===== */
.hero-content {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 100%;
    display: flex;

    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    padding: 40px 20px;
    z-index: 2;
    overflow-x: hidden;
    perspective: 1000px;
}

/* ===== WORD STYLES ===== */
.word {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    color: var(--text-color);
    line-height: 1;
    position: relative;
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none;
    margin: 20px 0;
    transform-style: preserve-3d;
    will-change: transform, filter, opacity;
    background: linear-gradient(45deg, var(--text-color), rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
   
    background-clip: text;
    filter: drop-shadow(0 0 30px rgba(209, 3, 3, 0.3));
}

.word-1 {
    align-self: flex-start;
    margin-left: 5%;
    font-size: clamp(8rem, 18vw, 20rem);
    letter-spacing: 0.1em;
    text-shadow: 0 0 80px rgba(209, 3, 3, 0.3);
}

.word-2 {
    position: relative;
    font-size: clamp(6rem, 15vw, 16rem);
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.2em;
}

.word-3 {
    align-self: flex-end;
    margin-right: 5%;
    font-size: clamp(8rem, 18vw, 20rem);
    letter-spacing: 0.1em;
    text-shadow: 0 0 80px rgba(209, 3, 3, 0.3);
}

.word-3-z {
    z-index: 250 !important;
}

.space-holder {
    display: inline-block;
    width: clamp(4rem, 12vw, 12rem);
}

/* ===== HERO TEXT OVERLAY ===== */
.hero-text {
   font-family: 'Hind', sans-serif;
    font-weight: 500;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fafafa;
    pointer-events: auto;
    z-index: 300;
    backdrop-filter: blur(20px) saturate(180%);
    background: var(--glass-background);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    padding: 3rem 2.5rem;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 500px;
}

.hero-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.hero-title {
    font-size: clamp(1.5rem, 1.9vw, 2.9rem);
    font-weight: 800;
    text-transform: uppercase;
    background: var(--enhanced-title-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: 0.15em;
    line-height: 1.2;
    position: relative;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 1.5vw, 1.7rem);
    font-weight: 500;
    text-transform: uppercase;
    color: var(--secondary-color);
    letter-spacing: 0.3em;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* ===== CTA SECTION ===== */
.hero-cta {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 500;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--primary-color), transparent);
    position: relative;
    overflow: hidden;
}

.scroll-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: var(--primary-color);
    animation: scrollMove 2s ease-in-out infinite;
}

@keyframes scrollMove {
    0% { 
        transform: translateY(-20px); 
        opacity: 0; 
    }
    50% { 
        opacity: 1; 
    }
    100% { 
        transform: translateY(60px); 
        opacity: 0; 
    }
}

/* ===== STATUS BADGE ===== */
.status-badge {
    position: absolute;
    top: 2rem;
    right: 2rem;
    padding: 0.5rem 1rem;
    background: rgba(209, 3, 3, 0.1);
    border: 1px solid rgba(209, 3, 3, 0.3);
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.status-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    display: inline-block;
    margin-right: 0.5rem;
    animation: pulse 2s ease-in-out infinite;
}

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

/* ===== SPLIT TEXT EFFECTS ===== */
.split-text span {
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
    position: relative;
    transform-origin: center center;
    cursor: pointer;
}

.split-text span:hover {
    color: var(--primary-color);
    transform: translateY(-10px) rotateX(15deg);
    text-shadow: var(--neon-glow);
    filter: brightness(1.5);
}

/* ===== PARALLAX ELEMENTS ===== */
.parallax {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.6;
}

.parallax-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(209, 3, 3, 0.15) 0%, transparent 70%);
    top: 20%;
    left: -200px;
    animation: parallaxMove 15s infinite ease-in-out alternate;
}

.parallax-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(128, 0, 0, 0.1) 0%, transparent 70%);
    bottom: 15%;
    right: -250px;
    animation: parallaxMove 18s infinite ease-in-out alternate-reverse;
}

.parallax-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(209, 3, 3, 0.08) 0%, transparent 70%);
    top: 70%;
    left: 40%;
    animation: parallaxMove 12s infinite ease-in-out alternate;
    animation-delay: -5s;
}

@keyframes parallaxMove {
    0% { 
        transform: translateY(0px) translateX(0px) scale(1); 
    }
    25% { 
        transform: translateY(40px) translateX(30px) scale(1.1); 
    }
    50% { 
        transform: translateY(-20px) translateX(-15px) scale(0.9); 
    }
    75% { 
        transform: translateY(30px) translateX(25px) scale(1.05); 
    }
    100% { 
        transform: translateY(-40px) translateX(-30px) scale(1); 
    }
}/* ===== INTRODUCTION SECTION ===== */
.introduction-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 100px 40px;
    background: var(--background-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Introduction Section Parallax Elements */
.introduction-section .parallax {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    opacity: 0.4;
}

.introduction-section .parallax-1 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(209, 3, 3, 0.12) 0%, transparent 70%);
    top: 10%;
    left: -100px;
    animation: introParallax1 20s infinite ease-in-out alternate;
}

.introduction-section .parallax-2 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(128, 0, 0, 0.08) 0%, transparent 70%);
    bottom: 10%;
    right: -150px;
    animation: introParallax2 25s infinite ease-in-out alternate-reverse;
}

.introduction-section .parallax-3 {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(209, 3, 3, 0.06) 0%, transparent 70%);
    top: 60%;
    left: 70%;
    animation: introParallax3 15s infinite ease-in-out alternate;
    animation-delay: -3s;
}

@keyframes introParallax1 {
    0% { transform: translateY(0px) translateX(0px) scale(1); }
    25% { transform: translateY(30px) translateX(20px) scale(1.05); }
    50% { transform: translateY(-15px) translateX(-10px) scale(0.95); }
    75% { transform: translateY(25px) translateX(15px) scale(1.02); }
    100% { transform: translateY(-25px) translateX(-20px) scale(1); }
}

@keyframes introParallax2 {
    0% { transform: translateY(0px) translateX(0px) scale(1); }
    30% { transform: translateY(-35px) translateX(25px) scale(1.08); }
    60% { transform: translateY(20px) translateX(-15px) scale(0.92); }
    100% { transform: translateY(30px) translateX(-25px) scale(1); }
}

@keyframes introParallax3 {
    0% { transform: translateY(0px) translateX(0px) scale(1); }
    25% { transform: translateY(40px) translateX(-20px) scale(1.1); }
    50% { transform: translateY(-25px) translateX(15px) scale(0.9); }
    75% { transform: translateY(30px) translateX(-10px) scale(1.05); }
    100% { transform: translateY(-35px) translateX(25px) scale(1); }
}

.introduction-content {
    max-width: 1200px;
    text-align: center;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
    z-index: 2;
}

.introduction-content .divider {
    height: 3px;
    width: 60%;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    margin: 30px auto;
    position: relative;
    overflow: hidden;
}

.introduction-content .divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: dividerShine 3s ease-in-out infinite;
}

@keyframes dividerShine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.enhanced-title {
    font-size: clamp(2rem, 4vw, 4rem);
    margin-bottom: 30px;
    text-transform: uppercase;
    font-weight: 900;
    color: #ffffff;
    background: var(--enhanced-title-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

/* Split Text Effect for Enhanced Title */
.enhanced-title.split-text span {
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    transform-origin: center center;
    cursor: pointer;
}

.enhanced-title.split-text span:hover {
    color: var(--primary-color);
    transform: translateY(-8px) rotateX(10deg) scale(1.1);
    text-shadow: var(--neon-glow);
    filter: brightness(1.3);
}

.intro-text {
    font-size: clamp(1rem, 1.7vw, 1.7rem);
    line-height: 1.8;
    font-weight: 500;
    color: #dddddd;
    max-width: 900px;
    margin: 0 auto 2rem auto;
    position: relative;
}

.enhanced-text {
    position: relative;
    padding: 25px;
    border-left: 4px solid var(--primary-color);
    text-align: left;
    margin: 30px 0;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 0 15px 15px 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.enhanced-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-color), transparent);
    border-radius: 2px;
}

.enhanced-text p {
    margin: 0;
    font-size: clamp(0.9rem, 1.4vw, 1.4rem);
    line-height: 1.7;
    color: #e0e0e0;
    font-weight: 400;
}

/* Additional Introduction Styling */
.intro-highlight {
    color: var(--primary-color);
    font-weight: 600;
    text-shadow: 0 0 10px rgba(209, 3, 3, 0.3);
}

.tech-stack {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.tech-stack h3 {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.tech-item {
    padding: 0.5rem 1rem;
    background: rgba(209, 3, 3, 0.1);
    border: 1px solid rgba(209, 3, 3, 0.3);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tech-item:hover {
    background: rgba(209, 3, 3, 0.2);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(209, 3, 3, 0.2);
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablets and Small Laptops */
@media (max-width: 1024px) {
    .hero-content {
        padding: 30px 15px;
    }
    
    .word-1, .word-3 {
        margin-left: 2%;
        margin-right: 2%;
    }
    
    .status-badge {
        top: 1.5rem;
        right: 1.5rem;
        font-size: 0.75rem;
    }
    
    .parallax-1, .parallax-2, .parallax-3 {
        filter: blur(80px);
        opacity: 0.4;
    }
    
    .introduction-section .parallax-1,
    .introduction-section .parallax-2,
    .introduction-section .parallax-3 {
        filter: blur(80px);
        opacity: 0.3;
    }
    
    .tech-list {
        gap: 0.8rem;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .hero-section {
        height: 100vh;
        min-height: 500px;
    }
    
    .hero-text {
        padding: 2rem 1.5rem;
        border-radius: 20px;
        width: 95%;
        max-width: 400px;
    }
    
    .hero-title {
        font-size: clamp(1.9rem, 2.5vw, 3rem);
        margin-bottom: 0.8rem;
    }
    
    .hero-subtitle {
        font-size: clamp(1.7rem, 2.1vw, 2.6rem);
        margin-bottom: 1.5rem;
    }
    
    .word-1, .word-3 {
        font-size: clamp(6rem, 20vw, 16rem);
        margin-left: 1%;
        margin-right: 1%;
    }
    
    .word-2 {
        font-size: clamp(5rem, 18vw, 14rem);
    }
    
    .space-holder {
        width: clamp(3rem, 15vw, 10rem);
    }
    
    .status-badge {
      margin-top: 105px;
        top: 1rem;
        right: 1rem;
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }
    
    .introduction-section {
        padding: 80px 30px;
    }
    
    .enhanced-title {
        font-size: clamp(1.8rem, 5vw, 3rem);
    }
    
    .intro-text {
        font-size: clamp(0.9rem, 2vw, 1.4rem);
    }
    
    .enhanced-text {
        padding: 20px;
        margin: 25px 0;
    }
    
    .introduction-content .divider {
        width: 80%;
    }
    
    .tech-stack {
        margin-top: 2rem;
        padding: 1.5rem;
    }
    
    .tech-list {
        gap: 0.7rem;
    }
    
    .tech-item {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Mobile Devices */
@media (max-width: 480px) {
    .hero-content {
        padding: 20px 10px;
        justify-content: space-between;
    }
    
    .hero-text {
        padding: 1.5rem 1rem;
        border-radius: 15px;
       
        width: 300px;
    }
    
    .hero-title {
        font-size: clamp(1.5rem, 4vw, 3.0rem) ;
        letter-spacing: 0.1em;
    }
    
    .hero-subtitle {
        font-size: clamp(1.1rem, 3vw, 1.8rem);
        letter-spacing: 0.2em;
    }
    
    .word-1, .word-3 {
        font-size: clamp(4rem, 25vw, 12rem);
    
    }
    
    .word-2 {
        font-size: clamp(3.5rem, 22vw, 10rem);
    }
    
    .space-holder {
        width: clamp(2rem, 18vw, 8rem);
    }
    
    .status-badge {
        position: fixed;
        top: 0.5rem;
        right: 0.5rem;
        font-size: 0.6rem;
        padding: 0.3rem 0.6rem;
    }
    
    .scroll-line {
        height: 40px;
    }
    
    .parallax-1, .parallax-2, .parallax-3 {
        display: none; /* Hide on mobile for performance */
    }
    
    .introduction-section .parallax-1,
    .introduction-section .parallax-2,
    .introduction-section .parallax-3 {
        display: none; /* Hide introduction parallax on mobile */
    }
    
    .cyber-grid {
        background-size: 30px 30px;
    }
    
    .introduction-section {
        padding: 60px 20px;
        min-height: 80vh;
    }
    
    .enhanced-text {
        padding: 15px;
        border-left: 3px solid var(--primary-color);
        margin: 20px 0;
    }
    
    .enhanced-text p {
        font-size: clamp(0.8rem, 2vw, 1.2rem);
    }
    
    .introduction-content .divider {
        width: 90%;
        height: 2px;
    }
    
    .tech-stack {
        margin-top: 1.5rem;
        padding: 1rem;
        border-radius: 15px;
    }
    
    .tech-stack h3 {
        font-size: clamp(1rem, 3vw, 1.5rem);
        margin-bottom: 1rem;
    }
    
    .tech-list {
        gap: 0.5rem;
    }
    
    .tech-item {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
}

/* Extra Small Devices */
@media (max-width: 320px) {
    .hero-text {
        padding: 1rem 0.8rem;
    }
    
    .word-1, .word-3 {
        font-size: clamp(3rem, 30vw, 10rem);
    }
    
    .word-2 {
        font-size: clamp(2.5rem, 25vw, 8rem);
    }
    
    .space-holder {
        width: clamp(1.5rem, 20vw, 6rem);
    }
    
    .hero-cta {
        margin-top: 1rem;
    }
    
    .introduction-section {
        padding: 40px 15px;
    }
    
    .enhanced-text {
        padding: 12px;
        border-radius: 0 10px 10px 0;
    }
    
    .tech-stack {
        padding: 0.8rem;
    }
    
    .tech-item {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }
}
/* Enhanced Projects Section Styles - 2025 Edition */
.projects-section {
  background: var(--project-section-background);
  color: var(--text-color);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.projects-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(209, 3, 3, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.projects-title {
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 900;
  margin-bottom: 80px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 8px;
  position: relative;
  z-index: 2;
  background: var(--enhanced-title-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: titlePulse 2s infinite alternate;
}

@keyframes titlePulse {
  from { opacity: 0.9; text-shadow: 0 0 10px rgba(209, 3, 3, 0.4); }
  to { opacity: 1; text-shadow: 0 0 20px rgba(209, 3, 3, 0.7); }
}

.projects-container {
  width: 90%;
  max-width: 1800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Project Grid Layout */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.hidden-projects-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.project-row {
  display: contents;
}

/* Project Item Sizes */
.project-item {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 50px;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  background: var(--card-background);
  transform-style: preserve-3d;
  perspective: 1000px;
}

.project-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(209, 3, 3, 0.2);
}

.size-small {
  grid-column: span 4;
}

.size-medium {
  grid-column: span 6;
}

.size-large {
  grid-column: span 8;
}

.featured {
  grid-column: 1 / -1;
  margin-bottom: 60px;
}

/* For better mobile layout */
@media (max-width: 1200px) {
  .size-small, .size-medium {
    grid-column: span 6;
  }
  
  .size-large, .standalone-left {
    grid-column: span 12;
  }
}

@media (max-width: 768px) {
  .size-small, .size-medium, .size-large, .standalone-left {
    grid-column: 1 / -1;
  }
  
  .projects-grid {
    gap: 20px;
  }
  
  .project-item {
    margin-bottom: 30px;
  }
}

/* Project Image and Hover Effects */
.project-image-wrapper {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 24px;
  aspect-ratio: 16 / 9;
  transform-style: preserve-3d;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.33, 1, 0.68, 1);
  transform-origin: center;
}

.project-image-wrapper:hover .project-image {
  transform: scale(1.15);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.6s cubic-bezier(0.33, 1, 0.68, 1);
}

.project-image-wrapper:hover .overlay {
  opacity: 1;
  transform: scale(1);
  background: rgba(209, 3, 3, 0.75);
}

.project-info {
  color: #fff;
  text-align: center;
  transform: translateY(20px) translateZ(20px);
  transition: transform 0.6s cubic-bezier(0.33, 1, 0.68, 1);
  padding: 0 20px;
  width: 100%;
}

.project-image-wrapper:hover .project-info {
  transform: translateY(0) translateZ(30px);
}

.project-icon {
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 15px;
  color: #fff;
  animation: iconFloat 3s ease-in-out infinite;
  display: inline-block;
}

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

.project-title {
  font-size: clamp(1.5rem, 2vw, 2rem);
  margin-bottom: 10px;
  letter-spacing: 2px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.project-categories {
  font-size: clamp(0.9rem, 1.2vw, 1.2rem);
  font-weight: 500;
  opacity: 0.9;
}

.project-quote {
  font-size: clamp(1rem, 1.5vw, 1.5rem);
  color: var(--text-color);
  margin-top: 20px;
  font-style: italic;
  text-align: center;
  line-height: 1.5;
  opacity: 0.9;
  padding: 0 15px 20px;
  transition: color 0.3s ease;
}

.project-item:hover .project-quote {
  color: var(--primary-color);
}

/* View All Button */
.view-all {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  padding: 20px 0;
}

.view-all-button {
  padding: 18px 50px;
  font-size: clamp(1.2rem, 1.8vw, 1.8rem);
  border: none;
  background: var(--primary-color);
  color: #fff;
  cursor: pointer;
  border-radius: 50px;
  box-shadow: 0 10px 25px rgba(209, 3, 3, 0.3);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  overflow: hidden;
  font-weight: 600;
  letter-spacing: 1px;
  display: inline-block;
}

.view-all-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent 25%, rgba(255, 255, 255, 0.2) 50%, transparent 75%);
  background-size: 200% 200%;
  animation: shimmer 3s infinite linear;
  z-index: 1;
}

.view-all-button span {
  position: relative;
  z-index: 2;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.view-all-button:hover {
  background: #ff0000;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 30px rgba(209, 3, 3, 0.4);
}

/* Hidden Projects Animation */
.hidden-projects {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.8s cubic-bezier(0.33, 1, 0.68, 1);
  margin-top: 30px;
  
}

.hidden-projects.visible {
  opacity: 1;
  max-height: 10000px; /* Arbitrary large value */
  margin-top: 0;

}

/* Vanilla Tilt Integration */
.js-tilt {
  transform-style: preserve-3d;
  transform: perspective(1000px);
}

.js-tilt-glare {
  border-radius: 24px;
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .projects-section {
    padding: 80px 0;
  }
  
  .projects-title {
    margin-bottom: 40px;
    letter-spacing: 4px;
  }
  
  .project-quote {
    font-size: 1rem;
    padding: 0 10px 15px;
  }
  
  .view-all-button {
    padding: 15px 40px;
    font-size: 1.2rem;
  }
}







/* Trusted Section Styles */
.trusted-section {
  background: linear-gradient(135deg, #000 10%, #1a1a1a 100%);
  padding: 100px 20px;
  position: relative;
  overflow: hidden;

}


.trusted-title {
  font-size: 4em;
  font-weight: 900;
  color: maroon;
  text-align: center;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 5px;
  position: relative;
  z-index: 2;
  animation: fadeInDown 1s ease-in-out;
}

.trusted-subtitle {
  font-size: 1.5em;
  color: #ddd;
  text-align: center;
 
  position: relative;
  z-index: 2;
}

/* Logos Slider */
.logos-container {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.logos-slider {
  display: flex;
  align-items: center;
  gap: 150px;
  animation: scroll 40s linear infinite;
  margin-top: 50px;
  margin-bottom: 50px;
}

/* Logo Items */
.logo-item {
  flex: 0 0 auto;
  width: 300px;
  height: 300px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.logo-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  margin: 50px;
  background: linear-gradient(45deg, rgba(209, 3, 3, 0.6), rgba(0, 0, 0, 0));
  -webkit-mask: 
      linear-gradient(#fff 0 0) content-box, 
      linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
}

.logo-item:hover {
  transform: scale(1.1);
  border-color: maroon;
}

/* Position images absolutely and center them */
.logo-item img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90%;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.logo-item:hover img {
  filter: grayscale(0%);
}

@keyframes scroll {
  0% {
      transform: translateX(0);
  }
  100% {
      transform: translateX(calc(-300px * 6)); /* Adjusted to match logo width and count */
  }
}

@media (max-width: 768px) {
  .trusted-title {
      font-size: 2.5em;
      text-align: center;
  }
  .trusted-subtitle {
      font-size: 1.2em;
  }


  .logo-item {
    width: 100px;
    height: 100px;
  }
  .logo-item img {
      width: 80%;
  }
  .logos-slider {
      gap: 40px;
  }
  .intro-text {
    font-size: 1.0em;
    margin: 0px;
    padding: 20px 15px;
    text-align: justify;
    text-justify: inter-word; /* Adds more natural spacing */
    hyphens: auto; /* Allows hyphenation to reduce spacing gaps */
  }
}


/* Light Mode Styles */
body.light-mode .trusted-section {
  background: #ffffff;
}

body.light-mode .trusted-title {
  color: maroon;
}

body.light-mode .trusted-subtitle {
  color: #333333;
}

body.light-mode .logo-item {
  border-color: rgba(0, 0, 0, 0.2);
}

body.light-mode .logo-item::before {
  background: linear-gradient(45deg, rgba(209, 3, 3, 0.6), rgba(255, 255, 255, 0));
}

body.light-mode .logo-item:hover {
  border-color: maroon;
}

body.light-mode .logo-item img {
  filter: grayscale(100%);
}

body.light-mode .logo-item:hover img {
  filter: grayscale(0%);
}


/* Show the appropriate logo based on the mode */
body.dark-mode .logo-dark {
  opacity: 1;
}

body.dark-mode .logo-light {
  opacity: 0;
}

body.light-mode .logo-dark {
  opacity: 0;
}

body.light-mode .logo-light {
  opacity: 1;
}

/* Testimonials Section Styles - Ultra Modern 2025 Design */
.testimonials-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    background: var(--background-color);
}

.testimonials-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.3) 0%, rgba(20,20,20,0.1) 100%);
    z-index: 1;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/dark-background.jpg') center center / cover no-repeat;
    filter: brightness(0.4) contrast(1.2) saturate(1.2);
    z-index: 0;
}

.testimonials-section .container {
    position: relative;
    z-index: 2;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
display: flex;
flex-direction: column;
 align-items: center;
justify-content: center;
text-align: center;
margin-bottom: 40px;
gap: 15px;

}

.section-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(to right, var(--primary-color), #ff6b6b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 10px rgba(209, 3, 3, 0.2);
    letter-spacing: 5px;
    text-transform: uppercase;
}

.title-underline {
    width: 120px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), #ff6b6b);
    margin: 0 auto 30px;
    position: relative;
    border-radius: 2px;
}

.title-underline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.title-underline::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: #ff6b6b;
    border-radius: 50%;
    animation: pulse 2s infinite 1s;
}

@keyframes pulse {
    0% { transform: translateY(-50%) scale(1); opacity: 1; }
    50% { transform: translateY(-50%) scale(1.5); opacity: 0.5; }
    100% { transform: translateY(-50%) scale(1); opacity: 1; }
}

.section-subtitle {
    font-size: 1.6rem;
    color: var(--text-color);
    opacity: 0.8;
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Testimonials Container */
.testimonials-container {
    display: flex;
    transition: transform 0.7s cubic-bezier(0.645, 0.045, 0.355, 1);
    width: 100%;
    margin-bottom: 40px;
}

/* Testimonial Item */
.testimonial-item {
    min-width: 100%;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}


/* Testimonials Section Styles - Ultra Modern 2025 Design */
.testimonials-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    background: var(--background-color);
}


.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/dark-background.jpg') center center / cover no-repeat;
    filter: brightness(0.4) contrast(1.2) saturate(1.2);
    z-index: 0;
}

.testimonials-section .container {
    position: relative;
    z-index: 2;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    z-index: 50;
opacity: 10;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(to right, var(--primary-color), #ff6b6b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 10px rgba(209, 3, 3, 0.2);
    letter-spacing: 5px;
    text-transform: uppercase;
}

.title-underline {
    width: 120px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), #ff6b6b);
    margin: 0 auto 30px;
    position: relative;
    border-radius: 2px;
}

.title-underline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.title-underline::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: #ff6b6b;
    border-radius: 50%;
    animation: pulse 2s infinite 1s;
}

@keyframes pulse {
    0% { transform: translateY(-50%) scale(1); opacity: 1; }
    50% { transform: translateY(-50%) scale(1.5); opacity: 0.5; }
    100% { transform: translateY(-50%) scale(1); opacity: 1; }
}

.section-subtitle {
    font-size: 1.6rem;
    color: var(--text-color);
    opacity: 0.8;
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Testimonials Container */
.testimonials-container {
    display: flex;
    transition: transform 0.7s cubic-bezier(0.645, 0.045, 0.355, 1);
    width: 100%;
    margin-bottom: 40px;
}

/* Testimonial Item */
.testimonial-item {
    min-width: 100%;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

/* Testimonial Card */
.testimonial-card {
    position: relative;
    padding: 80px 60px 60px;
    max-width: 800px;
    width: 100%;
    text-align: center;
    border-radius: 20px;
    background: rgba(30, 30, 30, 0.4);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.testimonial-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(var(--primary-color-rgb), 0.15) 0%, rgba(0, 0, 0, 0) 60%);
    z-index: -1;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(209, 3, 3, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    transform: translateZ(0);
    pointer-events: none;
    z-index: -1;
}

.testimonial-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: -1;
}

/* Client Photo Wrapper */
.client-photo-wrapper {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    z-index: 1;
}

.photo-border {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(209, 3, 3, 0.6);
    animation: rotate 10s linear infinite;
    z-index: -1;
}

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

/* Client Photo */
.client-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Quote Icon */
.quote-icon {
    position: absolute;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), #ff6b6b);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 10px 20px rgba(209, 3, 3, 0.3);
    z-index: 1;
}

/* Testimonial Text */
.testimonial-text {
    font-size: 1.6rem;
    line-height: 1.7;
    margin-top: 70px;
    margin-bottom: 40px;
    color: var(--text-color);
    font-weight: 300;
    letter-spacing: 0.5px;
    position: relative;
}

/* Client Details */
.client-details {
    margin-top: 30px;
    position: relative;
    padding-top: 20px;
}

.client-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), #ff6b6b);
    border-radius: 2px;
}

/* Client Name */
.client-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 5px;
    background: linear-gradient(to right, #ffffff, #cccccc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Client Position */
.client-position {
    font-size: 1.2rem;
    color: var(--text-color);
    opacity: 0.7;
    font-weight: 300;
}

/* Progress Container */
.progress-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto 40px;
    padding: 0 30px;
}

.dot-indicators {
    display: none;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}

.dot-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dot-indicator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), #ff6b6b);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dot-indicator.active {
    transform: scale(1.2);
}

.dot-indicator.active::before {
    opacity: 1;
}

.progress-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
    transition: height 0.3s ease;
}

.progress-indicator {
    height: 100%;
    width: 25%;
    background: linear-gradient(to right, var(--primary-color), #ff6b6b);
    border-radius: 2px;
    transition: width 0.7s cubic-bezier(0.645, 0.045, 0.355, 1);
}

/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
}

.nav-button {
    background: rgba(30, 30, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: auto;
    margin: 0 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.nav-button:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(209, 3, 3, 0.4);
}

.nav-button:active {
    transform: translateY(0);
    box-shadow: 0 5px 15px rgba(209, 3, 3, 0.4);
}

.nav-icon {
    display: flex;
    color: var(--text-color);
}

/* Light Mode Styles */
body.light-mode .testimonials-section::before {
    filter: brightness(0.9) contrast(1.1) saturate(1.1);
}

body.light-mode .testimonials-overlay {
    background: linear-gradient(125deg, rgba(255,255,255,0.3) 0%, rgba(240,240,240,0.1) 100%);
}

body.light-mode .section-title {
    background: linear-gradient(to right, var(--primary-color), #ff6b6b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 10px rgba(209, 3, 3, 0.1);
}

body.light-mode .testimonial-card {
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

body.light-mode .client-name {
    background: linear-gradient(to right, #000000, #333333);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

body.light-mode .progress-bar {
    background: rgba(0, 0, 0, 0.1);
}

body.light-mode .nav-button {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

body.light-mode .nav-icon {
    color: #333;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .section-title {
        font-size: 3rem;
    }
    
    .testimonial-card {
        padding: 70px 40px 50px;
    }
}

@media (max-width: 992px) {
    .testimonials-section {
        padding: 100px 0;
    }
    
    .testimonial-text {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {

.section-header {
 flex-direction: column;
text-align: center;
 align-items: center;
}

    
    .section-title {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .section-subtitle {
        font-size: 1.3rem;
        text-align: center;
    }
    
    .testimonial-card {

        width:80%;
        max-width:300px;
    }
    
    .testimonial-text {
        font-size: 1.3rem;
    }
    
    .client-name {
        font-size: 1.6rem;
    }
    
    .client-position {
        font-size: 1.1rem;
    }
    
    /* Hide arrow navigation on mobile */
    .carousel-nav {
        display: none;
    }
    
    /* Enhance the progress bar to work as a slider */
    .progress-container {
        width: 50%;
        max-width: none;
        padding: 0 30px;
        margin-top: 40px;
    }
    
    .progress-bar {
        height: 6px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 3px;
        cursor: pointer;
        position: relative;
    }
    
    .progress-indicator {
        height: 100%;
        border-radius: 3px;
    }
    
    /* Add dot indicators for mobile */
    .dot-indicators {
        display: flex;
        justify-content: center;
        margin-top: 20px;
        gap: 10px;
    }
    
    .dot-indicator {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.3);
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .dot-indicator.active {
        background: var(--primary-color);
        transform: scale(1.2);
    }
}

@media (max-width: 576px) {
    .testimonials-section {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 2rem;
        letter-spacing: 2px;
    }
    
    .client-photo-wrapper {
        width: 60px;
        height: 60px;
        top: 5px;
    }
    
    .quote-icon {
        top: 70px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .testimonial-text {
        margin-top: 50px;
        font-size: 1.1rem;
    }
}

/* Add this for the RGB animation effect */
:root {
    --primary-color-rgb: 209, 3, 3;
}

@keyframes rgbBorder {
    0% { border-color: rgba(var(--primary-color-rgb), 1); box-shadow: 0 0 10px rgba(var(--primary-color-rgb), 0.5); }
    25% { border-color: rgba(255, 107, 107, 1); box-shadow: 0 0 10px rgba(255, 107, 107, 0.5); }
    50% { border-color: rgba(255, 160, 107, 1); box-shadow: 0 0 10px rgba(255, 160, 107, 0.5); }
    75% { border-color: rgba(255, 107, 107, 1); box-shadow: 0 0 10px rgba(255, 107, 107, 0.5); }
    100% { border-color: rgba(var(--primary-color-rgb), 1); box-shadow: 0 0 10px rgba(var(--primary-color-rgb), 0.5); }
}

.testimonial-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.6);
}

.testimonial-card:hover .photo-border {
    animation: rgbBorder 3s infinite, rotate 10s linear infinite;
}


/* Developer Skills Section */
.developer_skills {
  background-color: var(--background-color);
  padding: 120px 40px; /* Increased padding for larger size */
  position: relative;
  overflow: hidden;
}

/* Section Title */
.developer_skills .title {
  font-size: 3em; /* Increased font size */
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px; /* Increased margin */
  background: var(--enhanced-title-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Section Subtitle */
.developer_skills .heading {
  font-size: 1.5em; /* Increased font size */
  color: var(--text-color);
  text-align: center;
  max-width: 900px; /* Increased max-width */
  margin: 0 auto 80px auto; /* Increased margin */
}

/* Content Container using CSS Grid */
.developer_skills .content {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Three cards per row */
  gap: 40px; /* Increased gap between cards */
  justify-items: center;
}

/* Skill Card */
.developer_skills .card {
  background: var(--card-background);
  border: 1px solid maroon; /* 1px Maroon Border */
  border-radius: 20px; /* Increased border-radius for a more modern look */
  padding: 80px 30px 50px 30px; /* Increased padding */
  position: relative;
  margin: 30px;
  width: 350px; /* Increased width */
  max-width: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(15px); /* Increased blur for glassmorphism effect */
  -webkit-backdrop-filter: blur(15px);
}

/* Hover Effect on Skill Card */
.developer_skills .card:hover {
  transform: translateY(-15px); /* More pronounced lift */
  box-shadow: 0 16px 32px  rgba(209, 3, 3, 0.25); /* Enhanced shadow */
}

/* Skill Icon */
.developer_skills .skill-icon {
  position: absolute;
  top: -50px; /* Adjusted position for larger size */
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  width: 100px; /* Increased size */
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 2.5em; /* Increased icon size */
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2); /* Enhanced shadow */
}

/* Skill Name */
.developer_skills .desc {
  margin-top: 20px; /* Increased margin */
  font-size: 1.8em; /* Increased font size */
  font-weight: 700;
  color: var(--text-color);
  text-align: center;
}

/* Skill Info */
.developer_skills .info {
  font-size: 1.1em; /* Increased font size */
  color: var(--secondary-color);
  text-align: center;
  margin: 15px 0 30px 0; /* Increased margin */
}

/* Skill Progress Container */
.developer_skills .skill-progress {
  background: var(--divider-color); /* Uses divider color */
  border-radius: 10px;
  overflow: hidden;
  height: 20px; /* Increased height */
  margin-top: 10px;
  position: relative;
}

/* Skill Progress Bar */
.developer_skills .skill-progress-bar {
  height: 100%;
  width: 0;
  background: var(--primary-color);
  border-radius: 10px;
  transition: width 1.5s ease-in-out; /* Slower animation for better visibility */
}

/* Skill Progress Bar Label */
.developer_skills .skill-progress-bar[data-progress]::after {
  content: attr(data-progress);
  position: absolute;
  right: 10px;
  top: -30px; /* Adjusted position for larger size */
  font-size: 1em; /* Increased font size */
  color: var(--primary-color);
}

/* Light Mode Adjustments for Developer Skills */
body.light-mode .developer_skills .title {
  background: var(--enhanced-title-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.light-mode .developer_skills .heading {
  color: var(--text-color);
}

body.light-mode .developer_skills .card {
  background: var(--card-background);
  border: 1px solid maroon; /* Maintain maroon border in light mode */
}

body.light-mode .developer_skills .skill-icon {
  background: var(--primary-color);
}

body.light-mode .developer_skills .desc {
  color: #000000;
}

body.light-mode .developer_skills .info {
  color: #0d0d0d;
}

body.light-mode .developer_skills .skill-progress {
  background: #e0e0e0;
}

body.light-mode .developer_skills .skill-progress-bar {
  background: var(--primary-color);
}

body.light-mode .developer_skills .skill-progress-bar[data-progress]::after {
  color: var(--primary-color);
}

/* Responsive Design */

/* Tablets and Medium Screens */
@media (max-width: 1200px) {
  .developer_skills .content {
      grid-template-columns: repeat(2, 1fr); /* Two cards per row */
      gap: 30px;
  }

  .developer_skills .card {
      width: 320px;
  }

  .developer_skills .skill-icon {
      width: 90px;
      height: 90px;
      font-size: 2.2em;
      top: -45px;
  }

  .developer_skills .desc {
      font-size: 1.6em;
  }

  .developer_skills .info {
      font-size: 1em;
  }

  .developer_skills .skill-progress {
      height: 18px;
  }

  .developer_skills .skill-progress-bar[data-progress]::after {
      top: -25px;
      font-size: 0.95em;
  }
}

/* Tablets and Small Screens */
@media (max-width: 768px) {
  .developer_skills .content {
      grid-template-columns: repeat(1, 1fr); /* Single card per row */
      gap: 20px;
  }

  .developer_skills .card {
      width: 100%;
      padding: 60px 20px 40px 20px;
  }

  .developer_skills .skill-icon {
      width: 80px;
      height: 80px;
      font-size: 2em;
      top: -40px;
  }

  .developer_skills .desc {
      font-size: 1.5em;
  }

  .developer_skills .info {
      font-size: 0.95em;
  }

  .developer_skills .skill-progress {
      height: 16px;
  }

  .developer_skills .skill-progress-bar[data-progress]::after {
      top: -20px;
      font-size: 0.9em;
  }
}

/* Mobile Phones */
@media (max-width: 500px) {
  .developer_skills .title {
      font-size: 2.2em; /* Slight reduction for smaller screens */
  }

  .developer_skills .heading {
      font-size: 1em;
      margin-bottom: 30px;
  }

  .developer_skills .card {
      padding: 50px 15px 35px 15px;
  }

  .developer_skills .skill-icon {
      width: 70px;
      height: 70px;
      font-size: 1.8em;
      top: -35px;
  }

  .developer_skills .desc {
      font-size: 1.4em;
  }

  .developer_skills .info {
      font-size: 0.85em;
  }

  .developer_skills .skill-progress {
      height: 14px;
  }

  .developer_skills .skill-progress-bar[data-progress]::after {
      top: -18px;
      font-size: 0.85em;
  }
}

/* Additional Responsive Adjustments */
@media (max-width: 1024px) {
  .developer_skills .content {
      gap: 25px;
  }

  .developer_skills .card {
      padding: 70px 25px 45px 25px;
  }
}




.history-section {
  position: relative;
  padding: 150px 0;
  background-color: var(--project-section-background);
  color: var(--text-color);
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: hidden;
}

/* Ensure the section title appears properly on all screen sizes */
.history-section .container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
}

.history-section .section-title,
.history-section .section-title2 {
  font-size: 4em;
  font-weight: 800;
  text-align: center;
  margin-bottom: 80px;
  background: var(--enhanced-title-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  letter-spacing: 2px;
  text-transform: uppercase;
  align-self: center;
}

.history-section .section-title::after,
.history-section .section-title2::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  height: 4px;
  width: 80px;
  background: var(--primary-color);
  border-radius: 2px;
}

.history-section .section-title2 {
  display: none;
}

/* Particles Background */
.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Timeline Styles */
.timeline {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-left: 80px;
  margin-left: 20px;
  z-index: 2;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 35px;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, var(--primary-color), rgba(209, 3, 3, 0.4));
  border-radius: 3px;
  box-shadow: 0 0 15px rgba(209, 3, 3, 0.5);
}

.timeline-progress {
  position: absolute;
  left: 35px;
  top: 0;
  bottom: 0;
  width: 6px;
  height: 0;
  z-index: 1;
  opacity: 0.8;
}

.timeline-progress-bar {
  width: 100%;
  height: 0;
  background: var(--primary-color);
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 3px;
  box-shadow: 0 0 20px var(--primary-color);
  transition: height 0.5s ease;
}

.timeline-item {
  position: relative;
  margin-bottom: 70px;
  display: flex;
  align-items: flex-start;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item:hover {
  transform: translateX(10px);
}

.timeline-icon {
  position: absolute;
  left: -45px;
  background: var(--primary-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.4em;
  box-shadow: 0 0 30px rgba(209, 3, 3, 0.7);
  z-index: 5;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.timeline-item:hover .timeline-icon {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 0 40px rgba(209, 3, 3, 0.9);
}

.timeline-content {
  background: var(--glass-background);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-left: 3px solid var(--primary-color);
  border-radius: 16px;
  padding: 30px 40px;
  width: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
  font-family: 'Hind', sans-serif;
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(209, 3, 3, 0.05) 0%, rgba(0, 0, 0, 0) 100%);
  z-index: -1;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  border-left: 3px solid var(--primary-color);
}

.timeline-content h3 {
  font-size: 1.8em;
  margin-bottom: 10px;
  color: var(--text-color);
  font-weight: 600;
  font-family: 'Monsterrat', sans-serif;
  position: relative;
  padding-bottom: 10px;
}

.timeline-content h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
}

.timeline-date {
  font-size: 1em;
  color: var(--primary-color);
  margin-bottom: 15px;
  display: block;
  font-weight: 500;
  letter-spacing: 0.5px;
  font-family: 'Hind', sans-serif;
}

.timeline-content p {
  font-size: 1.05em;
  color: var(--text-color);
  line-height: 1.7;
  margin-bottom: 15px;
  font-family: 'Hind', sans-serif;
  font-weight: 400;
}

.timeline-details {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.timeline-tag {
  background: rgba(209, 3, 3, 0.1);
  color: var(--primary-color);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8em;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(209, 3, 3, 0.2);
  font-family: 'Hind', sans-serif;
  transition: all 0.3s ease;
}

.timeline-tag:hover {
  background: rgba(209, 3, 3, 0.2);
  transform: translateY(-2px);
}

/* Download CV Button */
.view-all {
  display: flex;
  justify-content: center;
  margin-top: 60px;
  position: relative;
  z-index: 5;
}

.view-all-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #800000 100%);
  color: white;
  font-family: 'Hind', sans-serif;
  font-weight: 600;
  padding: 14px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 1.1em;
  letter-spacing: 1px;
  transform-origin: center;
  box-shadow: 0 10px 25px rgba(209, 3, 3, 0.3);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
}

.view-all-button::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;
}

.view-all-button:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 35px rgba(209, 3, 3, 0.5);
}

.view-all-button:hover::before {
  left: 100%;
}

.view-all-button i {
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.view-all-button:hover i {
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .history-section {
    padding: 120px 0;
  }
  
  .history-section .container {
    padding: 0 30px;
  }
  
  .timeline-content {
    padding: 25px 30px;
  }
  
  .timeline-content h3 {
    font-size: 1.6em;
  }
}

@media (max-width: 992px) {
  .history-section {
    padding: 100px 0;
  }
  
  .history-section .section-title {
    font-size: 3.5em;
    margin-bottom: 60px;
  }
  
  .timeline {
    padding-left: 60px;
  }
  
  .timeline::before {
    left: 25px;
  }
  
  .timeline-icon {
    left: -35px;
    width: 45px;
    height: 45px;
    font-size: 1.3em;
  }
  
  .timeline-content {
    padding: 20px 25px;
  }
  
  .timeline-content h3 {
    font-size: 1.5em;
  }
  
  .view-all-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  
  .history-section .section-title2 {
    display: block;
    font-size: 3.2em;
  }
  
  .history-section .section-title {
    display: none;
  }
}

@media (max-width: 768px) {
  .history-section {
    padding: 80px 0;
  }
  
  .history-section .section-title2 {
    font-size: 2.8em;
    margin-bottom: 50px;
  }
  
  .timeline {
    padding-left: 50px;
    margin-left: 0;
  }
  
  .timeline::before {
    left: 20px;
  }
  
  .timeline-icon {
    left: -30px;
    width: 40px;
    height: 40px;
    font-size: 1.2em;
  }
  
  .timeline-item {
    margin-bottom: 50px;
  }
  
  .timeline-content {
    padding: 18px 20px;
  }
  
  .timeline-content h3 {
    font-size: 1.4em;
  }
  
  .timeline-date {
    font-size: 0.9em;
  }
  
  .timeline-content p {
    font-size: 1em;
    line-height: 1.6;
  }
  
  .timeline-tag {
    padding: 5px 10px;
    font-size: 0.75em;
  }
}

@media (max-width: 576px) {
  .history-section {
    padding: 60px 0;
  }
  
  .history-section .container {
    padding: 0 20px;
  }
  
  .history-section .section-title2 {
    font-size: 2.4em;
    margin-bottom: 40px;
  }
  
  .timeline {
    padding-left: 40px;
  }
  
  .timeline::before {
    left: 15px;
    width: 4px;
  }
  
  .timeline-icon {
    left: -25px;
    width: 35px;
    height: 35px;
    font-size: 1.1em;
  }
  
  .timeline-item {
    margin-bottom: 40px;
  }
  
  .timeline-content {
    padding: 15px 18px;
  }
  
  .timeline-content h3 {
    font-size: 1.3em;
    padding-bottom: 8px;
  }
  
  .timeline-date {
    font-size: 0.85em;
    margin-bottom: 10px;
  }
  
  .timeline-content p {
    font-size: 0.95em;
    line-height: 1.5;
    margin-bottom: 10px;
  }
  
  .view-all-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
}


@media (max-width: 480px) {
  .history-section {
    padding: 50px 0 30px;
  }
  
  .history-section .container {
    padding: 0 15px;
  }
  
  .history-section .section-title2 {
    font-size: 2em;
    margin-bottom: 30px;
    width: 100%;
    padding: 0;
  }
  
  .timeline {
    padding-left: 35px;
    margin-top: 40px; /* More space after title */
  }
  
  .timeline::before {
    left: 12px;
    width: 3px;
  }
  
  .timeline-icon {
    left: -23px;
    width: 28px;
    height: 28px;
    font-size: 0.9em;
  }
  
  .timeline-content {
    padding: 12px 15px;
    width: calc(100% - 12px);
  }
  
  .timeline-content h3 {
    font-size: 1.1em;
  }
  
  .timeline-date {
    font-size: 0.8em;
  }
  
  .timeline-content p {
    font-size: 0.9em;
    line-height: 1.4;
  }
  
  .timeline-tag {
    padding: 4px 8px;
    font-size: 0.7em;
  }
  
  .view-all-button {
    padding: 8px 16px;
    font-size: 0.85em;
  }
}

/* Animation styles */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(209, 3, 3, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(209, 3, 3, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(209, 3, 3, 0);
  }
}





/* Light Mode Adjustments for History Section */
body.light-mode .history-section {
  background-color: var(--project-section-background);
  color: var(--text-color);
}

body.light-mode .history-section .timeline::before {
  background: maroon;
}

body.light-mode .history-section .timeline-item {
  background: var(--card-background);

}

body.light-mode .history-section .timeline-content h3 {
  color: var(--primary-color);
}

body.light-mode .history-section .timeline-date {
  color: var(--secondary-color);
}

body.light-mode .history-section .timeline-content p {
  color: var(--text-color);
}



/* Ensure No Overlapping */
section {
  clear: both;
  position: relative;
  z-index: 1;
}


@media (max-width: 1110px){
  .featured {
    grid-column: span 2;
    height: auto;
  }

}
@media (max-width: 768px) {
  .projects-title {
      font-size: 3em;
      margin-bottom: 50px;
  }

  .view-all-button {
      padding: 15px 40px;
      font-size: 1.5em;
  }

  .project-title {
      font-size: 1.5em;
  }

  .project-categories {
      font-size: 1em;
  }

  .featured {
    grid-column: span 2;
    height: auto;
  }

  .word{
    font-size: 6em;
  }

  .word-2{
    font-size: 38vw;
  }
 


.light-mode nav .nav-links li a {
  color: #fff !important;
}

nav .nav-links li a{
  font-size:0.9em;
}

body.light-mode nav .nav-links li a{
  color: #000 !important;
}

}



/* Responsive Adjustments */
@media (min-width: 768px) {
  /* On larger screens, display nav links horizontally */
  .burger {
    display: none;
  }
  nav {
    justify-content: space-between;
  }
  nav .nav-links {
    opacity: 1;
    top: 70px; /* Position below the burger icon */
    left: 20px;
    transform: translate(0, 0) scale(1);
    position: static;
    flex-direction: row;
    align-items: flex-start;
    background: transparent;
    padding: 0;
  }
  nav .nav-links li {
    margin: 0;
  }
  nav .nav-links li a {
    font-size: 0.9em;
    padding: 5px 10px;
  }
  nav h2 {
    font-size: 0.9em !important;
  }

  


#nav-toggle:checked ~ nav .nav-links {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

}






/* My Process Section */
.my-process-section {
  padding: 100px 20px;
  background-color: var(--background-color);
  color: var(--text-color);
  transition: background-color 0.3s ease, color 0.3s ease;
  position: relative;
  overflow: hidden;
  margin-bottom: 50px;
}



.my-process-section .section-title {
  font-size: 2.5em;
  font-weight: 900;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 5px;
  animation: fadeInDown 1s ease-in-out;
}


.my-process-section .section-subtitle {
  font-size: 1.2em;
  text-align: center;
  margin-bottom: 60px;
  color: var(--text-color);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.process-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}


.process-step {
  background: var(--card-background);
  border-radius: 10px;
  padding: 40px 30px;
  width: 300px; /* Larger width */
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--primary-color); /* Add border */
}


.process-step:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.process-icon {
  font-size: 2.5em;
  color: var(--primary-color);
  margin-bottom: 20px;
  transition: color 0.3s ease;
}

.process-step:hover .process-icon {
  color: #ffffff;
}

.process-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  background: var(--primary-color);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
  border-radius: 10px;
}

.process-step:hover::before {
  opacity: 0.1;
}

.process-title {
  font-size: 1.7em; /* Increased title size */
  margin-bottom: 10px;
  color: var(--text-color);
}

.process-description {
  font-size: 1.1em; /* Increased description size */
  color: var(--text-color);
}

/* Responsive Design */
@media (max-width: 992px) {
  .process-steps {
      justify-content: center;
  }

  .process-step {
    flex: 1 1 30%; /* Three items per row on medium screens */
    max-width: 30%;
    padding: 30px 20px;
  }


  .process-icon {
      font-size: 2em;
      margin-bottom: 15px;
  }

 .process-title {
    font-size: 1.5em;
  }

  .process-description {
    font-size: 1em;
  }
}
@media (max-width: 600px) {
  .my-process-section {
    padding: 80px 20px;
  }

  .process-steps {
    flex-direction: column;
    align-items: center;
  }

  .process-step {
    flex: 1 1 90%; /* One item per row on small screens */
    max-width: 90%;
  }
}

/* Animations */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-50px); }
  to { opacity: 1; transform: translateY(0); }
}  













body.light-mode .form-container {
    background: linear-gradient(#ffffff, #ffffff) padding-box,
                linear-gradient(145deg, transparent 35%, var(--primary-color), #40c9ff) border-box;
    background-color: var(--form-background);
}



body.light-mode .card {
  background: rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(0, 0, 0, 0.2);
}


/* Contact Us Section */
.contact-section {
    padding: 120px 40px;
    background-color: var(--background-color);
    color: var(--text-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.contact-section .section-title {
    font-size: 2.8em;
    font-weight: 900;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 5px;
    animation: fadeInDown 1s ease-in-out;
}

.contact-section .section-subtitle {
    font-size: 1.2em;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-color);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 120px;
    justify-content: center;
}

/* Card Styling */
.card1 {
  position: relative;
  width: 200px;
  height: 250px;
  border-radius: 14px;
  z-index: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* Glassmorphism Effect */
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}


.card1:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}


.card1 .bg {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 190px;
  height: 240px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(24px);
  border-radius: 10px;
  overflow: hidden;
  outline: 2px solid rgba(255, 255, 255, 0.5);
}

body.light-mode .card1 .bg {
  background: rgba(255, 255, 255, 0.3);
  outline: 2px solid rgba(0, 0, 0, 0.5);
}

/* Blob Styling */
.card1 .blob {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background-color: var(--primary-color);
  opacity: 0.6;
  filter: blur(12px);
  animation: blob-bounce 5s infinite ease;
  transform: translate(-50%, -50%);
}


/* Adjust Blob for Light Mode */
body.light-mode .card1 .blob {
  background-color: var(--primary-color);
  opacity: 0.3;
}

/* Card Content Styling */
.card1 .card-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 20px;
  color: var(--text-color);
}

.card1 .card-content h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.card1 .card-content p {
    font-size: 1em;
    color: var(--text-color);
}

.card1 .social-media {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.card1 .social-media a {
    color: var(--text-color);
    font-size: 1.2em;
    transition: color 0.3s ease, transform 0.3s ease;
}

.card1 .social-media a:hover {
    color: var(--primary-color);
    transform: scale(1.2);
}



/* Form Container Styling */
.form-container {
  width: 400px;
  background: linear-gradient(#ffffff14, #ffffff1e) padding-box,
              linear-gradient(145deg, transparent 35%, var(--primary-color), #40c9ff) border-box;
  border: 2px solid transparent;
  padding: 32px 24px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-sizing: border-box;
  border-radius: 16px;
  background-size: 200% 100%;
  animation: gradient 5s ease infinite;
  transition: background 0.3s ease;
  backdrop-filter: blur(10px);
  background-color: var(--form-background) !important;
}

body.light-mode .form-container {
  background: linear-gradient(#ffffff, #ffffffcf) padding-box,
              linear-gradient(145deg, transparent 35%, var(--primary-color), #40c9ff) border-box;
  background-color: var(--form-background);
}  


@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.form-container button:active {
    transform: scale(0.95);
}

.form-container .form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-container .form-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Form Elements Styling */
.form-container .form-group label {
  display: block;
  margin-bottom: 5px;
  color: var(--text-color);
  font-weight: 600;
  font-size: 12px;
}



.form-container .form-group input,
.form-container .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    color: var(--text-color);
    font-family: inherit;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: border-color 0.3s ease, background-color 0.3s ease;
}


body.light-mode .form-container .form-group input,
body.light-mode .form-container .form-group textarea {
    background-color: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.form-container .form-group input::placeholder,
.form-container .form-group textarea::placeholder {
    opacity: 0.5;
    color: var(--text-color);
}

.form-container .form-group input:focus,
.form-container .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.2);
}


/* Submit Button Styling */
.form-container .form-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  font-family: inherit;
  color: var(--text-color);
  font-weight: 600;
  width: 40%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 12px 16px;
  font-size: inherit;
  gap: 8px;
  margin-top: 8px;
  cursor: pointer;
  border-radius: 6px;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}


body.light-mode .form-container .form-submit-btn {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.2);
}



.form-container .form-submit-btn:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #ffffff;
}


.form-container .form-submit-btn:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.form-message {
    margin-top: 10px;
    font-size: 1em;
    color: var(--primary-color);
    text-align: center;
}





/* 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;
}



/* Enhanced Back to Top Button Styling */
.back-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.back-to-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.btn-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, 
    rgba(185, 28, 28, 0.9) 0%, 
    rgba(153, 27, 27, 0.9) 50%, 
    rgba(220, 38, 38, 0.9) 100%);
  backdrop-filter: blur(10px);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  overflow: hidden;
}

body.light-mode .btn-inner {
  background: linear-gradient(135deg, 
    rgba(185, 28, 28, 0.8) 0%, 
    rgba(153, 27, 27, 0.8) 50%, 
    rgba(220, 38, 38, 0.8) 100%);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.glow-ring {
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    #4a90e2,
    #8a2be2,
    #1e90ff,
    #4a90e2
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  animation: rotate 3s linear infinite;
}

.pulse-ring {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border-radius: 50%;
  border: 2px solid rgba(185, 28, 28, 0.3);
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
}

.icon-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.arrow-icon {
  width: 100%;
  height: 100%;
  color: white;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  transition: all 0.3s ease;
}

.tooltip {
  position: absolute;
  bottom: -45px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

body.light-mode .tooltip {
  background: rgba(255, 255, 255, 0.95);
  color: #333;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.tooltip::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 4px solid rgba(0, 0, 0, 0.9);
}

body.light-mode .tooltip::before {
  border-bottom-color: rgba(255, 255, 255, 0.95);
}

/* Hover Effects */
.back-to-top-btn:hover .btn-inner {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.back-to-top-btn:hover .glow-ring {
  opacity: 1;
}

.back-to-top-btn:hover .pulse-ring {
  opacity: 1;
  transform: scale(1.2);
  animation: pulse 1.5s ease-in-out infinite;
}

.back-to-top-btn:hover .icon-container {
  transform: translateY(-2px);
}

.back-to-top-btn:hover .arrow-icon {
  color: #ffffff;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}

.back-to-top-btn:hover .tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-5px);
}

/* Active State */
.back-to-top-btn:active .btn-inner {
  transform: translateY(-1px) scale(0.98);
}

/* Keyframe Animations */
@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1.2);
    opacity: 1;
  }
  50% {
    transform: scale(1.4);
    opacity: 0.5;
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes slideOutDown {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(20px) scale(0.8);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .back-to-top-btn {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }
  
  .icon-container {
    width: 20px;
    height: 20px;
  }
  
  .tooltip {
    font-size: 0.7rem;
    padding: 6px 10px;
  }
}



/* 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,
r {
    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);
  }
}


.view-all a{
   text-decoration:  none;
   font-weight: bolder;

}

.view-all{
  margin-top: 40px;
}




/* Pricing Section */
.pricing-section {
  padding: 80px 0;
  background-color: var(--background-color);
  color: var(--text-color);
}

.pricing-section .section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.pricing-section .section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 60px;
  color: var(--secondary-color);
}

.pricing-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.pricing-card {
  background: var(--card-background);
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  overflow: hidden;
  width: 300px;
  position: relative;
  transition: transform 0.3s;
  border: 1px solid var(--divider-color);
}

.pricing-card:hover {
  transform: translateY(-10px);
}

.pricing-card.popular {
  border: 2px solid var(--primary-color);
}

.most-popular-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--primary-color);
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: bold;
}

.pricing-header {
  background: var(--nav-background);
  color: var(--text-color);
  text-align: center;
  padding: 30px 20px;
}

.plan-title {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.plan-price {
  font-size: 2.5rem;
  margin-bottom: 5px;
  color: var(--primary-color);
}

.plan-duration {
  font-size: 1rem;
  font-weight: 300;
  color: var(--secondary-color);
}

.plan-features {
  list-style: none;
  padding: 20px;
  margin: 0;
}

.plan-features li {
  font-size: 1rem;
  margin: 15px 0;
  display: flex;
  align-items: center;
  color: var(--text-color);
}

.plan-features li i {
  margin-right: 10px;
  color: var(--primary-color);
}

.plan-features li i.fa-times-circle {
  color: var(--divider-color);
}

.plan-button {
  display: block;
  text-align: center;
  background: var(--primary-color);
  color: var(--btn-text-color-dark);
  padding: 15px;
  margin: 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.plan-button:hover {
  background: #fff;
  color: #d10303;

}

body.light-mode .plan-button:hover{
  background-color: #000;
  color: #fff;
}

@media (max-width: 768px) {
  .pricing-container {
      flex-direction: column;
      align-items: center;
  }
  .pricing-card {
      width: 80%;
      max-width: 400px;
  }
}


/* Center the View More Button */
.view-all2 {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.view-more-button2 {
  padding: 12px 30px;
  background-color: var(--primary-color);
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-size: 1em;
  transition: background 0.3s ease, transform 0.2s;
}

.view-more-button2:hover {
  background-color: #fff;
  transform: translateY(-3px);
  color: #d10303;
}

.view-more-button2:active {
  transform: translateY(1px);
}

/* ===== 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;
  }
}
