/* Albert Sans Font */
* {
    font-family: 'Albert Sans', sans-serif;
}

/* CSS Variables for Theme */
:root {
    /* Light Theme */
    --primary-color: #ff6b35;
    --primary-dark: #e55a2b;
    --primary-light: #ff8c5a;
    --background-color: #ffffff;
    --surface-color: #ffffff;
    --text-color: #212529;
    --text-muted: #6c757d;
    --border-color: #dee2e6;
    --shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    --gradient-primary: linear-gradient(135deg, #ff6b35, #e55a2b);
    --gradient-bg: linear-gradient(135deg, #ff6b35 0%, #e55a2b 100%);
    --glow-shadow: 0 0 30px rgba(255, 107, 53, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-bs-theme="dark"] {
    /* Dark Theme */
    --background-color: #121212;
    --surface-color: #1e1e1e;
    --text-color: #ffffff;
    --text-muted: #adb5bd;
    --border-color: #343a40;
    --shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.5);
    --glow-shadow: 0 0 30px rgba(255, 107, 53, 0.4);
}

/* Global Styles */
body {
    background-color: var(--background-color);
    color: var(--text-color);
    transition: var(--transition);
    font-weight: 300;
    line-height: 1.6;
}

.hero-images {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.hero-static-img {
  max-width: 90%;
  height: auto;
  z-index: 2;
  border-radius: 1rem;
}

.hero-floating-img {
  position: absolute;
  top: 0;
  right: 0;
  max-width: 100%;
  height: auto;
  pointer-events: none;
  transition: transform 0.2s ease-out;
  z-index: 9999; /* ← Try this */
}


.navbar .dropdown-toggle::after {
  display: none !important;
}


/* Mobile Responsive */
@media (max-width: 768px) {
  .hero-images {
    justify-content: center;
    margin-top: 2rem;
  }

  /* @media only screen and (max-width: 768px) { */
  .hero-floating-img {
    display: block; /* or flex/inline depending on need */
  }

  .hero-section h1,
  .display-3 {
    font-size: 2.5rem;
  }

  .display-5 {
    font-size: 2rem;
  }
}



/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.2;
}




p, .card-text {
    font-weight: 300;
}

.lead {
    font-weight: 400;
}

/* Gradient Text */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom Bootstrap Overrides */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--glow-shadow);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #e55a2b, #ff6b35);
    transform: translateY(-2px);
    box-shadow: var(--glow-shadow), 0 10px 25px rgba(0, 0, 0, 0.15);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background: var(--gradient-primary) !important;
}

/* Navbar */
.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95) !important;
    transition: var(--transition);
}

[data-bs-theme="dark"] .navbar {
    background-color: rgba(18, 18, 18, 0.95) !important;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
}

.nav-link {
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: var(--gradient-primary);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    background: var(--background-color);
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(255, 107, 53, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(229, 90, 43, 0.05) 0%, transparent 50%);
}

.hero-title {
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 2s infinite;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 2rem);
    color: var(--text-muted);
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto;
}

.hero-line {
    height: 4px;
    width: 100px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.hero-cta {
    position: relative;
    overflow: hidden;
}

.hero-cta .bi-arrow-right {
    transition: var(--transition);
}

.hero-cta:hover .bi-arrow-right {
    transform: translateX(5px);
}




/* Scroll Indicator */
.scroll-indicator {
    animation: bounce 2s infinite;
}

.scroll-to-top-btn {
    background: none;
    border: none;
    outline: none;
    z-index: 1000;
    cursor: pointer;
    transition: opacity 0.3s;
}

.scroll-to-top-btn .scroll-mouse {
    width: 30px;
    height: 50px;
    border: 2px solid #ff6b35;
    border-radius: 25px;
    position: relative;
    margin: auto;
}

.scroll-to-top-btn .scroll-mouse::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #ff6b35;
    border-radius: 50%;
    animation: scrollUp 1.2s infinite;
}

@keyframes scrollUp {
    0% { top: 10px; opacity: 1; }
    100% { top: 0; opacity: 0; }
}


.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    position: relative;
}

.scroll-mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 1px;
    animation: scroll-dot 2s infinite;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.1;
    filter: blur(40px);
    animation: float 6s ease-in-out infinite;
}

.floating-1 {
    width: 120px;
    height: 120px;
    top: 25%;
    left: 25%;
    animation-delay: 0s;
}

.floating-2 {
    width: 80px;
    height: 80px;
    bottom: 25%;
    right: 25%;
    animation-delay: 3s;
}

/* Section Styles */
.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-line {
    height: 4px;
    width: 80px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* Cards */
.card {
    border: 1px solid var(--border-color);
    background-color: var(--surface-color);
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

/* Service Cards */
.service-card {
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--glow-shadow), var(--shadow-lg);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card:hover .card-title {
    color: var(--primary-color);
}

/* Skills Badges */
.skill-badge {
    background: var(--gradient-primary);
    color: white;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 500;
    transition: var(--transition);
}


button[type="submit"]:hover {
    background-color: #ff6b35;
  }


.skill-badge:hover {
    transform: scale(1.05);
}

/* Portfolio Cards */
.portfolio-card {
    overflow: hidden;
    transition: var(--transition);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
}

.portfolio-content a{
    cursor: pointer;
}

.portfolio-image img {
    transition: var(--transition);
    height: 250px;
    object-fit: cover;
    width: 100%;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.portfolio-card:hover .portfolio-overlay {
    background: rgba(0, 0, 0, 0.7);
}

.portfolio-content {
    opacity: 0;
    transition: var(--transition);
}

.portfolio-card:hover .portfolio-content {
    opacity: 1;
}

.portfolio-card:hover img {
    transform: scale(1.1);
}

.portfolio-card:hover .card-title {
    color: var(--primary-color);
}

/* Contact Cards */
.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0, 0, 0) translateX(-50%);
    }
    40%, 43% {
        transform: translate3d(0, -10px, 0) translateX(-50%);
    }
    70% {
        transform: translate3d(0, -5px, 0) translateX(-50%);
    }
    90% {
        transform: translate3d(0, -2px, 0) translateX(-50%);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes scroll-dot {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 0.5;
        transform: translateX(-50%) translateY(10px);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

@keyframes pulse {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.1);
    }
}

/* Dark theme specific styles */
[data-bs-theme="dark"] .bg-light {
    background-color: #1e1e1e !important;
}

[data-bs-theme="dark"] .text-muted {
    color: var(--text-muted) !important;
}

[data-bs-theme="dark"] .border-top {
    border-color: var(--border-color) !important;
}

[data-bs-theme="dark"] .border-bottom {
    border-color: var(--border-color) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .floating-element {
        display: none;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .portfolio-image img {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: var(--primary-color);
    color: white;
}

::-moz-selection {
    background: var(--primary-color);
    color: white;
}