/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
}
/* ============================================
   ULTRA PREMIUM DESIGN - BLUE/BLACK/GREY THEME
============================================ */

/* === BODY BACKGROUND - ENHANCED WITH PARTICLES === */
body {
    color: #fff;
    background: linear-gradient(135deg, #0a0e27 0%, #0f1419 25%, #1a1f2e 50%, #0d1b2a 75%, #0a0e27 100%) !important;
    background-attachment: fixed !important;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Animated floating orbs - Blue theme */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -20%;
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(0, 188, 212, 0.18), transparent 70%);
    border-radius: 50%;
    animation: floatOrb1 20s ease-in-out infinite;
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    bottom: -30%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(5, 168, 255, 0.15), transparent 70%);
    border-radius: 50%;
    animation: floatOrb2 25s ease-in-out infinite;
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
}

@keyframes floatOrb1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(120px, -100px) rotate(120deg); }
    66% { transform: translate(-100px, 80px) rotate(240deg); }
}

@keyframes floatOrb2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-120px, -120px) scale(1.3); }
}

/* Enhanced Grid Pattern with Blue accents */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background-image: 
        linear-gradient(to right, rgba(0, 188, 212, 0.1) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 188, 212, 0.1) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: -1;
    animation: gridMove 20s linear infinite;
    pointer-events: none;
    opacity: 0.4;
}

@keyframes gridMove {
    from { transform: translate(0, 0); }
    to { transform: translate(-60px, -60px); }
}

/* Subtle scanline effect */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 188, 212, 0.03) 0px,
        transparent 2px,
        transparent 4px
    );
    z-index: -1;
    pointer-events: none;
    animation: scanlines 8s linear infinite;
}

@keyframes scanlines {
    0% { transform: translateY(0); }
    100% { transform: translateY(10px); }
}

/* === GLASSMORPHISM HEADER - ULTRA PREMIUM === */
.header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background: rgba(10, 14, 39, 0.7) !important;
    backdrop-filter: blur(25px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(25px) saturate(180%) !important;
    border-bottom: 1px solid rgba(0, 188, 212, 0.2) !important;
    padding: 1.3rem 3rem !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    z-index: 1000 !important;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.5),
        0 4px 12px rgba(0, 188, 212, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    animation: slideDown 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideDown {
    from {
        transform: translateY(-120%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Scrolled state */
.header.scrolled {
    background: rgba(10, 14, 39, 0.9) !important;
    padding: 1rem 3rem !important;
    box-shadow: 
        0 12px 48px rgba(0, 0, 0, 0.7),
        0 6px 20px rgba(0, 188, 212, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
    border-bottom-color: rgba(0, 188, 212, 0.35) !important;
}

.header:hover {
    background: rgba(10, 14, 39, 0.8) !important;
    border-bottom-color: rgba(0, 188, 212, 0.4) !important;
}

/* Animated gradient border top - Blue theme */
.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent,
        #00bcd4,
        #05A8FF,
        #0ea5e9,
        #00bcd4,
        transparent
    );
    background-size: 200% 100%;
    animation: borderFlow 5s linear infinite;
    opacity: 0.7;
}

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

/* === ULTRA ENHANCED LOGO === */
.logo {
    color: #05A8FF;
    font-size: 2.4rem;
    font-weight: 900;
    text-decoration: none;
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: linear-gradient(135deg, #00bcd4, #05A8FF, #0ea5e9);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
    animation: logoGlow 4s ease-in-out infinite;
    filter: drop-shadow(0 0 15px rgba(0, 188, 212, 0.4));
}

@keyframes logoGlow {
    0%, 100% {
        filter: 
            drop-shadow(0 0 15px rgba(0, 188, 212, 0.4))
            drop-shadow(0 0 30px rgba(5, 168, 255, 0.2));
    }
    50% {
        filter: 
            drop-shadow(0 0 25px rgba(0, 188, 212, 0.6))
            drop-shadow(0 0 40px rgba(5, 168, 255, 0.4));
    }
}

.logo:hover {
    transform: scale(1.08) translateY(-3px);
    filter: 
        drop-shadow(0 0 30px rgba(0, 188, 212, 0.8))
        drop-shadow(0 0 50px rgba(5, 168, 255, 0.5));
    letter-spacing: 3px;
}

/* === ENHANCED NAVBAR === */
.navbar {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    animation: fadeIn 1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar a {
    position: relative;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 1.05rem;
    padding: 0.6rem 0.5rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    letter-spacing: 0.8px;
    display: inline-block;
}

/* Animated underline with gradient - FIXED POSITIONING */
.navbar a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #00bcd4, #05A8FF, #0ea5e9);
    bottom: 3px;
    left: 0.5rem;
    right: 0.5rem;
    margin: 0 auto;
    transition: width 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 3px;
    box-shadow: 0 0 15px rgba(0, 188, 212, 0.6);
}

/* Glow effect on hover */
.navbar a::before {
    content: "";
    position: absolute;
    inset: -10px;
    background: radial-gradient(circle, rgba(0, 188, 212, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 8px;
    z-index: -1;
}

.navbar a:hover::before {
    opacity: 1;
}

.navbar a:hover::after,
.navbar a.active::after {
    width: calc(100% - 1rem);
}

.navbar a:hover,
.navbar a.active {
    color: #00bcd4;
    text-shadow: 
        0 0 20px rgba(0, 188, 212, 0.6),
        0 0 40px rgba(5, 168, 255, 0.3);
    transform: translateY(-3px);
}

/* === ULTRA PREMIUM CONTACT BUTTON === */
.navbar button {
    position: relative;
    padding: 0.85rem 2.2rem;
    border: none;
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.15), rgba(5, 168, 255, 0.15));
    color: #00bcd4;
    border-radius: 50px;
    cursor: pointer;
    overflow: hidden;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 
        0 6px 20px rgba(0, 188, 212, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Animated gradient border */
.navbar button::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 50px;
    padding: 2px;
    background: linear-gradient(135deg, #00bcd4, #05A8FF, #0ea5e9, #00bcd4);
    background-size: 300% 300%;
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: rotateBorder 4s linear infinite;
    z-index: -1;
}

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

/* Shimmer effect */
.navbar button::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: 0.6s;
    z-index: -1;
}

.navbar button:hover::after {
    left: 100%;
}

/* Pulse effect on hover */
.navbar button:hover {
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.3), rgba(5, 168, 255, 0.3));
    color: #fff;
    transform: translateY(-4px) scale(1.08);
    box-shadow: 
        0 12px 35px rgba(0, 188, 212, 0.5),
        0 0 40px rgba(5, 168, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 
            0 12px 35px rgba(0, 188, 212, 0.5),
            0 0 40px rgba(5, 168, 255, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow: 
            0 12px 35px rgba(0, 188, 212, 0.7),
            0 0 60px rgba(5, 168, 255, 0.6),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

.navbar button:active {
    transform: translateY(-2px) scale(1.05);
}

#menu-icon {
    display: none;
}

/* === MOBILE RESPONSIVE === */
@media (max-width: 768px) {
    .header {
        padding: 1.1rem 1.5rem !important;
    }

    .header.scrolled {
        padding: 0.9rem 1.5rem !important;
    }

    .logo {
        font-size: 2rem;
    }

    #menu-icon {
        display: block;
        font-size: 2.2rem;
        color: #00bcd4;
        cursor: pointer;
        z-index: 1001;
        margin-left: auto;
        transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
        filter: drop-shadow(0 0 10px rgba(0, 188, 212, 0.5));
    }

    #menu-icon:hover {
        color: #05A8FF;
        transform: scale(1.15) rotate(90deg);
        filter: drop-shadow(0 0 20px rgba(5, 168, 255, 0.8));
    }

    .navbar {
        display: none;
        position: fixed;
        top: 0;
        right: -100%;
        background: rgba(10, 14, 39, 0.98);
        backdrop-filter: blur(40px);
        width: 300px;
        height: 100vh;
        padding: 6rem 2.5rem 2.5rem;
        flex-direction: column;
        gap: 2.5rem;
        align-items: center;
        z-index: 999;
        transition: right 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
        box-shadow: 
            -15px 0 50px rgba(0, 0, 0, 0.6),
            -5px 0 30px rgba(0, 188, 212, 0.2);
        border-left: 1px solid rgba(0, 188, 212, 0.3);
    }

    .navbar.active {
        display: flex;
        right: 0;
    }

    .navbar a {
        font-size: 1.3rem;
        width: 100%;
        text-align: center;
        padding: 1.2rem;
        border-radius: 12px;
        transition: all 0.3s ease;
    }
    
    .navbar a::after {
        left: 1.2rem;
        right: 1.2rem;
    }
    
    .navbar a:hover::after,
    .navbar a.active::after {
        width: calc(100% - 2.4rem);
    }

    .navbar a:hover {
        background: rgba(0, 188, 212, 0.1);
    }

    .navbar button {
        width: 100%;
        padding: 1.2rem 2.5rem;
        font-size: 1.1rem;
    }
}

/* === ADDITIONAL PREMIUM TOUCHES === */

/* Subtle particle effect */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Page transition effect */
@keyframes pageLoad {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Apply to main content */
main {
    animation: pageLoad 0.8s ease-out;
}

/* Enhanced focus states for accessibility */
.navbar a:focus,
.navbar button:focus {
    outline: 2px solid #00bcd4;
    outline-offset: 4px;
    border-radius: 4px;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(10, 14, 39, 0.8);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #00bcd4, #05A8FF);
    border-radius: 6px;
    border: 2px solid rgba(10, 14, 39, 0.8);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #05A8FF, #0ea5e9);
    box-shadow: 0 0 15px rgba(0, 188, 212, 0.5);
}
.service-card:hover,
.project-card:hover {
  transform: scale(1.03);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.25);
  transition: all 0.3s ease-in-out;
}

/* === Bounce on Social Icons === */
.footer-socials a:hover i,
.social-media a:hover i {
  animation: bounce 0.6s;
  color: #00bcd4;
}

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

/* === CTA Buttons Pulse + Shimmer (Only on .contact-btn and .btn) === */
.contact-btn,
.btn {
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: transform 0.3s ease;
}

.contact-btn:hover,
.btn:hover {
  transform: scale(1.05);
}

.contact-btn::after,
.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 150%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1));
  animation: shimmer 1.8s infinite;
  z-index: -1;
}

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

/* === Exclude shimmer from navbar and Get Now buttons === */
.navbar button span.text,
.service-card button span.text {
  all: unset;
  font-size: 1rem;
  cursor: pointer;
}

body::before,
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background-image: 
        linear-gradient(to right, rgba(5, 168, 255, 0.1) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(5, 168, 255, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
    animation: gridMove 10s linear infinite;
    pointer-events: none;
    opacity: 0.2;
}

body::after {
    animation-direction: reverse;
}

@keyframes gridMove {
    from {
        transform: translate(0, 0);
    }
    to {
        transform: translate(-40px, -40px);
    }
}
.logo {
    color: #05A8FF;
    font-size: 2rem;
    font-weight: bold;
    text-decoration: none;
}

.navbar {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.navbar a {
    position: relative;
    text-decoration: none;
    color: #fff;
    margin: 0 10px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: #00bcd4;
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.navbar a:hover::after,
.navbar a.active::after {
    width: 100%;
}

.navbar a:hover,
.navbar a.active {
    color: #05A8FF;
}

.navbar button {
    position: relative;
    padding: 0.5rem 1.5rem;
    border: 1px solid #05A8FF;
    background: transparent;
    color: #05A8FF;
    border-radius: 5px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s ease;
    z-index: 1;
}

.navbar button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, rgba(5, 168, 255, 0.2), #05A8FF);
    transition: 0.4s;
    z-index: -1;
}

.navbar button:hover::before {
    left: 0;
}

.navbar button:hover {
    background-color: rgba(5, 168, 255, 0.15);
    color: #fff;
    box-shadow: 0 0 10px #05A8FF, 0 0 20px #05A8FF;
    transform: scale(1.08);
}

#menu-icon {
    display: none;
}

/* Home Section */
/* Home Section */
.home {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8rem 10% 2rem;
    min-height: 100vh;
    gap: 3rem;
    background: linear-gradient(135deg, 
        #0a0e1a 0%,
        #151b2d 25%,
        #1a2332 50%,
        #1f2a40 75%,
        #0a0e1a 100%);
    position: relative;
    overflow: hidden;
}

/* Animated gradient orbs for home */
.home::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.15), transparent 70%);
    border-radius: 50%;
    animation: floatHome 10s ease-in-out infinite;
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
}

.home::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 188, 212, 0.12), transparent 70%);
    border-radius: 50%;
    animation: floatHome 12s ease-in-out infinite reverse;
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
}

@keyframes floatHome {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.1); }
}

.home-content {
    flex: 1;
    position: relative;
    z-index: 2;
    animation: fadeInLeft 1s ease-out;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.home-content h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #d1d1d1;
    font-weight: 500;
    margin-bottom: 0.5rem;
    animation: fadeIn 0.8s ease-out 0.2s both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.home-content h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    background: linear-gradient(90deg, #00d4ff, #8a2be2, #00d4ff);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShiftHome 4s ease infinite, fadeIn 0.8s ease-out 0.4s both;
    font-weight: 800;
    margin: 0.8rem 0;
    letter-spacing: 1px;
}

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

.home-content span {
    background: linear-gradient(90deg, #00bfff, #8a2be2);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.home-content p {
    margin: 1.5rem 0;
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    line-height: 1.8;
    color: #d1d1d1;
    animation: fadeIn 0.8s ease-out 0.6s both;
    max-width: 600px;
}

#typewriter {
    border-right: 3px solid #00bfff;
    padding-right: 8px;
    white-space: nowrap;
    font-weight: bold;
    background: linear-gradient(90deg, #00d4ff, #8a2be2);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: blink 0.7s step-end infinite;
    display: inline-block;
}

@keyframes blink {
    50% { border-color: transparent; }
}

/* Social Media Links */
/* Social Media Links */
.social-media {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    animation: fadeIn 0.8s ease-out 0.8s both;
}

.social-media a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

/* Force center all children */
.social-media a > * {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100%;
    height: 100%;
    font-size: 2.5rem;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    position: relative;
    z-index: 2;
}

/* Animated gradient border wrapper */
.social-media a::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, #00bfff, #8a2be2, #00bfff);
    background-size: 200% 200%;
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: borderRotate 3s linear infinite;
}

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

/* Hover glow effect */
.social-media a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: radial-gradient(circle, currentColor 0%, transparent 70%);
    opacity: 0;
    transform: scale(0);
    transition: all 0.4s ease;
    z-index: -2;
}

/* Different colors for each social icon */
.social-media a:nth-child(1) {
    color: #ff6b6b;
}

.social-media a:nth-child(1)::before {
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e, #ff6b6b);
    background-size: 200% 200%;
}

.social-media a:nth-child(2) {
    color: #4ecdc4;
}

.social-media a:nth-child(2)::before {
    background: linear-gradient(45deg, #4ecdc4, #6eddd4, #4ecdc4);
    background-size: 200% 200%;
}

.social-media a:nth-child(3) {
    color: #ffd93d;
}

.social-media a:nth-child(3)::before {
    background: linear-gradient(45deg, #ffd93d, #ffe66d, #ffd93d);
    background-size: 200% 200%;
}

.social-media a:nth-child(4) {
    color: #a29bfe;
}

.social-media a:nth-child(4)::before {
    background: linear-gradient(45deg, #a29bfe, #b9b3ff, #a29bfe);
    background-size: 200% 200%;
}

/* Hover effects */
.social-media a:hover {
    transform: translateY(-8px) scale(1.15) rotate(5deg);
    background: rgba(0, 0, 0, 0.6);
}

.social-media a:hover::before {
    opacity: 1;
}

.social-media a:hover::after {
    opacity: 0.1;
    transform: scale(1.3);
}

.social-media a:nth-child(1):hover {
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
}

.social-media a:nth-child(2):hover {
    box-shadow: 0 8px 20px rgba(78, 205, 196, 0.3);
}

.social-media a:nth-child(3):hover {
    box-shadow: 0 8px 20px rgba(255, 217, 61, 0.3);
}

.social-media a:nth-child(4):hover {
    box-shadow: 0 8px 20px rgba(162, 155, 254, 0.3);
}

/* Active state */
.social-media a:active {
    transform: translateY(-5px) scale(1.1);
}

/* Tablet Responsive */
@media (max-width: 1024px) {
    .social-media a {
        width: 55px;
        height: 55px;
    }
    
    .social-media a > * {
        font-size: 2.2rem;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .social-media {
        justify-content: center;
    }

    .social-media a {
        width: 50px;
        height: 50px;
    }
    
    .social-media a > * {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .social-media a {
        width: 45px;
        height: 45px;
    }
    
    .social-media a > * {
        font-size: 1.8rem;
    }
}
/* Home Image */
.home-img {
    flex: 1;
    text-align: center;
    padding-bottom: 0;
    position: relative;
    z-index: 2;
    animation: fadeInRight 1s ease-out;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.home-img img {
    width: 350px;
    max-width: 100%;
    border: none;
    border-radius: 30px;
    margin-bottom: 0;
    box-shadow: 0 20px 60px rgba(0, 191, 255, 0.3);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    animation: floatImage 6s ease-in-out infinite;
}

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

.home-img img::before {
    content: '';
    position: absolute;
    inset: -5px;
    background: linear-gradient(45deg, #00bfff, #8a2be2, #00bfff, #8a2be2);
    background-size: 300% 300%;
    border-radius: 30px;
    z-index: -1;
    animation: borderGlowImage 4s ease infinite;
    filter: blur(10px);
}

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

.home-img img:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 30px 80px rgba(0, 191, 255, 0.5), 0 0 40px rgba(138, 43, 226, 0.3);
    filter: brightness(1.1);
}

/* Add wrapper for image with gradient border */
.home-img-wrapper {
    position: relative;
    display: inline-block;
    padding: 5px;
    background: linear-gradient(45deg, #00bfff, #8a2be2, #00bfff, #8a2be2);
    background-size: 300% 300%;
    border-radius: 30px;
    animation: borderGlowWrapper 4s ease infinite;
}

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

.home-img-wrapper img {
    display: block;
    border-radius: 28px;
    box-shadow: none;
}

/* Buttons Section */
.btn-group {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    animation: fadeIn 0.8s ease-out 1s both;
}

.btn-home {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: transparent;
    z-index: 1;
}

.btn-home::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn-home:hover::before {
    width: 300%;
    height: 300%;
}

.btn-home-primary {
    color: #00bcd4;
    border-color: #00bcd4;
}

.btn-home-primary::before {
    background: rgba(0, 188, 212, 0.2);
}

.btn-home-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 188, 212, 0.4);
    border-color: #00e5ff;
    color: #00e5ff;
}

.btn-home-secondary {
    color: #8a2be2;
    border-color: #8a2be2;
}

.btn-home-secondary::before {
    background: rgba(138, 43, 226, 0.2);
}

.btn-home-secondary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.4);
    border-color: #a855f7;
    color: #a855f7;
}

.btn-home i {
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

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

/* Tablet Responsive */
@media (max-width: 1024px) {
    .home {
        padding: 7rem 7% 2rem;
        gap: 2rem;
    }

    .home-img img {
        width: 300px;
    }

    .social-media a {
        width: 55px;
        height: 55px;
        font-size: 2.2rem;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .home {
        flex-direction: column;
        padding: 6rem 5% 2rem;
        text-align: center;
        min-height: auto;
    }

    .home-content {
        order: 2;
    }

    .home-img {
        order: 1;
        margin-bottom: 2rem;
    }

    .home-content h3 {
        font-size: 1.5rem;
    }

    .home-content h1 {
        font-size: 2.5rem;
    }

    .home-content p {
        font-size: 1rem;
        max-width: 100%;
    }

    .home-img img {
        width: 280px;
    }

    .social-media {
        justify-content: center;
    }

    .social-media a {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }

    .btn-group {
        justify-content: center;
    }

    .home::before,
    .home::after {
        width: 400px;
        height: 400px;
    }
}

@media (max-width: 480px) {
    .home {
        padding: 5rem 4% 2rem;
    }

    .home-content h1 {
        font-size: 2rem;
    }

    .home-img img {
        width: 250px;
    }

    .btn-group {
        flex-direction: column;
        width: 100%;
    }

    .btn-home {
        width: 100%;
        justify-content: center;
    }

    .social-media a {
        width: 45px;
        height: 45px;
        font-size: 1.8rem;
    }
}

/* Services Section */
.services {
    padding: 4rem 10%;
    background-color: rgba(5, 168, 255, 0.03);
}

.services h2 {
    font-size: 2.5rem;
    text-align: center;
    color: #05A8FF;
    margin-bottom: 3rem;
    position: relative;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: #0d0d0d;
    padding: 2rem;
    border: 1px solid #00bfff;
    border-radius: 12px;
    text-align: center;
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card i {
    font-size: 3rem;
    color: #05A8FF;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.service-card p {
    font-size: 0.95rem;
    color: #ccc;
}

.service-card button {
    margin-top: 2rem;
    align-self: center;
    padding: 0.5rem 1.2rem;
    border: 1px solid #05A8FF;
    background: transparent;
    color: #05A8FF;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    font-weight: 500;
    z-index: 1;
    transition: all 0.3s ease;
}

.service-card button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, rgba(5, 168, 255, 0.2), #05A8FF);
    z-index: -1;
    transition: 0.4s ease;
}

.service-card button:hover::before {
    left: 0;
}

.service-card button:hover {
    background-color: rgba(5, 168, 255, 0.1);
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 0 10px #05A8FF, 0 0 20px #05A8FF;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 0 15px #05A8FF;
    background-color: rgba(5, 168, 255, 0.05);
}

body {
  font-family: Arial, sans-serif;
  background: #111;
  margin: 0;
  padding: 0;
  color: #fff;
}

.heading {
  text-align: center; 
  font-size: 3.5rem; 
  margin-bottom: 3rem; 
  font-weight: 700;
  position: relative;
  display: inline-block;
  width: 100%;
  background: linear-gradient(90deg, #00d4ff, #0099ff, #00d4ff, #0099ff);
  background-size: 200% auto;
  background-clip: text; 
  -webkit-background-clip: text; 
  -webkit-text-fill-color: transparent;
  animation: gradientShift 3s ease infinite;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Remove ::before and ::after completely */

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

/* Project Card Styling */
.project-card {
  width: 320px;  /* Set width to make sure they stay centered */
  height: 420px;
  perspective: 1000px;
  display: flex;
  justify-content: center;  /* Align items in the center */
  align-items: center;
}

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

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

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  backface-visibility: hidden;
  overflow: hidden;
}

/* FRONT SIDE (Glass Effect) */
.card-front {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 170, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  transition: transform 0.5s ease;
}
.project-card:hover .card-front img {
  transform: scale(1.08);
}

/* BACK SIDE */
.card-back {
  background: rgba(20, 20, 20, 0.9);
  transform: rotateY(180deg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
}

.card-back h3 {
  margin-bottom: 1rem;
  color: #00aaff;
}

.card-back p {
  flex-grow: 1;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  color: #ddd;
  overflow: auto;
}

/* Mobile View Fix */
@media (max-width: 768px) {
  .projects-container {
    grid-template-columns: 1fr 1fr; /* Adjust grid for mobile */
  }

  .project-card {
    width: 90%;  /* Make the cards smaller on mobile */
    max-width: 350px; /* Set max width for better look */
  }
}

.btn {
  display: inline-block;
  padding: 12px 20px;
  background: #00aaff;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s, transform 0.2s;
  min-height: 45px; /* ensures all buttons have same height */
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn:hover {
  background: #0088cc;
  transform: scale(1.05);
}

html, body {
    overflow-x: hidden;  /* Prevent horizontal overflow */
}

* {
    max-width: 100%;  /* Prevent any element from exceeding the screen width */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

body {
    color: #fff;
    background-color: #000;
}

/* Ensure images are fully responsive */
img, .home-img img, .about-img img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto; /* Ensure images are centered */
}

/* Ensure service card layout */
.service-card {
    width: 100%;
    max-width: 100%;
}

/* Section adjustments for mobile */
/* Section adjustments for mobile */
@media (max-width: 768px) {
    .home, .about, .services, .projects-container {
        width: 100%;  /* Ensure sections are full width on mobile */
        padding: 0 20px;  /* Add padding to avoid overflow on both sides */
    }

    .project-card {
        width: 100%;  /* Project cards should take up full width */
        max-width: 100%;
        margin-bottom: 20px; /* Add space between cards */
        padding: 0 20px;  /* Add padding on the left and right of the project card */
        display: flex;
        justify-content: center; /* Center the content */
        box-sizing: border-box;  /* Ensure padding does not affect the width */
    }

    .service-card {
        width: 100%;
        max-width: 100%;
        padding: 0 20px; /* Add padding on the left and right of service cards */
    }

    .projects-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center; /* Center all the project cards */
        gap: 20px;  /* Space between cards */
    }

    /* Center images inside the project cards */
    .project-card img {
        width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
    }

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

    #menu-icon {
        display: block;
        font-size: 2rem;
        color: #fff;
        cursor: pointer;
    }
}


/* Modal Content */
.modal-content {
    background: rgba(20, 20, 20, 0.95);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(5, 168, 255, 0.6);
    max-width: 950px;
    max-height: 90vh;   /* limit height to viewport */
    width: 100%;
    color: #f1f1f1;
    position: relative;
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
    animation: slideUp 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    overflow-y: auto;   /* enable scrolling if text overflows */
}
/* Headings */
.modal-content h3 {
    color: #05A8FF;
    font-size: 2.2rem;   /* increased size */
    text-align: center;
    font-weight: 700;
    margin: 0;
    margin-bottom: 1rem;
}

/* Description */
.modal-content p {
    margin-top: 1rem;
    line-height: 1.7;
    color: #ccc;
    text-align: center;
    max-width: 750px;
    white-space: normal; /* ensure text wraps */
    word-break: break-word; /* avoid long words breaking layout */
}

/* Image Container */
.modal-images {
    display: flex;
    justify-content: center;  /* center horizontally */
    flex-wrap: wrap;          /* wrap for multiple images */
    gap: 1.5rem;
    max-height: none;
    overflow-y: visible;
    padding: 10px;
}

/* Images */
.modal-images img {
    width: 340px;   /* bigger images */
    height: auto;
    border-radius: 14px;
    object-fit: contain;
    border: 1px solid #05A8FF;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.modal-images img:hover {
    transform: scale(1.07);
    box-shadow: 0 8px 20px rgba(5, 168, 255, 0.6);
}

/* Close Button */
.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
}
.modal-close:hover {
    color: #05A8FF;
    transform: rotate(90deg) scale(1.2);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideUp {
    from { transform: translateY(40px) scale(0.95); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

/* Close Button */
.modal-close {
    position: absolute;
    top: 15px;
    right: 20px; /* moved to right for cleaner UI */
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
}
.modal-close:hover {
    color: #05A8FF;
    transform: rotate(90deg) scale(1.2);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(40px) scale(0.95); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}


/* Enlarged Image Overlay */
.image-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    flex-direction: column;
}

.image-overlay img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 12px;
    box-shadow: 0 0 20px #05A8FF;
    border: 2px solid #05A8FF;
    transition: transform 0.3s ease;
    pointer-events: none; /* Prevent image from blocking buttons */
    z-index: 1;
}

.image-overlay-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1rem;
    z-index: 2;
    position: relative;
}

.image-overlay-controls button {
    background: #05A8FF;
    color: #000;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease;
}

.image-overlay-controls button:hover {
    background: #0395df;
    transform: scale(1.05);
}

.quote-section {
    position: relative;
    background: linear-gradient(135deg, #000000, #1e1e1e);
    padding: 5rem 2rem 8rem;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.quote-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #fffdfd;
}

.quote-section h2 span {
    color: #00bcd4;
    font-weight: 700;
}

.quote-section .contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.6rem;
    background: #00bcd4;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.3s ease;
}

.quote-section .contact-btn:hover {
    background: #0097a7;
}

.quote-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: auto;
    animation: waveScroll 6s linear infinite; /* Increased speed */
    opacity: 0.2;
    z-index: 0;
    pointer-events: none;
}

@keyframes waveScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Waves Base Style */
.wave-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 120px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 320" xmlns="http://www.w3.org/2000/svg"><path fill="%2300bcd4" fill-opacity="1" d="M0,96L40,106.7C80,117,160,139,240,144C320,149,400,139,480,133.3C560,128,640,128,720,117.3C800,107,880,85,960,90.7C1040,96,1120,128,1200,149.3C1280,171,1360,181,1400,186.7L1440,192L1440,320L1400,320C1360,320,1280,320,1200,320C1120,320,1040,320,960,320C880,320,800,320,720,320C640,320,560,320,480,320C400,320,320,320,240,320C160,320,80,320,40,320L0,320Z"/></svg>') repeat-x;
    background-size: contain;
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

.wave1 {
    animation: waveScroll 6s linear infinite;
    z-index: 1;
    bottom: 0;
    opacity: 0.2;
}

.wave2 {
    animation: waveScrollReverse 9s linear infinite;
    z-index: 2;
    bottom: 10px;
    opacity: 0.12;
}

.wave3 {
    animation: waveScroll 12s linear infinite;
    z-index: 3;
    bottom: 20px;
    opacity: 0.08;
}

/* Contact Form Section */
.contact-form-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6rem 10%;
    min-height: 100vh;
    background: linear-gradient(135deg, 
        #0a0e1a 0%,
        #151b2d 25%,
        #1a2332 50%,
        #1f2a40 75%,
        #0a0e1a 100%);
    position: relative;
    overflow: hidden;
}

/* Animated gradient orbs for contact section */
.contact-form-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.15), transparent 70%);
    border-radius: 50%;
    animation: floatContact 10s ease-in-out infinite;
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
}

.contact-form-section::after {
    content: '';
    position: absolute;
    bottom: -15%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 188, 212, 0.12), transparent 70%);
    border-radius: 50%;
    animation: floatContact 12s ease-in-out infinite reverse;
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
}

@keyframes floatContact {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 30px) scale(1.1); }
}

/* Contact Form Container */
.contact-form-container {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    padding: 3rem 2.5rem;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 191, 255, 0.2);
    text-align: center;
    width: 100%;
    max-width: 550px;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(0, 191, 255, 0.2);
    animation: fadeInUp 1s ease-out;
}

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

/* Heading */
.contact-form-container h2 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #00d4ff, #8a2be2);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeIn 0.8s ease-out 0.2s both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Subheading */
.contact-form-container p {
    font-size: 1.1rem;
    color: #d1d1d1;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    animation: fadeIn 0.8s ease-out 0.4s both;
}

/* Contact Buttons Container */
.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: fadeIn 0.8s ease-out 0.6s both;
}

/* General Button Style */
.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 0.9rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    border: 2px solid;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contact-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.contact-btn:hover::before {
    width: 300%;
    height: 300%;
}

.contact-btn i {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.contact-btn:hover i {
    transform: scale(1.2) rotate(5deg);
}

/* WhatsApp Button */
.contact-btn.whatsapp {
    color: #25D366;
    border-color: #25D366;
    background: transparent;
}

.contact-btn.whatsapp::before {
    background: rgba(37, 211, 102, 0.2);
}

.contact-btn.whatsapp:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    border-color: #2eeb75;
    color: #2eeb75;
}

/* Email Button */
.contact-btn.email {
    color: #00bcd4;
    border-color: #00bcd4;
    background: transparent;
}

.contact-btn.email::before {
    background: rgba(0, 188, 212, 0.2);
}

.contact-btn.email:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 188, 212, 0.4);
    border-color: #00e5ff;
    color: #00e5ff;
}

/* Active state */
.contact-btn:active {
    transform: translateY(-2px) scale(0.98);
}

/* Tablet Responsive */
@media (max-width: 1024px) {
    .contact-form-section {
        padding: 5rem 7%;
    }

    .contact-form-container {
        max-width: 500px;
        padding: 2.5rem 2rem;
    }

    .contact-form-container h2 {
        font-size: 2.2rem;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .contact-form-section {
        padding: 4rem 5%;
        min-height: auto;
    }

    .contact-form-container {
        width: 100%;
        max-width: 100%;
        padding: 2rem 1.5rem;
    }

    .contact-form-container h2 {
        font-size: 2rem;
    }

    .contact-form-container p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .contact-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-btn.whatsapp, 
    .contact-btn.email {
        width: 100%;
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }

    .contact-btn i {
        font-size: 1.5rem;
    }

    .contact-form-section::before,
    .contact-form-section::after {
        width: 400px;
        height: 400px;
    }
}

/* Small Mobile Responsive */
@media (max-width: 480px) {
    .contact-form-section {
        padding: 3rem 4%;
    }

    .contact-form-container {
        padding: 1.5rem 1rem;
        border-radius: 20px;
    }

    .contact-form-container h2 {
        font-size: 1.8rem;
    }

    .contact-form-container p {
        font-size: 0.95rem;
    }

    .contact-btn.whatsapp, 
    .contact-btn.email {
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }

    .contact-btn i {
        font-size: 1.3rem;
    }
}

/* Footer Section */
footer {
    background: #111;
    color: #bbb;
    padding: 3rem 0;
    text-align: center;
}

footer p {
    font-size: 1rem;
    color: #bbb;
}

footer .footer-container {
    display: flex;
    justify-content: center;
    gap: 3rem;
    text-align: center;
    flex-wrap: wrap;
}

footer .footer-left {
    flex: 1;
    color: #fff;
}

footer .footer-left h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

footer .footer-left p {
    font-size: 1rem;
}

footer .footer-socials {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

footer .footer-socials a {
    color: #bbb;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

footer .footer-socials a:hover {
    color: #00bcd4;
}

/* Footer Bottom */
footer .footer-bottom {
    margin-top: 3rem;
    font-size: 0.9rem;
    color: #888;
}

/* Mobile Styling */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: center;
    }

    .contact-form-section {
        padding: 4rem 5%;
    }

    .contact-form-container {
        padding: 2rem;
        width: 100%;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}

@keyframes waveScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@keyframes waveScrollReverse {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(50%);
    }
}

/* Footer Styles */
.footer {
  background: linear-gradient(to right, #0a0a0a, #111);
  color: #ccc;
  padding: 50px 20px 20px;
  font-size: 14px;
  position: relative;
  z-index: 5;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-left h3 {
  font-size: 26px;
  color: #fff;
  margin-bottom: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-left p {
  line-height: 1.8;
  font-size: 15px;
  color: #bbb;
  max-width: 550px;
  margin: 0 auto;
}

.footer-socials {
  margin-top: 20px;
}

.footer-socials a {
  display: inline-block;
  margin: 0 10px;
  color: #bbb;
  background-color: #1a1a1a;
  padding: 10px;
  border-radius: 50%;
  transition: all 0.3s ease;
  font-size: 18px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.footer-socials a:hover {
  color: #fff;
  background-color: #00bcd4;
  transform: translateY(-4px);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #222;
  margin-top: 40px;
  padding-top: 20px;
  font-size: 13px;
  color: #888;
  letter-spacing: 0.5px;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #00bcd4;
  color: #fff;
  padding: 10px 12px;
  border-radius: 50%;
  font-size: 22px;
  text-align: center;
  cursor: pointer;
  z-index: 999;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(0,188,212,0.4);
}

.back-to-top:hover {
  background-color: #00a3bb;
  box-shadow: 0 0 14px rgba(0,188,212,0.6);
}
/* Section styling */
/* General styles for the certifications section */
.certifications-highlight {
    position: relative;
    padding: 7rem 0 6rem 0;
    background: linear-gradient(120deg, #00aaff 0%, #0044ff 100%);
    overflow: hidden;
    z-index: 2;
}

.certifications-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 60% 40%, rgba(255,255,255,0.12) 0%, rgba(0,170,255,0.08) 60%, transparent 100%), url('img1.png') center/cover no-repeat;
    opacity: 0.18;
    z-index: 1;
    pointer-events: none;
    filter: blur(8px);
}

/* Content Styling */
.certifications-content {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
    padding: 2rem 2.5rem 3rem 2.5rem;
    border-radius: 24px;
    background: rgba(255,255,255,0.08);
    box-shadow: 0 8px 48px 0 rgba(0,170,255,0.18);
    backdrop-filter: blur(6px);
    animation: certFadeIn 1.2s cubic-bezier(.4,2,.6,1);
}

/* Title Animation */
.certifications-title {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 1.2rem;
    color: #ffe066;
    text-shadow: 0 0 24px #00aaff;
    animation: certTitlePulse 2.5s infinite alternate;
}

@keyframes certTitlePulse {
    0% { text-shadow: 0 0 24px #00aaff; }
    100% { text-shadow: 0 0 48px #fff, 0 0 24px #00aaff; }
}

.certifications-desc {
    font-size: 1.25rem;
    color: #e0eaff;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    animation: certDescFade 1.6s cubic-bezier(.4,2,.6,1);
}

/* Gallery Layout */
.certifications-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    justify-content: center;
    align-items: stretch;
    margin-top: 1.5rem;
}

/* Individual Certificate Cards */
.certification-card {
    background: rgba(255,255,255,0.13);
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,170,255,0.18);
    padding: 2.2rem 1.5rem 1.5rem 1.5rem;
    min-width: 220px;
    max-width: 320px;
    flex: 1 1 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.35s cubic-bezier(.4,2,.6,1), box-shadow 0.35s;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.certification-card:hover {
    transform: translateY(-12px) scale(1.08) rotate(-2deg);
    box-shadow: 0 16px 64px rgba(0,170,255,0.32);
    background: rgba(255,255,255,0.22);
}

.certification-card img {
    width: 100%;
    max-width: 180px;
    border-radius: 12px;
    margin-bottom: 1.2rem;
    box-shadow: 0 2px 12px rgba(0,170,255,0.18);
    transition: transform 0.3s cubic-bezier(.4,2,.6,1), box-shadow 0.3s, filter 0.3s;
    cursor: pointer;
    filter: drop-shadow(0 0 12px #00aaff);
}

.certification-card img:hover {
    transform: scale(1.15) rotate(-2deg);
    box-shadow: 0 12px 48px rgba(0,170,255,0.32);
    filter: drop-shadow(0 0 32px #00aaff);
}

.certification-card h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    margin-top: 0.5rem;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0,170,255,0.12);
}

/* Full-Screen Overlay */
.cert-enlarge-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.93);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10002;
    animation: certEnlargeFade 0.3s;
}

@keyframes certEnlargeFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.cert-enlarge-overlay img {
    max-width: 60vw;
    max-height: 80vh;
    border-radius: 18px;
    box-shadow: 0 8px 48px #00aaff;
    background: rgba(255,255,255,0.08);
}

.cert-enlarge-close {
    position: absolute;
    top: 32px;
    right: 48px;
    font-size: 2.5rem;
    color: #ffe066;
    background: rgba(0,0,0,0.18);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 0 16px #ffe066;
    transition: background 0.2s;
}

.cert-enlarge-close:hover {
    background: rgba(255,224,102,0.18);
    color: #fff;
}


/* Responsive Design */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar {
        flex-direction: column;
        gap: 1rem;
    }

    #menu-icon {
        display: block;
        font-size: 2rem;
        color: #fff;
    }

    .home {
        flex-direction: column;
        text-align: center;
        padding: 6rem 5% 2rem;
    }

    .about {
        flex-direction: column;
        padding: 2rem 5%;
    }

    .home-img img,
    .about img {
        width: 200px;
    }

    .services-container,
    .projects-container {
        grid-template-columns: 1fr;
    }

    .modal-content {
        padding: 1rem;
    }

    .modal-images img {
        width: 80px;
        height: 130px;
    }
}

/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
}

body {
    color: #fff;
    background-color: #000;
    position: relative;
    z-index: 0;
}

/* === Bounce on Social Icons === */
.footer-socials a:hover i,
.social-media a:hover i {
  animation: bounce 0.6s;
  color: #00bcd4;
}

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

/* === CTA Buttons Pulse + Shimmer === */
.contact-btn,
.btn {
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: transform 0.3s ease;
}

.contact-btn:hover,
.btn:hover {
  transform: scale(1.05);
}

.contact-btn::after,
.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 150%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1));
  animation: shimmer 1.8s infinite;
  z-index: -1;
}

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

/* Navbar Styles */
.navbar {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.navbar a {
    text-decoration: none;
    color: #fff;
    margin: 0 10px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar button {
    padding: 0.5rem 1.5rem;
    border: 1px solid #05A8FF;
    background: transparent;
    color: #05A8FF;
    border-radius: 5px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s ease;
}

#menu-icon {
    display: none;
}

/* Home Section */
.home {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8rem 10% 2rem;
    min-height: 100vh;
    gap: 2rem;
}

.home-content h1 {
    font-size: 3rem;
    color: #05A8FF;
}

.home-content p {
    margin: 1rem 0;
    font-size: 1rem;
    line-height: 1.6;
}

.home-img img {
    width: 300px;
    border: 5px solid #05A8FF;
    border-radius: 20px;
    margin-bottom: 0;
}

/* About Section - Modern Redesign with Premium Gradient */
.about {
  padding: 6rem 10%;
  background: linear-gradient(135deg, 
    #FF6B6B 0%,      /* Vibrant Red */
    #FF8E53 25%,     /* Orange */
    #FFA502 50%,     /* Golden Orange */
    #FFD32E 75%,     /* Yellow */
    #FF6B6B 100%);   /* Back to Red */
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

/* Alternative gradient options to choose from: */
/* Option 1 - Vibrant Tech Gradient */
.about.vibrant {
  background: linear-gradient(135deg, 
    #1e3c72 0%,
    #2a5298 25%,
    #7e8ba3 50%,
    #ff6b6b 75%,
    #1e3c72 100%);
}

/* Option 2 - Cosmic Purple */
.about.cosmic {
  background: linear-gradient(135deg,
    #667eea 0%,
    #764ba2 25%,
    #f093fb 50%,
    #4facfe 75%,
    #667eea 100%);
}

/* Option 3 - Ocean Deep */
.about.ocean {
  background: linear-gradient(135deg,
    #0093E9 0%,
    #80D0C7 50%,
    #0093E9 100%);
}

/* Animated gradient orbs */
.about::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 188, 212, 0.15), transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
  filter: blur(40px);
}

.about::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(5, 168, 255, 0.12), transparent 70%);
  border-radius: 50%;
  animation: float 10s ease-in-out infinite reverse;
  filter: blur(40px);
}

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

.about-header {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.about-subtitle {
  font-size: 1.3rem;
  color: #00bcd4;
  margin-top: 0.5rem;
  font-weight: 500;
  text-shadow: 0 0 10px rgba(0, 188, 212, 0.3);
}

.about-main-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2rem;
  align-items: start;
  position: relative;
  z-index: 2;
}

/* Left Side - Image & Stats */
.about-left {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-img-wrapper {
  position: relative;
  width: 100%;
  max-width: 350px;
  height: 420px;
  margin: 0 auto;
  background-color: #0d0d0d;
  border-radius: 20px;
  padding: 15px;
  box-shadow: 0 0 20px rgba(0, 191, 255, 0.1);
  overflow: hidden;
  border: 1px solid #00bfff;
}

/* Simple animated border gradient */
.about-img-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 20px;
  padding: 3px;
  background: linear-gradient(45deg, 
    #00bcd4, 
    #05A8FF, 
    #00bcd4, 
    #05A8FF);
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: borderGradient 4s ease infinite;
  z-index: 1;
}

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

.about-img-wrapper img {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  object-fit: cover;
  object-position: center;
  position: relative;
  z-index: 2;
  transition: all 0.4s ease;
  border: 3px solid rgba(0, 188, 212, 0.3);
  animation: imageGlow 3s ease-in-out infinite;
}

@keyframes imageGlow {
  0%, 100% { 
    box-shadow: 0 0 20px rgba(0, 188, 212, 0.4),
                0 0 40px rgba(83, 52, 131, 0.2);
  }
  50% { 
    box-shadow: 0 0 35px rgba(0, 188, 212, 0.6),
                0 0 70px rgba(83, 52, 131, 0.3);
  }
}

.about-img-wrapper:hover img {
  transform: scale(1.03) rotate(1deg);
  border-color: #00bcd4;
  box-shadow: 0 12px 40px rgba(0, 188, 212, 0.8),
              0 0 60px rgba(83, 52, 131, 0.4);
  filter: brightness(1.15) contrast(1.2) drop-shadow(0 0 15px rgba(0, 188, 212, 0.6));
}

.img-overlay {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 100%;
  height: 100%;
  border: 2px solid rgba(0, 188, 212, 0.6);
  border-radius: 20px;
  z-index: 1;
  transition: all 0.4s ease;
  background: linear-gradient(135deg, transparent, rgba(0, 188, 212, 0.08));
  animation: overlayPulse 3s ease-in-out infinite;
}

@keyframes overlayPulse {
  0%, 100% { 
    opacity: 0.5;
    transform: translate(-8px, -8px);
  }
  50% { 
    opacity: 0.9;
    transform: translate(-12px, -12px);
  }
}

.about-img-wrapper:hover .img-overlay {
  top: -12px;
  right: -12px;
  box-shadow: 0 0 40px rgba(0, 188, 212, 0.5);
  opacity: 1;
}

/* Stats Cards */
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stat-card {
  background: rgba(0, 188, 212, 0.08);
  border: 1px solid rgba(0, 188, 212, 0.3);
  border-radius: 15px;
  padding: 1.5rem 1rem;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(15px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.stat-card:hover {
  background: rgba(0, 188, 212, 0.15);
  border-color: rgba(0, 188, 212, 0.6);
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 188, 212, 0.3);
}

.stat-icon {
  font-size: 2rem;
  color: #00bcd4;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 10px rgba(0, 188, 212, 0.5);
}

.stat-info h4 {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.3rem;
}

.stat-info p {
  font-size: 0.85rem;
  color: #bbb;
  line-height: 1.3;
}

/* Right Side - Content */
.about-right {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.about-description p {
  color: #d1d1d1;
  line-height: 1.9;
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
}

.about-description strong {
  color: #00bcd4;
  font-weight: 600;
}

/* Skills Section */
.skills-section h3 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.skills-section h3 i {
  color: #00bcd4;
  font-size: 1.8rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.skill-item {
  background: rgba(0, 188, 212, 0.08);
  border: 1px solid rgba(0, 188, 212, 0.3);
  border-radius: 12px;
  padding: 1.2rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.skill-item:hover {
  background: rgba(0, 188, 212, 0.2);
  border-color: #00bcd4;
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 188, 212, 0.4);
}

.skill-item i {
  font-size: 2.5rem;
  color: #00bcd4;
  margin-bottom: 0.8rem;
  display: block;
  transition: transform 0.3s ease;
}

.skill-item:hover i {
  transform: scale(1.2) rotate(10deg);
}

.skill-item span {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
}

/* CTA Buttons */
.about-cta {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: 0.5s;
  z-index: 0;
}

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

.btn-primary {
  background: linear-gradient(135deg, #0077b5, #00a0dc);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 119, 181, 0.2);
  position: relative;
  z-index: 1;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 119, 181, 0.3);
}

.btn-secondary {
  background: linear-gradient(135deg, #0077b5, #00a0dc);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 119, 181, 0.2);
  position: relative;
  z-index: 1;
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 119, 181, 0.3);
}

.btn i {
  font-size: 1.5rem;
  position: relative;
  z-index: 1;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .about {
    padding: 2rem 5%;
    background: linear-gradient(135deg, 
      #FF6B6B 0%,
      #FF8E53 25%,
      #FFA502 50%,
      #FFD32E 75%,
      #FF6B6B 100%);
    background-attachment: fixed;
  }

  .about-main-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .about-img-wrapper {
    max-width: 300px;
    height: 350px;
  }
  
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 100%;
    margin: 0 auto;
  }

  .about-stats .stat-card:nth-child(3) {
    grid-column: 1 / -1;
    max-width: 48%;
    margin: 0 auto;
  }
  
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .about-cta {
    flex-direction: column;
    gap: 1rem;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
    padding: 0.8rem 1.5rem;
  }

  .about-header {
    margin-bottom: 1.5rem;
  }

  .about-subtitle {
    font-size: 1rem;
  }

  .about-description p {
    font-size: 0.95rem;
  }

  .skills-section h3 {
    font-size: 1.2rem;
  }

  .skill-item {
    padding: 1rem;
  }

  .skill-item i {
    font-size: 2rem;
  }
}

/* Services Section */
.services {
    padding: 4rem 10%;
    background-color: rgba(5, 168, 255, 0.03);
}

.services h2 {
    font-size: 2.5rem;
    text-align: center;
    color: #05A8FF;
    margin-bottom: 3rem;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: #0d0d0d;
    padding: 2rem;
    border: 1px solid #00bfff;
    border-radius: 12px;
    text-align: center;
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 0 15px #05A8FF;
}

.service-card i {
    font-size: 3rem;
    color: #05A8FF;
    margin-bottom: 1rem;
}

/* Projects Section */
.projects-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);  /* 3 cards per row */
    gap: 2rem;
    padding: 2rem;
}

.project-card {
    width: 420px; /* Ensure cards take full width of each grid column */
    height: 480px;
}

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

.card-front {
    background: rgba(0, 170, 255, 0.15);
}

.card-back {
    background: rgba(20, 20, 20, 0.9);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

.card-back h3 {
    margin-bottom: 1rem;
    color: #00aaff;
}


/* Modal */
.project-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.project-modal.active {
    display: flex;
}

/* Contact Form Section */
.contact-form-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6rem 10%;
    min-height: 100vh;
    background: #0d7377;
}

.contact-form-container {
    background: rgba(0, 0, 0, 0.7);
    padding: 2rem 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 255, 255, 0.2);
    text-align: center;
    width: 100%;
    max-width: 600px;
}

/* Footer Section */
footer {
    background: #111;
    color: #bbb;
    padding: 3rem 0;
    text-align: center;
}

footer p {
    font-size: 1rem;
    color: #bbb;
}

footer .footer-container {
    display: flex;
    justify-content: center;
    gap: 3rem;
    text-align: center;
    flex-wrap: wrap;
}

/* Mobile Styling */
@media (max-width: 768px) {
    /* Navbar Styles */
    .navbar {
        display: none;  /* Initially hide the navbar */
        position: absolute;
        top: 100%;
        left: 0;
        background: #111;
        width: 100%;
        padding: 1rem;
        z-index: 100;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .navbar.active {
        display: flex; /* Show navbar when active */
    }

    /* Navbar links */
    .navbar a {
        color: #fff;
        text-decoration: none;
        padding: 0.8rem 2rem; /* Adjust button padding for mobile */
        font-size: 1.2rem;
        width: 100%; /* Ensure buttons take full width */
        text-align: center;
        transition: background 0.3s;
    }

    .navbar a:hover {
        background: #00bcd4;
    }

    /* Display the menu icon (hamburger) on mobile */
    .menu-icon {
        display: block;
        position: absolute;
        top: 1rem;
        right: 1.5rem;
        font-size: 2rem;
        z-index: 101; /* Make sure it stays on top */
        cursor: pointer;
    }

    /* Header layout on mobile */
    .header {
        position: relative;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 1rem 2rem;
        background: #111;
        z-index: 100;
    }

    /* Logo adjustment for mobile */
    .logo {
        font-size: 2rem;
        font-weight: bold;
        color: #05A8FF;
        text-decoration: none;
        margin-top: 1.5rem;
    }

    /* Ensure the title stays centered */
    .home {
        flex-direction: column;
        text-align: center;
        padding: 6rem 5% 2rem;
    }

    /* Adjust about section for mobile */
    .about {
        flex-direction: column;
        padding: 2rem 5%;
    }

    /* Adjust the services and projects container for mobile */
    .services-container,
    .projects-container {
        grid-template-columns: 1fr;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .contact-form-container {
        padding: 2rem;
        width: 100%;
    }

    .social-media a {
        font-size: 2rem;
    }

    /* Ensure buttons have the right width */
    .contact-btn {
        width: 100%; /* Full width for buttons on mobile */
        text-align: center;
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .contact-btn i {
        margin-right: 0.5rem;
    }
}

/* Default Navbar Styling */
/* Hide the navbar links on larger screens */
.header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: #111;
    z-index: 100;
}

.logo {
    color: #05A8FF;
    font-size: 2rem;
    font-weight: bold;
    text-decoration: none;
    z-index: 100; /* Ensure the logo stays on top */
}

/* Navbar Styling */
.navbar {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
/* Container for the letter */
.letter-container {
    background-color: #fff;
    width: 80%;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 20px auto;
    transform: translateY(30px); /* Initial position */
    animation: fadeInUp 1s ease-in-out forwards, popIn 1s ease-out 0.5s; /* Adjusted to ensure visibility */
    opacity: 1;  /* Ensure opacity is 1 initially */
    transition: transform 0.3s ease; /* Smooth transition on hover */
}

/* Letter Heading */
h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
    animation: fadeIn 1.2s ease-in-out 0.5s forwards, slideInFromLeft 1s ease-out 1s; /* Animation with ease-in-out */
}

/* Letter Image Container */
.letter-image-container {
    text-align: center;
    margin-top: 20px;
    animation: fadeIn 1.2s ease-in-out 0.8s forwards, bounceIn 1s ease-out 1.2s; /* Animation for the image container */
}

/* Letter Image */
.letter-image {
    width: 100%;
    max-width: 430px;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.letter-image:hover {
    transform: scale(1.05); /* Slight zoom effect on hover */
    box-shadow: 0 4px 20px rgba(0, 188, 212, 0.5); /* Shadow effect on hover */
}

/* Hover effect for the container */
.letter-container:hover {
    transform: scale(1.02); /* Slight scale effect when hovering over the letter container */
}

/* For responsive view */
@media (max-width: 768px) {
    .letter-container {
        width: 90%;
    }

    h2 {
        font-size: 1.5rem;
    }

    .letter-image {
        width: 90%;
    }
}

/* Keyframe Animations */

/* Fade in effect */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Fade in + Slide-up effect */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slide-in from the left */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Pop-in effect for letter container */
@keyframes popIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Bounce effect for image container */
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    50% {
        opacity: 1;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Mobile View */
@media (max-width: 768px) {
    /* Navbar hidden initially on mobile */
    .navbar {
        display: none;  /* Hide navbar links initially */
        position: absolute;
        top: 0;
        right: 0; /* Position navbar on the right */
        background: #111;
        width: 250px; /* Set the width for the navbar */
        height: 100vh; /* Full height of the screen */
        padding: 2rem;
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
        z-index: 100;
        transition: all 0.3s ease;
    }

    /* Show navbar when active (toggled) */
    .navbar.active {
        display: flex;
    }

    /* Show the hamburger menu next to the logo on mobile */
    #menu-icon {
        display: block;
        font-size: 2rem;
        color: #fff;
        cursor: pointer;
        z-index: 101; /* Ensure the hamburger is in front of the title */
        margin-left: auto; /* Push the icon to the right */
    }

    /* Mobile navbar link styling */
    .navbar a {
        color: #fff;
        text-decoration: none;
        padding: 1rem 1.5rem;
        font-size: 1.2rem;
        transition: background 0.3s;
    }

    .navbar a:hover {
        background: #00bcd4;
    }

    /* Adjust layout for mobile */
    .header {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    /* Ensure the logo stays centered on mobile */
    .logo {
        margin-top: 0;
    }

    /* Mobile button widths (if any) */
    .navbar button {
        width: 100%; /* Buttons will span the full width of the navbar on mobile */
    }
}

/* Desktop View */
@media (min-width: 769px) {
    /* Hide hamburger icon on desktop */
    #menu-icon {
        display: none;
    }

    /* Display navbar normally (horizontal layout) on desktop */
    .navbar {
        display: flex;
        align-items: center;
    }
}
.recommendations-section {
    padding: 6rem 10%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    position: relative;
    overflow: hidden;
}

.recommendations-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(0, 188, 212, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(5, 168, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.recommendations-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.recommendations-header .heading {
    color: #fff;
}

.recommendations-header .heading span {
    color: #00bcd4;
}

.recommendations-subtitle {
    font-size: 1.2rem;
    color: #bbb;
    margin-top: 0.5rem;
}

/* Swiper Container */
.swiper-container {
    position: relative;
    margin: 0;
    padding: 2rem 5rem;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.swiper-wrapper {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    box-sizing: border-box;
}

.swiper-slide {
    flex-shrink: 0;
    width: 100%;
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Recommendation Card */
.recommendation-card {
    background: rgba(30, 30, 30, 0.9);
    border: 1px solid rgba(0, 188, 212, 0.3);
    border-radius: 25px;
    padding: 0;
    width: 100%;
    max-width: 700px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
}

.card-content {
    padding: 2.5rem;
}

.recommendation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #00bcd4, #05A8FF, #00bcd4);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
    z-index: 10;
}

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

.recommendation-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 188, 212, 0.6);
    box-shadow: 0 15px 50px rgba(0, 188, 212, 0.2);
}

/* Profile Section */
.profile-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.profile-image-wrapper {
    position: relative;
    flex-shrink: 0;
}

.profile-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, #00bcd4, #05A8FF) border-box;
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.3);
}

.profile-info h3 {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.profile-info p {
    color: #00bcd4;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Recommendation Text */
.recommendation-text {
    position: relative;
    padding: 1.5rem 0;
    margin-bottom: 1.5rem;
}

.quote-icon {
    position: absolute;
    top: -15px;
    left: -5px;
    font-size: 3rem;
    color: rgba(0, 188, 212, 0.15);
    line-height: 1;
}

.recommendation-text p {
    color: #d1d1d1;
    line-height: 1.8;
    font-size: 1rem;
    padding-left: 2rem;
    text-align: justify;
    margin: 0;
}

/* Card Footer */
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.2rem;
    gap: 1rem;
}

.date {
    color: #888;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.date i {
    color: #00bcd4;
    font-size: 1rem;
}

/* LinkedIn Mini Button */
.linkedin-mini-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, #0077b5, #00a0dc);
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 119, 181, 0.3);
    border: none;
    cursor: pointer;
}

.linkedin-mini-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 119, 181, 0.5);
}

.linkedin-mini-btn i {
    font-size: 1.2rem;
}

/* Navigation Arrows */
.swiper-button-prev,
.swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 188, 212, 0.2);
    border: 2px solid rgba(0, 188, 212, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(5px);
}

.swiper-button-prev {
    left: 250px;
}

.swiper-button-next {
    right: 250px;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: rgba(0, 188, 212, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.swiper-button-prev i,
.swiper-button-next i {
    font-size: 1.8rem;
    color: #00bcd4;
}

/* Pagination Dots */
.swiper-pagination {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 2.5rem;
    position: relative;
    z-index: 2;
}

.pagination-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 188, 212, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.pagination-dot.active {
    background: #00bcd4;
    width: 30px;
    border-radius: 6px;
}

/* LinkedIn CTA Button */
.linkedin-cta {
    text-align: center;
    margin-top: 4rem;
    position: relative;
    z-index: 2;
}

.linkedin-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #0077b5, #00a0dc);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 119, 181, 0.3);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.linkedin-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
}

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

.linkedin-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 119, 181, 0.5);
}

.linkedin-btn i {
    font-size: 1.5rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .recommendations-section {
        padding: 4rem 5%;
    }

    .swiper-container {
        padding: 1rem 0;
        margin: 0;
    }

    .recommendation-card {
        margin: 0 auto;
    }

    .card-content {
        padding: 1.8rem;
    }

    .profile-section {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .profile-image {
        width: 70px;
        height: 70px;
    }

    .profile-info h3 {
        font-size: 1.1rem;
    }

    .profile-info p {
        font-size: 0.85rem;
    }

    .recommendation-text p {
        font-size: 0.9rem;
        padding-left: 1.5rem;
    }

    .card-footer {
        flex-direction: column;
        gap: 1rem;
    }

    .swiper-button-prev,
    .swiper-button-next {
        width: 40px;
        height: 40px;
        display: none;
    }

    .swiper-button-prev i,
    .swiper-button-next i {
        font-size: 1.5rem;
    }

    .linkedin-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}
/* ... (Keep existing CSS up to .heading) ... */
/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

/* Global Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
    /* Removed max-width: 100% from here to allow responsive container resizing */
}

body {
    color: #fff;
    background-color: #000;
    position: relative;
    z-index: 0;
    overflow-x: hidden;
}

/* --- Global Styles & Effects --- */
.service-card:hover,
.project-card:hover {
  transform: scale(1.03);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.25);
  transition: all 0.3s ease-in-out;
}

/* Bounce on Social Icons */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.footer-socials a:hover i,
.social-media a:hover i {
  animation: bounce 0.6s;
  color: #00bcd4;
}

/* CTA Buttons Pulse + Shimmer */
.contact-btn, .btn {
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: transform 0.3s ease;
}
.contact-btn:hover, .btn:hover { transform: scale(1.05); }
.contact-btn::after, .btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 150%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1));
  animation: shimmer 1.8s infinite;
  z-index: -1;
}
@keyframes shimmer {
  0% { left: -75%; }
  100% { left: 100%; }
}
/* Exclude shimmer from navbar buttons text only */
.navbar button span.text,
.service-card button span.text {
  all: unset;
  font-size: 1rem;
  cursor: pointer;
}

/* Grid Background Effect */
body::before, body::after {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 200%; height: 200%;
    background-image: 
        linear-gradient(to right, rgba(5, 168, 255, 0.1) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(5, 168, 255, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
    animation: gridMove 10s linear infinite;
    pointer-events: none;
    opacity: 0.2;
}
body::after { animation-direction: reverse; }
@keyframes gridMove {
    from { transform: translate(0, 0); }
    to { transform: translate(-40px, -40px); }
}
/* --- End Global Styles & Effects --- */

/* --- Header & Navbar --- */
.header {
    position: fixed; top: 0; width: 100%;
    background: #111;
    padding: 1rem 2rem;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 100;
}
.logo {
    color: #05A8FF; font-size: 2rem; font-weight: bold; text-decoration: none;
}
.navbar {
    display: flex; align-items: center; gap: 1.5rem;
}
.navbar a {
    position: relative; text-decoration: none; color: #fff; margin: 0 10px; font-weight: 500; transition: color 0.3s ease;
}
.navbar a::after {
    content: ""; position: absolute; width: 0; height: 2px; background: #00bcd4; bottom: -5px; left: 0; transition: width 0.3s ease;
}
.navbar a:hover::after, .navbar a.active::after { width: 100%; }
.navbar a:hover, .navbar a.active { color: #05A8FF; }

/* Contact Me Button in Navbar */
.navbar button {
    position: relative; padding: 0.5rem 1.5rem; border: 1px solid #05A8FF; background: transparent; color: #05A8FF; border-radius: 5px; cursor: pointer; overflow: hidden; transition: all 0.4s ease; z-index: 1;
}
.navbar button::before {
    content: ""; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(120deg, rgba(5, 168, 255, 0.2), #05A8FF); transition: 0.4s; z-index: -1;
}
.navbar button:hover::before { left: 0; }
.navbar button:hover { background-color: rgba(5, 168, 255, 0.15); color: #fff; box-shadow: 0 0 10px #05A8FF, 0 0 20px #05A8FF; transform: scale(1.08); }
#menu-icon { display: none; }
/* --- End Header & Navbar --- */


/* --- Home Section --- */
.home {
    display: flex; justify-content: space-between; align-items: center;
    padding: 8rem 10% 2rem; min-height: 100vh; gap: 2rem;
}
.home-content { flex: 1; }
.home-content h3 { font-size: 2rem; }
.home-content h1 { font-size: 3rem; color: #05A8FF; }
.home-content span { color: #05A8FF; }
.home-content p { margin: 1rem 0; font-size: 1rem; line-height: 1.6; }

/* Typewriter Effect */
#typewriter {
  border-right: 2px solid #05A8FF; padding-right: 5px; white-space: nowrap; font-weight: bold; color: #05A8FF; animation: blink 0.7s step-end infinite;
}
@keyframes blink { 50% { border-color: transparent; } }

/* Social Media Links */
.social-media a {
    color: #05A8FF; font-size: 2.5rem; margin-right: 1rem; transition: 0.3s ease; position: relative; display: inline-block;
}
.social-media a:hover { color: #fff; transform: translateY(-4px) scale(1.3); text-shadow: 0 0 5px #05A8FF, 0 0 10px #05A8FF; }

/* Home Image */
.home-img { flex: 1; text-align: center; padding-bottom: 0; }
.home-img img {
    width: 300px; max-width: 100%; border: 5px solid #05A8FF; border-radius: 20px; margin-bottom: 0;
}
/* --- End Home Section --- */


/* --- About Section --- */
.about {
  display: flex; align-items: center; justify-content: center; gap: 3rem;
  padding: 5rem 10%; flex-wrap: wrap;
  background: linear-gradient(135deg, #1c1c1c 0%, #2c2c2c 100%);
  position: relative; z-index: 1; overflow: hidden; border-radius: 20px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.about-img img {
  width: 250px; border-radius: 15px; object-fit: cover; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3); transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.about-img img:hover { transform: scale(1.05); box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4); }
.about-content {
  max-width: 600px; z-index: 2; color: #fff; padding: 2rem 2.5rem; background: rgba(30, 30, 30, 0.7); border-radius: 15px; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2); backdrop-filter: blur(8px); transition: transform 0.5s ease;
}
.about-content h2 { font-size: 2.8rem; margin-bottom: 1rem; color: #00bcd4; text-shadow: 0px 2px 8px rgba(0, 188, 212, 0.4); }
.about-content h3 { font-size: 1.5rem; color: #00bcd4; margin-bottom: 1rem; }
.about-content p { font-size: 1rem; line-height: 1.8; margin-bottom: 1.5rem; color: #d1d1d1; }
.skills { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 1.5rem; }
.skills span {
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); color: #fff; padding: 0.5rem 1rem; border-radius: 20px; font-size: 0.9rem; transition: 0.3s ease-in-out;
}
.skills span:hover { background: #00bcd4; color: #fff; transform: scale(1.05); }
.btn {
  display: inline-block; padding: 0.8rem 1.5rem; background: #00bcd4; color: #fff; border-radius: 30px; text-decoration: none; font-weight: bold; transition: 0.3s ease;
}
.btn:hover { background: #fff; color: #00bcd4; border: 1px solid #00bcd4; }
/* --- End About Section --- */


/* --- Services Section --- */
.services { padding: 4rem 10%; background-color: rgba(5, 168, 255, 0.03); }
.services h2 { font-size: 2.5rem; text-align: center; color: #05A8FF; margin-bottom: 3rem; position: relative; }
.services-container {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem;
}
.service-card {
    background-color: #0d0d0d; padding: 2rem; border: 1px solid #00bfff; border-radius: 12px; text-align: center; color: #fff; box-shadow: 0 0 20px rgba(0, 191, 255, 0.1); transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; justify-content: space-between;
}
.service-card:hover { transform: translateY(-8px) scale(1.03); box-shadow: 0 0 15px #05A8FF; background-color: rgba(5, 168, 255, 0.05); }
.service-card i { font-size: 3rem; color: #05A8FF; margin-bottom: 1rem; }
.service-card button {
    margin-top: 2rem; align-self: center; padding: 0.5rem 1.2rem; border: 1px solid #05A8FF; background: transparent; color: #05A8FF; border-radius: 6px; cursor: pointer; position: relative; overflow: hidden; font-weight: 500; z-index: 1; transition: all 0.3s ease;
}
/* --- End Services Section --- */


/* --- Projects Section (FIXED 3-COLUMN LAYOUT AND ANIMATION) --- */
/* New Keyframes for Heading */
@keyframes slideInFromTop {
  0% {
    transform: translateY(-20px); /* Start slightly above */
    opacity: 0;
    filter: blur(5px);
  }
  100% {
    transform: translateY(0); /* Final position */
    opacity: 1;
    filter: blur(0);
  }
}
/* New Keyframes for a subtler, continuous text-shadow effect */
@keyframes pulseTextShadow {
    0% { text-shadow: 0px 0px 10px rgba(0, 188, 212, 0.4); }
    100% { text-shadow: 0px 0px 20px rgba(0, 188, 212, 0.8); }
}

.heading {
  text-align: center; font-size: 3rem; margin-bottom: 2rem; font-weight: 600;
  background: linear-gradient(45deg, #00bcd4, #0044ff); background-clip: text; -webkit-background-clip: text; color: transparent;
  /* Apply the new animations */
  animation: slideInFromTop 1.2s ease-out, pulseTextShadow 2s infinite alternate; 
}
/* Ensure the original animation logic is removed */
@keyframes textAnimation { /* Keeping old keyframes block for reference/override prevention */
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}

/* 1. Set to 3 columns on Desktop */
.projects-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* FORCING 3 COLUMNS */
  gap: 2.5rem; 
  justify-items: center;
  padding: 2rem;
  position: relative;
}

/* 2. Modern Card Styling */
.project-card {
  width: 100%;
  max-width: 350px;
  height: 450px; 
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
  background-color: #1a1a1a; 
}

.project-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 45px rgba(0, 188, 212, 0.4);
}
.project-card img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; border-radius: 15px; 
}
.project-card:hover img { transform: scale(1.05); }

/* 3. Sliding Overlay */
.card-info {
  position: absolute; bottom: 0; left: 0; width: 100%; padding: 1.5rem; color: #fff;
  background: rgba(0, 0, 0, 0.75); backdrop-filter: blur(10px); border-top: 1px solid rgba(255, 255, 255, 0.1);
  transform: translateY(100%); transition: transform 0.4s ease-out; display: flex; flex-direction: column; align-items: center; text-align: center; height: 120px; justify-content: space-around;
}
.project-card:hover .card-info { transform: translateY(0); }
.card-info h3 { font-size: 1.5rem; margin: 0.5rem 0; color: #00bcd4; text-shadow: 0 0 5px rgba(0, 188, 212, 0.5); }
.card-info .btn { margin-top: 0.5rem; padding: 0.6rem 1.2rem; font-size: 0.9rem; }


/* 4. View More/Less Logic */
.projects-container .project-card:nth-child(n+7) {
    display: none; /* Hide projects 7 and onward */
    opacity: 0;
    transition: opacity 0.5s ease;
}
.projects-container .project-card.visible-project {
    display: block !important; /* Force show when class is added by JS */
    opacity: 1;
    animation: fadeInSlideUp 0.6s ease-out;
}
@keyframes fadeInSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 5. View More Button Styling - MODIFIED TO MATCH LINKEDIN BUTTON */
.view-more-container {
    grid-column: 1 / -1; /* Spans all 3 columns */
    text-align: center; padding: 1rem 0 2rem; position: relative; width: 100%;
}
#viewMoreBtn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #0077b5, #00a0dc); /* Blue Gradient */
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 119, 181, 0.3);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    z-index: 1; /* Ensure button is on top */
}

/* Shimmer Effect (using ::before for the shimmer) */
#viewMoreBtn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
    z-index: 0; /* Place below the text/icon content */
}
/* Hover Shimmer */
#viewMoreBtn:hover::before {
    left: 100%;
}
/* Hover Transform */
#viewMoreBtn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 119, 181, 0.5);
}

/* Icon (Arrow) Styling */
#viewMoreBtn i { 
    margin-left: 0.5rem; 
    font-size: 1.5rem; 
    transition: transform 0.3s ease; 
    z-index: 1; /* Keep arrow above the shimmer effect */
}
#viewMoreBtn.rotated i { 
    transform: rotate(180deg); 
}

/* Mobile View Fix */
@media (max-width: 768px) {
  .projects-container {
    grid-template-columns: 1fr; /* 1 column on mobile */
    gap: 1.5rem;
  }
  .project-card {
      max-width: 100%; height: 400px;
  }
  .project-card img {
      object-fit: contain;
  }
}
/* --- END PROJECTS SECTION --- */


/* --- MODAL STYLES --- */
.project-modal {
    display: none; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0, 0, 0, 0.7); z-index: 1000; justify-content: center; align-items: center;
}
.modal-content {
    background: rgba(20, 20, 20, 0.95); padding: 2rem; border-radius: 16px; border: 1px solid rgba(5, 168, 255, 0.6); max-width: 950px; max-height: 90vh; width: 100%; color: #f1f1f1; position: relative; box-shadow: 0 12px 30px rgba(0,0,0,0.4); animation: slideUp 0.4s ease; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; overflow-y: auto;
}

.modal-content h3 { color: #05A8FF; font-size: 2.2rem; text-align: center; font-weight: 700; margin: 0; margin-bottom: 1rem; }
.modal-content p { margin-top: 1rem; line-height: 1.7; color: #ccc; text-align: center; max-width: 750px; white-space: normal; word-break: break-word; }
.modal-images { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.5rem; padding: 10px; }
.modal-images img { width: 340px; height: auto; border-radius: 14px; object-fit: contain; border: 1px solid #05A8FF; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.modal-close { position: absolute; top: 15px; right: 20px; font-size: 2rem; color: #fff; cursor: pointer; transition: color 0.3s ease, transform 0.3s ease; }
.modal-close:hover { color: #05A8FF; transform: rotate(90deg) scale(1.2); }
@keyframes slideUp { from { transform: translateY(40px) scale(0.95); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }

/* Enlarged Image Overlay */
.image-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0, 0, 0, 0.95); display: flex; justify-content: center; align-items: center; z-index: 3000; flex-direction: column;
}
/* --- END MODAL STYLES --- */


/* --- QUOTE SECTION --- */
.quote-section {
    position: relative; background: linear-gradient(135deg, #000000, #1e1e1e); padding: 5rem 2rem 8rem; text-align: center; color: #fff; overflow: hidden;
}
.quote-section h2 { font-size: 2.5rem; margin-bottom: 1rem; font-weight: 600; color: #fffdfd; }
.quote-section h2 span { color: #00bcd4; font-weight: 700; }
.quote-wave { position: absolute; bottom: 0; left: 0; width: 200%; height: auto; animation: waveScroll 6s linear infinite; opacity: 0.2; z-index: 0; pointer-events: none; }
@keyframes waveScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes waveScrollReverse { from { transform: translateX(0); } to { transform: translateX(50%); } }
.wave-layer {
    position: absolute; bottom: 0; left: 0; width: 200%; height: 120px; background-size: contain; opacity: 0.15; pointer-events: none; z-index: 0;
}
/* --- END QUOTE SECTION --- */


/* --- RECOMMENDATIONS SECTION --- */
.recommendations-section {
    padding: 6rem 10%; background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%); position: relative; overflow: hidden;
}
.swiper-container {
    position: relative; margin: 0; padding: 2rem 5rem; overflow: hidden; width: 100%; box-sizing: border-box;
}
.swiper-wrapper {
    display: flex; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); width: 100%; box-sizing: border-box;
}
.swiper-slide {
    flex-shrink: 0; width: 100%; min-width: 100%; display: flex; justify-content: center; align-items: center;
}
.recommendation-card {
    background: rgba(30, 30, 30, 0.9); border: 1px solid rgba(0, 188, 212, 0.3); border-radius: 25px; padding: 0; width: 100%; max-width: 700px; position: relative; overflow: hidden; backdrop-filter: blur(10px); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3); transition: all 0.4s ease;
}
.recommendation-card:hover { transform: translateY(-5px); border-color: rgba(0, 188, 212, 0.6); box-shadow: 0 15px 50px rgba(0, 188, 212, 0.2); }
/* --- END RECOMMENDATIONS SECTION --- */



/* --- FOOTER & UTILITY --- */
.footer { background: linear-gradient(to right, #0a0a0a, #111); color: #ccc; padding: 50px 20px 20px; font-size: 14px; position: relative; z-index: 5; }
.footer-container { display: flex; flex-wrap: wrap; justify-content: center; max-width: 1200px; margin: 0 auto; text-align: center; }
.back-to-top { position: fixed; bottom: 25px; right: 25px; background-color: #00bcd4; color: #fff; padding: 10px 12px; border-radius: 50%; font-size: 22px; cursor: pointer; z-index: 999; transition: all 0.3s ease; box-shadow: 0 0 10px rgba(0,188,212,0.4); }



/* --- RESPONSIVE ADJUSTMENTS (Crucial for Mobile) --- */
@media (max-width: 768px) {
    /* Navbar Toggle (Mobile Menu) */
    .header { flex-direction: row; justify-content: space-between; align-items: center; }
    #menu-icon { display: block; font-size: 2rem; color: #fff; cursor: pointer; z-index: 101; margin-left: auto; }
    .navbar {
        display: none; position: fixed; top: 0; right: 0; background: #111; width: 250px; height: 100vh; padding: 2rem; flex-direction: column; gap: 1.5rem; align-items: center; z-index: 100; transition: all 0.3s ease;
    }
    .navbar.active { display: flex; }
    
    /* Layout Adjustments */
    .home { flex-direction: column; text-align: center; padding: 6rem 5% 2rem; }
    .about { flex-direction: column; padding: 2rem 5%; }
    .services-container { grid-template-columns: 1fr; }
    
    /* Projects on Mobile (1 column) */
    .projects-container { 
        grid-template-columns: 1fr; 
        gap: 1.5rem; 
        padding: 1rem;
    }
    .project-card {
        max-width: 100%; height: 400px;
    }
    .project-card img {
        object-fit: contain;
    }
    .view-more-container {
        grid-column: 1 / -1; /* Ensure button still spans */
    }
    
    /* Recommendations Section Mobile Fix */
    .recommendations-section {
        padding: 4rem 5%; /* Adjusted padding */
    }
    .swiper-container {
        padding: 1rem 0; 
        margin: 0;
    }
    .recommendation-card {
        margin: 0 auto;
    }
    .card-content {
        padding: 1.5rem; /* Reduced padding */
    }
    .profile-section {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem; /* Reduced gap */
    }
    .profile-info h3 {
        font-size: 1.2rem;
    }
    .recommendation-text p {
        font-size: 0.95rem; 
        padding-left: 0; /* Remove horizontal padding on mobile text */
        text-align: left; /* Better left alignment for long blocks on mobile */
    }
    .quote-icon {
        top: -10px; /* Adjust quote icon position */
        left: 50%;
        transform: translateX(-50%);
        font-size: 2.5rem;
    }
    .card-footer {
        flex-direction: column;
        gap: 0.8rem;
    }
    .linkedin-mini-btn, .date {
        width: 100%;
        justify-content: center;
    }
    .linkedin-cta {
        margin-top: 2rem;
    }
    .linkedin-btn {
        width: 90%;
        max-width: 350px;
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }


    /* Contact Buttons on Mobile */
    .contact-buttons { flex-direction: column; gap: 1rem; }
    .contact-btn { width: 100%; }
    .footer-container { flex-direction: column; text-align: center; }
}

/* About Section - Service-Style Card Design */
.about {
  padding: 3rem 10%;
  background: linear-gradient(135deg, 
    #0a0e1a 0%,
    #151b2d 25%,
    #1a2332 50%,
    #1f2a40 75%,
    #0a0e1a 100%);
  position: relative;
  overflow: hidden;
  background-attachment: fixed;
}

/* Animated gradient orbs */
.about::before {
  content: '';
  position: fixed;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 188, 212, 0.2), transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}

.about::after {
  content: '';
  position: fixed;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(138, 43, 226, 0.15), transparent 70%);
  border-radius: 50%;
  animation: float 10s ease-in-out infinite reverse;
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(5deg); }
}

.about-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
  animation: fadeInDown 0.8s ease-out;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-header .heading {
  font-size: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
  margin-bottom: 0;
  font-weight: 700;
  background: linear-gradient(90deg, #00d4ff, #8a2be2, #00d4ff, #8a2be2);
  background-size: 300% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 4s ease infinite;
  letter-spacing: 2px;
  text-transform: uppercase;
}

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

.about-subtitle {
  font-size: clamp(0.9rem, 2vw, 1rem);
  color: #aaa;
  margin-top: 0.5rem;
  font-weight: 400;
  animation: fadeIn 1s ease-out 0.3s both;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.about-main-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  position: relative;
  z-index: 2;
}

/* Left Side - Image Card */
.about-left {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  animation: fadeInLeft 0.8s ease-out 0.2s both;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.about-img-wrapper {
  position: relative;
  width: 100%;
  max-width: 60%;
  height: 400px;
  background: linear-gradient(135deg, #0d0d0d 0%, #1a1a2e 100%);
  border-radius: 20px;
  padding: 0;
  box-shadow: 0 10px 40px rgba(0, 191, 255, 0.15);
  overflow: hidden;
  border: 2px solid transparent;
  background-clip: padding-box;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-img-wrapper::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(45deg, #00bfff, #8a2be2, #00bfff);
  background-size: 200% 200%;
  border-radius: 20px;
  z-index: -1;
  animation: borderGlow 3s ease infinite;
}

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

.about-img-wrapper:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 50px rgba(0, 191, 255, 0.3), 0 0 30px rgba(138, 43, 226, 0.2);
}

.about-img-wrapper img {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  object-fit: cover;
  object-position: center;
  position: relative;
  z-index: 2;
  transition: all 0.4s ease;
}

.about-img-wrapper:hover img {
  transform: scale(1.08);
  filter: brightness(1.1);
}

/* Stats Cards with Different Colors */
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.stat-card {
  background: linear-gradient(135deg, #0d0d0d 0%, #1a1a2e 100%);
  border: 2px solid;
  border-radius: 15px;
  padding: 1.5rem 1rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.stat-card::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: 0.5s;
}

.stat-card:hover::before {
  left: 100%;
}

/* Experience Card - Purple/Violet */
.stat-card:nth-child(1) {
  border-color: #8a2be2;
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

.stat-card:nth-child(1):hover {
  transform: translateY(-8px) rotate(2deg);
  box-shadow: 0 15px 35px rgba(138, 43, 226, 0.4);
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.1) 0%, #1a1a2e 100%);
}

.stat-card:nth-child(1) .stat-icon {
  color: #8a2be2;
  filter: drop-shadow(0 0 10px rgba(138, 43, 226, 0.5));
}

.stat-card:nth-child(1):hover .stat-icon {
  animation: bounce 0.6s ease;
}

/* Projects Card - Cyan */
.stat-card:nth-child(2) {
  border-color: #00bfff;
  animation: fadeInUp 0.6s ease-out 0.5s both;
}

.stat-card:nth-child(2):hover {
  transform: translateY(-8px) rotate(-2deg);
  box-shadow: 0 15px 35px rgba(0, 191, 255, 0.4);
  background: linear-gradient(135deg, rgba(0, 191, 255, 0.1) 0%, #1a1a2e 100%);
}

.stat-card:nth-child(2) .stat-icon {
  color: #00bfff;
  filter: drop-shadow(0 0 10px rgba(0, 191, 255, 0.5));
}

.stat-card:nth-child(2):hover .stat-icon {
  animation: bounce 0.6s ease;
}

/* Clients Card - Green */
.stat-card:nth-child(3) {
  border-color: #00ff88;
  animation: fadeInUp 0.6s ease-out 0.6s both;
}

.stat-card:nth-child(3):hover {
  transform: translateY(-8px) rotate(2deg);
  box-shadow: 0 15px 35px rgba(0, 255, 136, 0.4);
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.1) 0%, #1a1a2e 100%);
}

.stat-card:nth-child(3) .stat-icon {
  color: #00ff88;
  filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.5));
}

.stat-card:nth-child(3):hover .stat-icon {
  animation: bounce 0.6s ease;
}

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

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

.stat-icon {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
  transition: all 0.3s ease;
}

.stat-info h4 {
  font-size: clamp(1.5rem, 3vw, 1.8rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.3rem;
  transition: all 0.3s ease;
}

.stat-card:hover .stat-info h4 {
  transform: scale(1.1);
}

.stat-info p {
  font-size: clamp(0.8rem, 1.5vw, 0.85rem);
  color: #aaa;
  line-height: 1.4;
}

/* Right Side - Content */
.about-right {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  animation: fadeInRight 0.8s ease-out 0.2s both;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.about-description {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-description p {
  color: #d1d1d1;
  line-height: 1.8;
  font-size: clamp(0.9rem, 1.8vw, 1rem);
  margin: 0;
  animation: fadeIn 0.8s ease-out both;
}

.about-description p:nth-child(1) { animation-delay: 0.4s; }
.about-description p:nth-child(2) { animation-delay: 0.5s; }
.about-description p:nth-child(3) { animation-delay: 0.6s; }

.about-description strong {
  color: #00bcd4;
  font-weight: 600;
}

/* Skills Section */
.skills-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.skills-section h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.4rem);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0;
}

.skills-section h3 i {
  color: #00bcd4;
  font-size: 1.6rem;
  animation: pulse 2s ease-in-out infinite;
}

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

.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.skill-item {
  background: linear-gradient(135deg, #0d0d0d 0%, #1a1a2e 100%);
  border: 2px solid;
  border-radius: 15px;
  padding: 1.2rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.skill-item::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s, height 0.4s;
  z-index: 0;
}

.skill-item:hover::before {
  width: 200%;
  height: 200%;
}

/* Skill Colors - Rainbow Gradient */
.skill-item:nth-child(1) { 
  border-color: #ff6b6b; 
  animation: fadeInUp 0.6s ease-out 0.7s both;
}
.skill-item:nth-child(1):hover { 
  box-shadow: 0 15px 35px rgba(255, 107, 107, 0.4);
  transform: translateY(-8px) rotate(-5deg);
}
.skill-item:nth-child(1)::before { background: rgba(255, 107, 107, 0.1); }
.skill-item:nth-child(1) i { color: #ff6b6b; }

.skill-item:nth-child(2) { 
  border-color: #4ecdc4; 
  animation: fadeInUp 0.6s ease-out 0.8s both;
}
.skill-item:nth-child(2):hover { 
  box-shadow: 0 15px 35px rgba(78, 205, 196, 0.4);
  transform: translateY(-8px) rotate(5deg);
}
.skill-item:nth-child(2)::before { background: rgba(78, 205, 196, 0.1); }
.skill-item:nth-child(2) i { color: #4ecdc4; }

.skill-item:nth-child(3) { 
  border-color: #ffd93d; 
  animation: fadeInUp 0.6s ease-out 0.9s both;
}
.skill-item:nth-child(3):hover { 
  box-shadow: 0 15px 35px rgba(255, 217, 61, 0.4);
  transform: translateY(-8px) rotate(-5deg);
}
.skill-item:nth-child(3)::before { background: rgba(255, 217, 61, 0.1); }
.skill-item:nth-child(3) i { color: #ffd93d; }

.skill-item:nth-child(4) { 
  border-color: #a29bfe; 
  animation: fadeInUp 0.6s ease-out 1s both;
}
.skill-item:nth-child(4):hover { 
  box-shadow: 0 15px 35px rgba(162, 155, 254, 0.4);
  transform: translateY(-8px) rotate(5deg);
}
.skill-item:nth-child(4)::before { background: rgba(162, 155, 254, 0.1); }
.skill-item:nth-child(4) i { color: #a29bfe; }

.skill-item:nth-child(5) { 
  border-color: #fd79a8; 
  animation: fadeInUp 0.6s ease-out 1.1s both;
}
.skill-item:nth-child(5):hover { 
  box-shadow: 0 15px 35px rgba(253, 121, 168, 0.4);
  transform: translateY(-8px) rotate(-5deg);
}
.skill-item:nth-child(5)::before { background: rgba(253, 121, 168, 0.1); }
.skill-item:nth-child(5) i { color: #fd79a8; }

.skill-item:nth-child(6) { 
  border-color: #00b894; 
  animation: fadeInUp 0.6s ease-out 1.2s both;
}
.skill-item:nth-child(6):hover { 
  box-shadow: 0 15px 35px rgba(0, 184, 148, 0.4);
  transform: translateY(-8px) rotate(5deg);
}
.skill-item:nth-child(6)::before { background: rgba(0, 184, 148, 0.1); }
.skill-item:nth-child(6) i { color: #00b894; }

.skill-item:nth-child(7) { 
  border-color: #e17055; 
  animation: fadeInUp 0.6s ease-out 1.3s both;
}
.skill-item:nth-child(7):hover { 
  box-shadow: 0 15px 35px rgba(225, 112, 85, 0.4);
  transform: translateY(-8px) rotate(-5deg);
}
.skill-item:nth-child(7)::before { background: rgba(225, 112, 85, 0.1); }
.skill-item:nth-child(7) i { color: #e17055; }

.skill-item:nth-child(8) { 
  border-color: #00cec9; 
  animation: fadeInUp 0.6s ease-out 1.4s both;
}
.skill-item:nth-child(8):hover { 
  box-shadow: 0 15px 35px rgba(0, 206, 201, 0.4);
  transform: translateY(-8px) rotate(5deg);
}
.skill-item:nth-child(8)::before { background: rgba(0, 206, 201, 0.1); }
.skill-item:nth-child(8) i { color: #00cec9; }

.skill-item i {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 0.8rem;
  display: block;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 10px currentColor);
}

.skill-item:hover i {
  transform: scale(1.2) rotateY(360deg);
}

.skill-item span {
  color: #fff;
  font-size: clamp(0.85rem, 1.5vw, 0.95rem);
  font-weight: 500;
  position: relative;
  z-index: 1;
}

/* CTA Buttons */
.about-cta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1rem 2.2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(0.9rem, 1.8vw, 1rem);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  z-index: 1;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

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

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50px;
  padding: 3px;
  background: linear-gradient(45deg, currentColor, transparent, currentColor);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
  z-index: -1;
}

.btn:hover::after {
  opacity: 1;
  animation: borderRotate 2s linear infinite;
}

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

.btn-primary {
  background: linear-gradient(135deg, #00bcd4, #00e5ff);
  color: #0a0e1a;
  border: none;
  animation: fadeInUp 0.6s ease-out 1.5s both;
}

.btn-primary:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 188, 212, 0.5), 0 0 30px rgba(0, 229, 255, 0.3);
  background: linear-gradient(135deg, #00e5ff, #00bcd4);
}

.btn-secondary {
  background: transparent;
  color: #8a2be2;
  border: 3px solid #8a2be2;
  animation: fadeInUp 0.6s ease-out 1.6s both;
  position: relative;
}

.btn-secondary::after {
  background: linear-gradient(45deg, #8a2be2, #a855f7, #8a2be2);
  background-size: 200% 200%;
}

.btn-secondary:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 15px 40px rgba(138, 43, 226, 0.5), 0 0 30px rgba(168, 85, 247, 0.3);
  background: rgba(138, 43, 226, 0.1);
  color: #a855f7;
  border-color: #a855f7;
}

.btn i {
  font-size: 1.2rem;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.btn-primary:hover i {
  transform: translateX(5px) rotate(15deg);
}

.btn-secondary:hover i {
  transform: scale(1.2) rotate(-15deg);
}

.btn i {
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

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

/* Tablet Responsive */
@media (max-width: 1024px) {
  .about {
    padding: 2.5rem 7%;
  }

  .about-main-content {
    gap: 2.5rem;
  }

  .skills-grid {
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .about {
    padding: 2rem 5%;
    background-attachment: scroll;
  }

  .about-header {
    margin-bottom: 2rem;
  }

  .about-main-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .about-img-wrapper {
    height: 350px;
    max-width: 100%;
  }
  
  .about-stats {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .about-stats .stat-card:nth-child(3) {
    grid-column: 1 / -1;
    max-width: 70%;
    margin: 0 auto;
  }
  
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .about-cta {
    flex-direction: column;
    gap: 1rem;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }

  .about::before,
  .about::after {
    width: 400px;
    height: 400px;
  }
}

@media (max-width: 480px) {
  .about {
    padding: 1.5rem 4%;
  }

  .about-img-wrapper {
    height: 280px;
  }

  .stat-card {
    padding: 1rem 0.6rem;
  }

  .skill-item {
    padding: 1rem 0.8rem;
  }

  .about-stats .stat-card:nth-child(3) {
    max-width: 80%;
  }

  .skills-grid {
    gap: 0.8rem;
  }
}/* Splash Screen Styles */
        *
{
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Poppins', sans-serif;
        }

        body {
            overflow: hidden;
            background: #000;
        }

        /* Splash Screen */
        #splash-screen {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background: linear-gradient(135deg, 
                #0a0e1a 0%,
                #151b2d 25%,
                #1a2332 50%,
                #1f2a40 75%,
                #0a0e1a 100%);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            z-index: 10000;
            transition: opacity 0.8s ease, transform 0.8s ease;
        }

        #splash-screen.fade-out {
            opacity: 0;
            transform: scale(1.1);
            pointer-events: none;
        }

        /* Animated Background Orbs */
        .splash-orb {
            position: absolute;
            border-radius: 50%;
            filter: blur(80px);
            opacity: 0.3;
            animation: float 8s ease-in-out infinite;
        }

        .splash-orb:nth-child(1) {
            top: 10%;
            left: 20%;
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgba(138, 43, 226, 0.4), transparent 70%);
            animation-delay: 0s;
        }

        .splash-orb:nth-child(2) {
            top: 50%;
            right: 15%;
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, rgba(0, 188, 212, 0.3), transparent 70%);
            animation-delay: 2s;
        }

        .splash-orb:nth-child(3) {
            bottom: 10%;
            left: 50%;
            width: 450px;
            height: 450px;
            background: radial-gradient(circle, rgba(5, 168, 255, 0.25), transparent 70%);
            animation-delay: 4s;
        }

        @keyframes float {
            0%, 100% { transform: translate(0, 0) scale(1); }
            33% { transform: translate(30px, -30px) scale(1.1); }
            66% { transform: translate(-20px, 20px) scale(0.9); }
        }

        /* Particle Canvas */
        #particle-canvas {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
        }

        /* Logo Container */
        .splash-logo {
            position: relative;
            z-index: 2;
            margin-bottom: 2rem;
            animation: scaleIn 1s cubic-bezier(0.4, 0, 0.2, 1);
        }

        @keyframes scaleIn {
            0% {
                opacity: 0;
                transform: scale(0.5) rotateY(180deg);
            }
            100% {
                opacity: 1;
                transform: scale(1) rotateY(0deg);
            }
        }

        .logo-circle {
            width: 150px;
            height: 150px;
            border-radius: 50%;
            background: linear-gradient(135deg, #00d4ff, #8a2be2);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            box-shadow: 0 0 60px rgba(0, 212, 255, 0.5),
                        0 0 100px rgba(138, 43, 226, 0.3);
            animation: pulse 2s ease-in-out infinite;
        }

        @keyframes pulse {
            0%, 100% {
                transform: scale(1);
                box-shadow: 0 0 60px rgba(0, 212, 255, 0.5),
                            0 0 100px rgba(138, 43, 226, 0.3);
            }
            50% {
                transform: scale(1.05);
                box-shadow: 0 0 80px rgba(0, 212, 255, 0.7),
                            0 0 120px rgba(138, 43, 226, 0.5);
            }
        }

        .logo-circle::before {
            content: '';
            position: absolute;
            inset: -5px;
            border-radius: 50%;
            background: linear-gradient(45deg, #00d4ff, #8a2be2, #00d4ff);
            background-size: 300% 300%;
            z-index: -1;
            animation: borderRotate 4s linear infinite;
            filter: blur(10px);
        }

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

        .logo-text {
            font-size: 4rem;
            font-weight: 800;
            background: linear-gradient(135deg, #fff, #e0e0e0);
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            letter-spacing: 2px;
        }

        /* Name & Title */
        .splash-content {
            position: relative;
            z-index: 2;
            text-align: center;
            animation: fadeInUp 1s ease-out 0.3s both;
        }

        @keyframes fadeInUp {
            0% {
                opacity: 0;
                transform: translateY(30px);
            }
            100% {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .splash-name {
            font-size: clamp(2rem, 5vw, 3.5rem);
            font-weight: 800;
            margin-bottom: 0.5rem;
            background: linear-gradient(90deg, #00d4ff, #8a2be2, #00d4ff);
            background-size: 200% auto;
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            animation: gradientShift 3s ease infinite;
            letter-spacing: 2px;
        }

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

        .splash-title {
            font-size: clamp(1rem, 2vw, 1.3rem);
            color: #aaa;
            font-weight: 500;
            margin-bottom: 3rem;
            letter-spacing: 1px;
        }

        /* Loading Bar */
        .loading-container {
            position: relative;
            width: 300px;
            height: 6px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            overflow: hidden;
            animation: fadeIn 1s ease-out 0.6s both;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .loading-bar {
            height: 100%;
            background: linear-gradient(90deg, #00d4ff, #8a2be2, #00d4ff);
            background-size: 200% 100%;
            border-radius: 10px;
            width: 0%;
            animation: loadProgress 2.5s ease-in-out forwards,
                       shimmer 1.5s linear infinite;
            box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
        }

        @keyframes loadProgress {
            0% { width: 0%; }
            100% { width: 100%; }
        }

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

        .loading-percentage {
            position: absolute;
            top: -30px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 1.2rem;
            font-weight: 600;
            color: #00d4ff;
            text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
        }

        /* Loading Text */
        .loading-text {
            margin-top: 1.5rem;
            font-size: 0.9rem;
            color: #666;
            letter-spacing: 2px;
            animation: fadeIn 1s ease-out 0.8s both;
        }

        .loading-dots::after {
            content: '';
            animation: dots 1.5s steps(4, end) infinite;
        }

        @keyframes dots {
            0%, 20% { content: ''; }
            40% { content: '.'; }
            60% { content: '..'; }
            80%, 100% { content: '...'; }
        }

        /* Main Content Hidden Initially */
        #main-content {
            display: none;
            opacity: 0;
            animation: contentFadeIn 0.8s ease-out forwards;
        }

        #main-content.show {
            display: block;
        }

        @keyframes contentFadeIn {
            to {
                opacity: 1;
            }
        }

        /* Mobile Responsive */
        @media (max-width: 768px) {
            .logo-circle {
                width: 120px;
                height: 120px;
            }

            .logo-text {
                font-size: 3rem;
            }

            .loading-container {
                width: 250px;
            }

            .splash-orb {
                filter: blur(60px);
            }
        }