:root {
    --primary-color: #2563eb;
    --secondary-color: #f97316;
    --dark-bg: #0f172a;
    --darker-bg: #020617;
    --card-bg: #1e293b;
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
    --accent-color: #06b6d4;
    --light-card: #f1f5f9;
    --dark-text: #1e293b;
    --popup-bg: #1a1a2e;
    --popup-text: #e6e6e6;
    --success-color: #10b981;
    
     /* Hall of Fame - Light theme variables (for white sections) */
    --hof-white: #E2E8F0;
    --hof-grey: #e6e6e6;
    --hof-dark-navy: #0A1929;
    --hof-medium-gray: #334155;
    --hof-light-gray: #64748B;
    --hof-border-light: #E2E8F0;
    --hof-light-bg: #F8FAFC;
    --hof-primary-blue: #2563EB;
    --hof-primary-green: #10B981;
    --hof-primary-orange: #F59E0B;
    --hof-shadow-subtle: 0 10px 25px -5px rgba(0, 0, 0, 0.03), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
    --hof-shadow-hover: 0 25px 35px -8px rgba(0, 0, 0, 0.06), 0 10px 15px -6px rgba(0, 0, 0, 0.03);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-color: var(--dark-bg);
    color: var(--text-light);
    overflow-x: hidden;
    width: 100%;
    padding-top: 80px !important;
}

/* Container for responsive layout */
.container {
    width: 100%;
    padding-right: 10px;
    padding-left: 10px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .container {
        max-width: 550px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 740px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 970px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Section Styling */
.section-padding {
    padding: 80px 0 !important;
}

.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 40px;
    text-align: center;
    font-size: 2.5rem;
}

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

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

@media (max-width: 576px) {
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 25px;
    }
}

/* ===== NAVBAR FIXES ===== */
.navbar {
    background: rgba(15, 23, 42, 0.98) !important;
    backdrop-filter: blur(15px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: all 0.3s ease-in-out !important;
    padding: 15px 0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
    position: fixed !important;
    top: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    height: 80px !important;
}

.navbar.scrolled {
    background: rgba(2, 6, 23, 0.98) !important;
    padding: 12px 0 !important;
    height: 70px !important;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color) !important;
    transition: all 0.3s ease;
    margin-right: 0;
    letter-spacing: 0.5px;
}

.navbar-brand:hover {
    color: var(--secondary-color) !important;
    transform: scale(1.05);
}

.navbar-collapse {
    justify-content: flex-end;
}

.navbar-nav {
    align-items: center;
    gap: 10px;
}

.navbar-nav .nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-light) !important;
    padding: 8px 16px !important;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-color) !important;
    background: rgba(255, 255, 255, 0.05);
}

.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    background: rgba(37, 99, 235, 0.1);
}

/* Remove Home and About from navbar for desktop */
@media (min-width: 992px) {
     .navbar-nav .nav-link[href="#tools"],
    .navbar-nav .nav-link[href="#methodologies"],
    .navbar-nav .nav-link[href="#certificates"],
    .navbar-nav .nav-link[href="#testimonials"],
    .navbar-nav .nav-link[href="#projects"] {
        display: none;
    }
    
    .navbar-nav {
        gap: 8px;
    }
    
    .navbar-nav .nav-link {
        padding: 8px 14px !important;
        font-size: 0.9rem;
    }
    
    /* Hide toggler button on laptop/desktop */
    #navbarToggler {
        display: none !important;
    }
}

/* ===== CUSTOM TOGGLER ICON ===== */
#navbarToggler {
    cursor: pointer;
    font-size: 23px;
    transition: all 0.3s ease;
    border: none;
    outline: none !important;
    box-shadow: none !important;
    background: transparent;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    order: 2;
    z-index: 1001;
}

#togglerIcon {
    display: inline-block;
    width: 30px;
    height: 3px;
    background: white;
    position: relative;
    transition: all 0.3s ease-in-out;
}

#togglerIcon::before,
#togglerIcon::after {
    content: "";
    width: 30px;
    height: 3px;
    background: white;
    position: absolute;
    left: 0;
    transition: all 0.3s ease-in-out;
}

#togglerIcon::before {
    top: -8px;
}

#togglerIcon::after {
    top: 8px;
}

#navbarToggler[aria-expanded="true"] #togglerIcon {
    background: transparent;
}

#navbarToggler[aria-expanded="true"] #togglerIcon::before {
    top: 0;
    transform: rotate(45deg);
}

#navbarToggler[aria-expanded="true"] #togglerIcon::after {
    top: 0;
    transform: rotate(-45deg);
}

/* Show custom toggler only on mobile/tablet */
@media (max-width: 991px) {
    #navbarToggler {
        display: flex !important;
    }
    
    /* Remove default Bootstrap toggler */
    .navbar-toggler {
        display: none !important;
    }
}

/* ===== SIMPLIFIED MOBILE MENU ===== */
@media (max-width: 991px) {
    .navbar-collapse {
        position: fixed !important;
        top: 80px !important;
        left: 0 !important;
        right: 0 !important;
        background: rgba(15, 23, 42, 0.98) !important;
        backdrop-filter: blur(15px) !important;
        padding: 15px 20px !important;
        margin-top: 0 !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
        z-index: 999 !important;
        max-height: calc(100vh - 80px) !important;
        overflow-y: auto !important;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease-in-out !important;
    }
    
    .navbar-collapse.show {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .navbar-nav {
        flex-direction: column !important;
        width: 100% !important;
        gap: 3px !important; /* Reduced gap */
    }
    
    .navbar-nav .nav-link {
        margin: 0 !important;
        padding: 10px 15px !important; /* Reduced padding */
        width: 100% !important;
        text-align: left !important;
        font-size: 0.95rem !important;
        border: none !important; /* Removed border */
        background: transparent !important;
        display: block !important; /* Changed from flex */
        border-radius: 8px !important;
        transition: all 0.2s ease !important;
    }
    
    /* Remove arrow */
    .navbar-nav .nav-link::after {
        display: none !important;
    }
    
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link:active {
        color: var(--accent-color) !important;
        background: rgba(255, 255, 255, 0.05) !important;
        transform: none !important; /* Removed translate */
        padding-left: 18px !important; /* Slight indentation on hover */
    }
    
    /* Simple active state */
    .navbar-nav .nav-link.active {
        color: var(--primary-color) !important;
        background: rgba(37, 99, 235, 0.1) !important;
        font-weight: 600 !important;
    }
    
    /* Scrollbar styling for mobile menu */
    .navbar-collapse::-webkit-scrollbar {
        width: 4px;
    }
    
    .navbar-collapse::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.05);
    }
    
    .navbar-collapse::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border-radius: 2px;
    }
    
    /* Ensure body doesn't scroll when menu is open */
    body.menu-open {
        overflow: hidden !important;
    }
}

/* For mobile desktop mode (landscape) */
@media (max-width: 991px) and (orientation: landscape) {
    .navbar-collapse {
        max-height: 70vh !important;
        padding: 10px 15px !important;
    }
    
    .navbar-nav {
        gap: 2px !important; /* Even smaller gap in landscape */
    }
    
    .navbar-nav .nav-link {
        padding: 8px 12px !important;
        font-size: 0.9rem !important;
    }
}

/* Desktop hover effect */
@media (min-width: 992px) {
    .navbar-nav .nav-link:hover {
        color: var(--accent-color) !important;
    }
}

/* ===== HERO SECTION FIXES ===== */
.hero {
    min-height: calc(100vh - 80px) !important;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 40px 0;
    margin-top: -80px;
    padding-top: 120px !important;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%232563eb" fill-opacity="0.1" d="M0,128L48,117.3C96,107,192,85,288,112C384,139,480,213,576,218.7C672,224,768,160,864,138.7C960,117,1056,139,1152,149.3C1248,160,1344,160,1392,160L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.text-highlight {
    color: #f97316;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 100%;
    padding: 0 15px;
}

.hero-tagline {
    padding: 12px 30px;
    margin: 0 auto 25px;
    font-size: 18px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 30px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    display: inline-block;
    max-width: 90%;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 35px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Fix for desktop mode on mobile */
@media (min-width: 768px) and (max-width: 1199px) {
    .hero {
        padding-top: 100px !important;
        min-height: calc(90vh - 80px) !important;
    }
    
    .hero h1 {
        font-size: 3.2rem;
    }
}

/* Responsive hero section */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 100px !important;
        min-height: calc(100vh - 70px) !important;
    }
    
    .hero h1 {
        font-size: 2.5rem;
        margin-top: 10px;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-tagline {
        font-size: 16px;
        padding: 10px 25px;
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding-top: 90px !important;
        min-height: calc(100vh - 60px) !important;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        margin-top: 5px;
    }
    
    .hero-tagline {
        font-size: 15px;
        padding: 8px 20px;
        margin-bottom: 15px;
    }
}

/* Typewriter Effect */
.typewriter {
    overflow: hidden;
    border-right: .15em solid var(--secondary-color);
    white-space: nowrap;
    margin: 0 auto;
    animation: typing 3.5s steps(40, end), blink-caret .75s step-end infinite;
    display: inline-block;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--secondary-color); }
}
/* Modern Button Styling with Dynamic Spacing */
.btn, .btn-primary, .btn-secondary, .btn-outline-light, .btn-outline-primary {
  padding: 12px 32px !important;
  border-radius: 40px !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  border: 2px solid transparent !important;
  min-height: 48px !important;
  line-height: 1.3 !important;
  text-align: center !important;
  vertical-align: middle !important;
  font-family: 'Poppins', sans-serif !important;
  margin: 0 6px !important;
  width: auto !important;
  background: none !important;
  white-space: nowrap !important;
  position: relative !important;
  overflow: hidden !important;
  z-index: 1 !important;
  letter-spacing: 0.3px !important;
}

/* Animated background shine effect */
.btn::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent) !important;
  transition: left 0.7s ease !important;
  z-index: -1 !important;
}

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

/* Primary Button - Vibrant gradient */
.btn-primary {
  background: linear-gradient(145deg, var(--primary-color, #4361ee), var(--primary-dark, #3a56d4)) !important;
  color: white !important;
  border-color: transparent !important;
  box-shadow: 0 8px 20px rgba(67, 97, 238, 0.3) !important;
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(145deg, var(--secondary-color, #7209b7), var(--secondary-dark, #5e0a9c)) !important;
  border-color: transparent !important;
  transform: translateY(-5px) !important;
  box-shadow: 0 15px 30px rgba(114, 9, 183, 0.4) !important;
  color: white !important;
}

/* Secondary Button */
.btn-secondary {
  background: linear-gradient(145deg, var(--secondary-color, #7209b7), var(--secondary-dark, #5e0a9c)) !important;
  color: white !important;
  border-color: transparent !important;
  box-shadow: 0 8px 20px rgba(114, 9, 183, 0.3) !important;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: linear-gradient(145deg, var(--primary-color, #4361ee), var(--primary-dark, #3a56d4)) !important;
  transform: translateY(-5px) !important;
  box-shadow: 0 15px 30px rgba(67, 97, 238, 0.4) !important;
}

/* Outline Light Button - Glass morphism */
.btn-outline-light {
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(5px) !important;
  border: 2px solid rgba(255, 255, 255, 0.9) !important;
  color: white !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1) !important;
}

.btn-outline-light:hover,
.btn-outline-light:focus {
  background: linear-gradient(145deg, var(--secondary-color, #7209b7), var(--secondary-dark, #5e0a9c)) !important;
  color: white !important;
  border-color: transparent !important;
  transform: translateY(-5px) !important;
  box-shadow: 0 15px 30px rgba(114, 9, 183, 0.4) !important;
}

/* Outline Primary Button */
.btn-outline-primary {
  background: transparent !important;
  border: 2px solid var(--primary-color, #4361ee) !important;
  color: var(--primary-color, #4361ee) !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background: var(--primary-color, #4361ee) !important;
  color: white !important;
  transform: translateY(-5px) !important;
  box-shadow: 0 15px 30px rgba(67, 97, 238, 0.4) !important;
}

/* Button spacing in hero section - Progressive enhancement */
.hero .d-flex {
  gap: 20px !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  margin: 20px 0 !important;
}

.hero .d-flex .btn {
  margin: 0 5px !important;
  flex: 0 0 auto !important;
  animation: fadeInUp 0.6s ease-out !important;
}

/* Button animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Button group with staggered animation */
.hero .d-flex .btn:nth-child(1) { animation-delay: 0.1s !important; }
.hero .d-flex .btn:nth-child(2) { animation-delay: 0.2s !important; }

/* Responsive button adjustments with progressive gap increase */
@media (min-width: 1200px) {
  .hero .d-flex {
    gap: 40px !important;
  }
  
  .btn {
    padding: 14px 38px !important;
    font-size: 1.05rem !important;
    min-height: 54px !important;
    margin: 0 10px !important;
  }
  
  .hero .d-flex .btn {
    margin: 0 15px !important;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .hero .d-flex {
    gap: 35px !important;
  }
  
  .btn {
    padding: 13px 35px !important;
    font-size: 1rem !important;
    min-height: 50px !important;
    margin: 0 8px !important;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .hero .d-flex {
    gap: 30px !important;
  }
  
  .btn {
    padding: 12px 32px !important;
    font-size: 0.95rem !important;
    min-height: 48px !important;
    margin: 0 6px !important;
  }
}

@media (max-width: 767px) {
  .btn {
    padding: 10px 28px !important;
    font-size: 0.9rem !important;
    min-height: 44px !important;
    margin: 0 4px !important;
  }

  .hero .d-flex {  
    gap: 20px !important;  
  }
}

@media (max-width: 576px) {
  .btn {
    padding: 9px 24px !important;
    font-size: 0.85rem !important;
    min-height: 42px !important;
    min-width: 150px !important;
    margin: 0 3px !important;
  }

  .hero .d-flex {  
    flex-direction: row !important;  
    gap: 15px !important;  
  }
}

@media (max-width: 480px) {
  .btn {
    padding: 8px 22px !important;
    min-width: 140px !important;
  }
  
  .hero .d-flex {
    gap: 12px !important;
  }
}

@media (max-width: 400px) {  
  .hero .d-flex {  
    flex-direction: column !important;  
    align-items: center !important;  
    width: 100% !important;  
    gap: 18px !important;  
  }  

  .hero .d-flex .btn {  
    width: 100% !important;  
    max-width: 260px !important;  
    margin: 0 !important;
  }
  
  .btn {
    white-space: normal !important;
    padding: 10px 24px !important;
  }
}

/* Define color variables for easy customization */
:root {
  --primary-color: #4361ee;
  --primary-dark: #3a56d4;
  --secondary-color: #7209b7;
  --secondary-dark: #5e0a9c;
  --accent-color: #f72585;
        }


/* ===== ABOUT SECTION FIXES - Bigger Image ===== */
.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

/* Bigger image for desktop and laptop */
.about-img-container {
    flex: 0 0 650px !important;
    max-width: 650px !important;
    position: relative;
}

.about-img {
    width: 100% !important;
    height: auto !important;
    border-radius: 12px !important;
    border: 3px solid var(--primary-color) !important;
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.15) !important;
    object-fit: cover !important;
    transition: transform 0.3s ease !important;
}

.about-img:hover {
    transform: scale(1.2) !important;
}

@media (max-width: 576px) {
    .about-img-container {
        width: 60% !important;
    }
}
.about-text {
    flex: 1;
}

/* Responsive about section */
@media (max-width: 1200px) {
    .about-content {
        gap: 50px;
    }
    
    .about-img-container {
        flex: 0 0 600px !important;
        max-width: 600px !important;
    }
}

@media (max-width: 992px) {
    .about-content {
        flex-direction: column !important;
        text-align: center !important;
        gap: 40px !important;
    }
    
    .about-img-container {
        flex: 0 0 100% !important;
        max-width: 650px !important;
        margin: 0 auto !important;
    }
}

@media (max-width: 768px) {
    .about-img-container {
        max-width: 550px !important;
    }
}


/* ===== POLISHED STATISTICS SECTION =====*/
 /* Base styles from your code */
.stats-section {
    background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
    padding: 100px 0 70px;
    position: relative;
    overflow: hidden;
    margin-bottom: 90px;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

.stats-container {
    background: var(--white);
    border-radius: 24px;
    padding: 60px 40px;
    box-shadow: var(--shadow-medium);
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    border: 1px solid var(--border-light);
}

.stats-title {
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: black;
    margin-bottom: 50px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    padding-bottom: 12px;
}

.stats-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-blue), transparent);
}

.stat-item {
    text-align: center;
    padding: 20px 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 8px;
    display: block;
    line-height: 1;
    font-feature-settings: "tnum";
}

.stat-label {
    font-size: 1rem;
    color: #10b981;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* Essential animations only */
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

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

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

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

.stat-item:hover .stat-number {
    animation: pulse 0.5s ease-in-out;
}

/* Responsive Design */
@media (max-width: 992px) {
    .stats-section {
        padding: 80px 0 50px;
        margin-bottom: 70px;
    }
    
    .stats-container {
        padding: 50px 30px;
    }
    
    .stat-number {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    .stats-section {
        padding: 60px 0 40px;
        margin-bottom: 50px;
    }
    
    .stats-container {
        padding: 40px 20px;
        border-radius: 20px;
    }
    
    .row {
        display: flex;
        flex-wrap: wrap;
    }
    
    .col-md-3 {
        width: 50%;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .stats-section {
        padding: 40px 0 30px;
        margin-bottom: 40px;
    }
    
    .stats-container {
        padding: 30px 15px;
    }
    
    .col-6 {
        width: 50%;
    }
    
    .stat-item {
        padding: 15px 10px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .stats-title {
        font-size: 0.9rem;
        margin-bottom: 30px;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .stats-section {
        background: linear-gradient(135deg, #1a1e2b 0%, #0f1219 100%);
    }
    
    .stats-container {
        background: rgba(30, 41, 59, 0.9);
        border-color: rgba(255, 255, 255, 0.05);
    }
    
    .stats-title {
        color: #e2e8f0;
    }
    
    .stat-label {
        color: #94a3b8;
    }
}
             
/* ===== HALL OF FAME – PERFECT BOX ALIGNMENT ===== */
.hall-of-fame-section {
    padding: 30px 0 100px;
    background: var(--hof-grey);
}

.hall-of-fame-section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 60px;
}

.hall-of-fame-section-subtitle {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--hof-primary-blue);
    margin-bottom: 16px;
}

.hall-of-fame-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: black;
    text-align: center;
    margin-bottom: 24px;
    line-height: 1.15;
    position: relative;
    display: inline-block;
}

.hall-of-fame-section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, var(--hof-primary-blue), var(--hof-primary-green));
    border-radius: 3px;
}

.hall-of-fame-section-description {
    font-size: 1.15rem;
    color: var(--hof-medium-gray);
    margin-top: 28px;
}

/* Platforms Grid – FIXED OVERFLOW */
.fame-platforms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 1140px;
    margin: 0 auto 70px;
}

.platform-card {
    background: var(--hof-white);
    border-radius: 24px;
    padding: 32px 28px;
    box-shadow: var(--hof-shadow-subtle);
    border: 1px solid var(--hof-border-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.platform-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--hof-shadow-hover);
}

/* Top accent border */
.platform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.platform-card:hover::before {
    opacity: 1;
}

.hackerone::before { background: linear-gradient(90deg, #4945FF, #0A0A23); }
.intigriti::before { background: linear-gradient(90deg, #00B67A, #008C5E); }
.bugcrowd::before { background: linear-gradient(90deg, #F26822, #D45A1C); }

.platform-badge {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    background: var(--hof-white);
    border: 2px solid var(--hof-border-light);
    padding: 12px;
    transition: transform 0.25s ease;
}

.bugcrowd .platform-badge {
    background: linear-gradient(145deg, #F26822, #D45A1C);
    border: none;
}

.platform-card:hover .platform-badge {
    transform: scale(1.02) translateY(-2px);
}

.platform-logo {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.hackerone .platform-logo,
.intigriti .platform-logo {
    filter: brightness(0.15);
}

.bugcrowd .platform-logo {
    filter: brightness(0) invert(1);
}

.platform-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--hof-border-light);
    flex-wrap: wrap;
    gap: 12px;
}

.platform-header h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--hof-dark-navy);
    letter-spacing: -0.02em;
}

.platform-rank {
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    padding: 6px 16px;
    border-radius: 30px;
    background: var(--hof-primary-blue);
    white-space: nowrap;
}

.intigriti .platform-rank { background: var(--hof-primary-green); }
.bugcrowd .platform-rank { background: var(--hof-primary-orange); }

.platform-description {
    color: var(--hof-medium-gray);
    line-height: 1.65;
    margin-bottom: 28px;
    font-size: 1rem;
}

/* Stats inside cards – perfectly aligned */
.platform-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 22px 18px;
    background: var(--hof-light-bg);
    border-radius: 18px;
    border: 1px solid var(--hof-border-light);
    margin-bottom: 28px;
}

.platform-stats .stat {
    text-align: center;
}

.platform-stats .stat-number {
    font-size: 1rem;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 4px;
}

.platform-stats .stat-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: #10b981;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.platform-achievements {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}

.achievement {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--hof-medium-gray);
    background: var(--hof-light-bg);
    padding: 8px 16px;
    border-radius: 30px;
    border: 1px solid var(--hof-border-light);
    transition: all 0.2s;
}

.platform-card:hover .achievement {
    border-color: transparent;
    background: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.achievement i {
    color: var(--hof-primary-blue);
    font-size: 0.85rem;
}

.platform-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--hof-primary-blue);
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 40px;
    border: 1.5px solid rgba(37,99,235,0.15);
    background: rgba(37,99,235,0.03);
    transition: all 0.25s;
    margin-top: auto;
    width: fit-content;
}

.platform-link:hover {
    background: var(--hof-primary-blue);
    color: white;
    border-color: var(--hof-primary-blue);
    transform: translateX(5px);
    box-shadow: 0 8px 18px rgba(37,99,235,0.2);
}

.platform-link i {
    transition: transform 0.2s;
    font-size: 0.85rem;
}

.platform-link:hover i {
    transform: translateX(4px);
}

/* Closing Section */
.closing-section {
    max-width: 700px;
    margin: 40px auto 0;
    padding: 48px 32px;
    text-align: center;
    position: relative;
    background: var(--hof-white);
    border-radius: 40px;
    border: 1px solid var(--hof-border-light);
    box-shadow: var(--hof-shadow-subtle);
}

.closing-text {
    font-size: 1.35rem;
    color: var(--hof-dark-navy);
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 16px;
}

.closing-highlight {
    color: var(--hof-primary-blue);
    border-bottom: 2px solid rgba(37,99,235,0.2);
    padding-bottom: 2px;
}
.closing-subtext {
    font-size: 1.05rem;
    color: var(--hof-medium-gray);
    max-width: 480px;
    margin: 0 auto;
}

/* ===== RESPONSIVE PERFECTION ===== */
@media (max-width: 992px) {
    .stats-section { padding: 70px 0 40px; }
    .stat-number { font-size: 2.2rem; }
    .section-title { font-size: 2.3rem; }
}

@media (max-width: 768px) {
    .stats-grid { gap: 20px; }
    .stat-card { 
        flex: 1 1 140px; 
        padding: 24px 16px;
    }
    .stat-number { font-size: 1.8rem; }
    
    .fame-platforms {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .section-title { font-size: 2rem; }
    .section-description { font-size: 1.05rem; }
    
    .platform-header { flex-direction: column; align-items: flex-start; }
    .platform-rank { align-self: flex-start; }
    
    .closing-section { padding: 40px 24px; }
    .closing-text { font-size: 1.25rem; }
}

@media (max-width: 576px) {
    .stats-grid { 
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .stat-card { 
        width: 100%;
        min-width: unset;
    }
    
    .platform-stats {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    
    .platform-stats .stat {
        padding-bottom: 14px;
        border-bottom: 1px solid var(--hof-border-light);
    }
    
    .platform-stats .stat:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .platform-achievements { 
        justify-content: flex-start;
    }
    
    .platform-link { 
        width: 100%; 
        justify-content: center;
    }
    
    .closing-text { font-size: 1.15rem; }
    .closing-subtext { font-size: 0.95rem; }
}

@media (max-width: 400px) {
    .stats-grid { grid-template-columns: 1fr; }
    .stat-card { max-width: 260px; margin: 0 auto; }
    
    .platform-card { padding: 28px 20px; }
    .platform-badge { width: 60px; height: 60px; }
    .platform-header h3 { font-size: 1.4rem; }
    
    .platform-achievements { 
        flex-direction: column; 
        align-items: stretch;
    }
    .achievement { 
        width: 100%; 
        justify-content: center;
    }
    }          


/*END OF HoF */

/* Core Competencies */
.core-competencies {
    margin-top: 20px;
}

.competency-item {
    margin-bottom: 25px;
}

.competency-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.competency-title {
    font-weight: 600;
    color: var(--text-light);
    font-size: 1rem;
}

.competency-percentage {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.progress {
    height: 8px;
    background-color: #334155;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    border-radius: 10px;
    background: linear-gradient(90deg, var(--primary-color), #3b82f6);
}

.progress-bar.security {
    background: linear-gradient(90deg, var(--accent-color), #22d3ee);
}

.progress-bar.bug-hunting {
    background: linear-gradient(90deg, var(--secondary-color), #fb923c);
}

.progress-bar.pentesting {
    background: linear-gradient(90deg, #8b5cf6, #a78bfa);
}

/* ===== EXPERTISE SECTION - ISOLATED STYLES ===== */
#expertise-experience {
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    position: relative;
    overflow: hidden;
}

#expertise-experience::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

#expertise-experience .container {
    position: relative;
    z-index: 2;
}

#expertise-experience .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 15px;
    text-align: center;
}

#expertise-experience .lead {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 60px;
    line-height: 1.6;
    text-align: center;
}

#expertise-experience .expertise-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 30px !important;
    margin-bottom: 60px !important;
}

#expertise-experience .professional-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(100, 116, 139, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
}

#expertise-experience .professional-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.5);
}

#expertise-experience .professional-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    border-radius: 16px 0 0 16px;
}

#expertise-experience .professional-card:nth-child(1)::before {
    background: linear-gradient(180deg, var(--primary-color), #1d4ed8);
}

#expertise-experience .professional-card:nth-child(2)::before {
    background: linear-gradient(180deg, var(--secondary-color), #ea580c);
}

#expertise-experience .professional-card:nth-child(3)::before {
    background: linear-gradient(180deg, var(--accent-color), #0891b2);
}

#expertise-experience .professional-card:nth-child(4)::before {
    background: linear-gradient(180deg, var(--success-color), #059669);
}

#expertise-experience .card-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 24px;
}

#expertise-experience .card-icon {
    width: 70px;
    height: 70px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    border: 2px solid;
}

#expertise-experience .card-icon.dev {
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.3);
}

#expertise-experience .card-icon.security {
    background: rgba(249, 115, 22, 0.1);
    border-color: rgba(249, 115, 22, 0.3);
}

#expertise-experience .card-icon.pentest {
    background: rgba(6, 182, 212, 0.1);
    border-color: rgba(6, 182, 212, 0.3);
}

#expertise-experience .card-icon.writing {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
}

#expertise-experience .professional-card:hover .card-icon {
    transform: scale(1.05);
    box-shadow: 0 0 20px currentColor;
}

#expertise-experience .card-icon i {
    font-size: 28px;
}

#expertise-experience .card-icon.dev i { color: #60a5fa; }
#expertise-experience .card-icon.security i { color: #fdba74; }
#expertise-experience .card-icon.pentest i { color: #22d3ee; }
#expertise-experience .card-icon.writing i { color: #34d399; }

#expertise-experience .card-title-content {
    flex: 1;
}

#expertise-experience .card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 6px;
    line-height: 1.3;
}

#expertise-experience .card-role {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 1rem;
    margin-bottom: 8px;
}

#expertise-experience .card-period {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid;
}

#expertise-experience .professional-card:nth-child(1) .card-period {
    background: rgba(37, 99, 235, 0.15);
    color: #60a5fa;
    border-color: rgba(37, 99, 235, 0.3);
}

#expertise-experience .professional-card:nth-child(2) .card-period {
    background: rgba(249, 115, 22, 0.15);
    color: #fdba74;
    border-color: rgba(249, 115, 22, 0.3);
}

#expertise-experience .professional-card:nth-child(3) .card-period {
    background: rgba(6, 182, 212, 0.15);
    color: #22d3ee;
    border-color: rgba(6, 182, 212, 0.3);
}

#expertise-experience .professional-card:nth-child(4) .card-period {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border-color: rgba(16, 185, 129, 0.3);
}

#expertise-experience .card-description {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 28px;
    font-size: 1.05rem;
}

#expertise-experience .skills-section {
    border-top: 1px solid rgba(100, 116, 139, 0.2);
    padding-top: 24px;
    margin-top: 24px;
}

#expertise-experience .skills-title {
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

#expertise-experience .professional-card:nth-child(1) .skills-title {
    color: #60a5fa;
}

#expertise-experience .professional-card:nth-child(2) .skills-title {
    color: #fdba74;
}

#expertise-experience .professional-card:nth-child(3) .skills-title {
    color: #22d3ee;
}

#expertise-experience .professional-card:nth-child(4) .skills-title {
    color: #34d399;
}

#expertise-experience .skills-title::before {
    content: '';
    width: 20px;
    height: 2px;
    border-radius: 1px;
}

#expertise-experience .professional-card:nth-child(1) .skills-title::before {
    background: #60a5fa;
}

#expertise-experience .professional-card:nth-child(2) .skills-title::before {
    background: #fdba74;
}

#expertise-experience .professional-card:nth-child(3) .skills-title::before {
    background: #22d3ee;
}

#expertise-experience .professional-card:nth-child(4) .skills-title::before {
    background: #34d399;
}

#expertise-experience .skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

#expertise-experience .skill-badge {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid;
    transition: all 0.2s ease;
    backdrop-filter: blur(5px);
}

#expertise-experience .professional-card:nth-child(1) .skill-badge {
    background: rgba(37, 99, 235, 0.1);
    color: #93c5fd;
    border-color: rgba(37, 99, 235, 0.2);
}

#expertise-experience .professional-card:nth-child(2) .skill-badge {
    background: rgba(249, 115, 22, 0.1);
    color: #fed7aa;
    border-color: rgba(249, 115, 22, 0.2);
}

#expertise-experience .professional-card:nth-child(3) .skill-badge {
    background: rgba(6, 182, 212, 0.1);
    color: #67e8f9;
    border-color: rgba(6, 182, 212, 0.2);
}

#expertise-experience .professional-card:nth-child(4) .skill-badge {
    background: rgba(16, 185, 129, 0.1);
    color: #6ee7b7;
    border-color: rgba(16, 185, 129, 0.2);
}

#expertise-experience .skill-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-color: currentColor;
}

#expertise-experience .expertise-footer {
    text-align: center;
    padding-top: 60px;
    border-top: 1px solid rgba(100, 116, 139, 0.2);
}

#expertise-experience .footer-text {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

#expertise-experience .action-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

#expertise-experience .action-buttons .btn {
    padding: 14px 32px !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
}

#expertise-experience .action-buttons .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #1d4ed8) !important;
    color: white !important;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3) !important;
}

#expertise-experience .action-buttons .btn-primary:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.4) !important;
    background: linear-gradient(135deg, #1d4ed8, #1e40af) !important;
    color: white !important;
}

#expertise-experience .action-buttons .btn-secondary {
    background: transparent !important;
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color) !important;
}

#expertise-experience .action-buttons .btn-secondary:hover {
    background: rgba(37, 99, 235, 0.1) !important;
    color: #60a5fa !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2) !important;
}

/* ===== RESPONSIVE DESIGN FOR EXPERTISE ===== */
@media (max-width: 1100px) {
    #expertise-experience .expertise-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 25px !important;
        max-width: 900px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

@media (max-width: 768px) {
    #expertise-experience {
        padding: 60px 0;
    }

    #expertise-experience .section-title {
        font-size: 2rem;
    }

    #expertise-experience .lead {
        font-size: 1.1rem;
        padding: 0 20px;
    }

    #expertise-experience .professional-card {
        padding: 30px 25px;
    }

    #expertise-experience .card-header {
        flex-direction: column;
        gap: 16px;
    }

    #expertise-experience .card-icon {
        width: 60px;
        height: 60px;
    }

    #expertise-experience .card-icon i {
        font-size: 24px;
    }

    #expertise-experience .card-title {
        font-size: 1.3rem;
    }

    #expertise-experience .skills-grid {
        justify-content: center;
    }

    #expertise-experience .action-buttons .btn {
        padding: 12px 24px !important;
        font-size: 0.95rem !important;
    }
}

@media (max-width: 767px) {
    #expertise-experience .expertise-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
        max-width: 500px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

@media (max-width: 480px) {
    #expertise-experience .section-title {
        font-size: 1.8rem;
    }

    #expertise-experience .professional-card {
        padding: 25px 20px;
    }

    #expertise-experience .card-description {
        font-size: 1rem;
    }

    #expertise-experience .skills-grid {
        gap: 8px;
    }

    #expertise-experience .skill-badge {
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    #expertise-experience .action-buttons {
        flex-direction: column;
        align-items: center;
    }

    #expertise-experience .action-buttons .btn {
        width: 100% !important;
        max-width: 300px !important;
        justify-content: center !important;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes expertiseFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#expertise-experience .professional-card {
    animation: expertiseFadeInUp 0.6s ease forwards;
    opacity: 0;
}

#expertise-experience .professional-card:nth-child(1) { animation-delay: 0.1s; }
#expertise-experience .professional-card:nth-child(2) { animation-delay: 0.2s; }
#expertise-experience .professional-card:nth-child(3) { animation-delay: 0.3s; }
#expertise-experience .professional-card:nth-child(4) { animation-delay: 0.4s; }


/* Projects Section */
.project-card {
    position: relative !important;
    overflow: hidden !important;
    background: var(--light-card) !important;
    color: var(--dark-text) !important;
    border: none !important;
    transition: all 0.3s ease !important;
    height: 100% !important;
}

.project-img {
    transition: transform 0.5s ease;
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.project-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3) !important;
}

.project-card:hover .project-img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.tech-badge {
    display: inline-block;
    padding: 5px 10px;
    margin: 2px;
    background: var(--primary-color);
    color: white;
    border-radius: 4px;
    font-size: 0.8rem;
}

/* Updated Methodologies Section */
.methodologies-section {
    background: var(--dark-bg);
}

.methodology-card {
    background: var(--card-bg) !important;
    border-radius: 12px !important;
    padding: 30px !important;
    transition: all 0.3s ease !important;
    height: 100% !important;
    text-align: center !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    position: relative !important;
    overflow: hidden !important;
}

.methodology-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2) !important;
    border-color: var(--primary-color) !important;
}

.methodology-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
}

.methodology-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.1);
    line-height: 1;
}

.methodology-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.methodology-card:hover .methodology-icon {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.methodology-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-light);
    text-align: left;
}

.methodology-card p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 20px;
    text-align: left;
}

.methodology-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
    text-align: left;
}

.methodology-tags span {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

/* ===== OWASP HIGHLIGHT - WIDER FOR LAPTOP ===== */
.owasp-highlight {
    background: rgba(30, 41, 59, 0.5) !important;
    border-radius: 12px !important;
    padding: 30px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    max-width: 100% !important;
}

/* Make OWASP box wider on laptop */
@media (min-width: 992px) {
    .owasp-highlight {
        max-width: 95% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

@media (min-width: 1200px) {
    .owasp-highlight {
        max-width: 90% !important;
    }
}

.owasp-highlight h4 {
    color: var(--accent-color);
    font-weight: 600;
}

.owasp-badges {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 12px !important;
    margin-top: 20px !important;
}

.owasp-badge {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color)) !important;
    color: white !important;
    width: 45px !important;
    height: 45px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    cursor: pointer !important;
}

.owasp-badge:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3) !important;
}

.owasp-badge:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark-text);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    z-index: 100;
    margin-bottom: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.owasp-badge:hover::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--dark-text);
    margin-bottom: -2px;
}

.owasp-highlight p.text-muted {
    color: #cbd5e8 !important;
    opacity: 1 !important;
}

/* Testimonials Section */
.testimonials {
    background-color: #1e293b;
    color: var(--text-light);
    text-align: center;
    position: relative;
}

.testimonial-card {
    max-width: 750px;
    margin: auto;
    padding: 25px;
    border-radius: 10px;
    background: var(--light-card);
    color: var(--dark-text);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    position: relative;
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 15px;
}

.client-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 10px;
}

.client-position {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.carousel-control-prev, .carousel-control-next {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
}

.carousel-control-prev {
    left: 15px;
}

.carousel-control-next {
    right: 15px;
}

.carousel-control-prev:hover, .carousel-control-next:hover {
    opacity: 1;
}

/* Certificate Section */
.cert-section {
    background: var(--darker-bg);
}

.cert-card {
    transition: all 0.3s ease !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    background: var(--light-card) !important;
    color: var(--dark-text) !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    border: 1px solid rgba(0, 123, 255, 0.1) !important;
}

.cert-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2) !important;
}

.cert-card a {
    display: block;
    background: white;
    padding: 5px;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.cert-card img {
    width: 95% !important;
    height: auto !important;
    max-height: 200px !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
}

.cert-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    color: black;
    flex-direction: column;
}

.cert-btn {
    margin-top: auto;
    align-self: center;
    padding: 12px 20px;
    font-weight: 600;
    color: grey;
}

/* Certificate Modals */
.cert-modal .modal-content {
    border-radius: 10px;
    border: none;
}

.cert-modal .modal-header {
    background: var(--primary-color);
    color: white;
    border-bottom: none;
    padding: 15px 20px;
}

.cert-modal .modal-title {
    font-weight: 600;
    font-size: 1.2rem;
}

.cert-modal .modal-body {
    padding: 20px;
    background: var(--light-card);
}

.cert-modal-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 350px;
    border-radius: 8px;
    object-fit: contain;
    background: white;
    padding: 5px;
    margin: 0 auto 15px;
    display: block;
}

.cert-modal .text-center a {
    display: block;
    background: white;
    padding: 5px;
    border-radius: 8px;
}

.cert-modal .text-center img {
    width: 98%;
    max-height: 300px;
    object-fit: contain;
}

.cert-details {
    background: white;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    margin-top: 15px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.detail-value {
    font-weight: 600;
    color: var(--dark-text);
    font-size: 0.95rem;
}

.cert-description h6 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1rem;
}

.cert-description p {
    color: var(--dark-text);
    line-height: 1.6;
    font-size: 0.9rem;
}

.cert-modal .modal-footer {
    border-top: 1px solid #e2e8f0;
    padding: 15px 20px;
    background: white;
}

/* Mobile Responsive for certificates */
@media (max-width: 768px) {
    .cert-card img {
        max-height: 180px;
        width: 98%;
    }
    
    .cert-card a {
        padding: 3px;
    }
    
    .cert-content {
        padding: 15px;
    }
    
    .cert-content h5 {
        font-size: 1.1rem;
    }
    
    .cert-modal-img {
        max-height: 250px;
    }
    
    .cert-modal .text-center img {
        max-height: 220px;
        width: 99%;
    }
    
    .cert-modal .modal-body {
        padding: 15px;
    }
    
    .cert-details {
        padding: 12px;
    }
    
    .detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .detail-label,
    .detail-value {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .cert-card img {
        max-height: 160px;
        width: 99%;
    }
    
    .cert-modal .text-center img {
        max-height: 200px;
    }
    
    .cert-modal .modal-header {
        padding: 12px 15px;
    }
    
    .cert-modal .modal-title {
        font-size: 1.1rem;
    }
}

/* ===== BLOG MODAL - WIDER FOR LAPTOP ===== */
.blog-modal .modal-content {
    background: var(--light-card) !important;
    border-radius: 15px !important;
    overflow: hidden !important;
    max-width: 900px !important;
    margin: 0 auto !important;
}

/* Make blog modal even wider on larger screens */
@media (min-width: 1200px) {
    .blog-modal .modal-dialog {
        max-width: 950px !important;
    }
}

@media (min-width: 1400px) {
    .blog-modal .modal-dialog {
        max-width: 1000px !important;
    }
}

/* Keep mobile perfect */
@media (max-width: 768px) {
    .blog-modal .modal-dialog {
        margin: 10px !important;
        max-width: calc(100% - 20px) !important;
    }
    
    .blog-modal .modal-content {
        max-width: 100% !important;
    }
}

/* ===== BLOG SECTION ===== */
.search-container {
    display: flex;
    width: 100%;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    gap: 0;
    max-width: 600px;
    margin: 20px auto;
    flex-wrap: nowrap !important;
}

/* Default desktop styles */
.search-input {
    flex: 0 0 50%;
    border: none;
    padding: 12px 15px;
    outline: none;
    background: white;
    color: #333;
    border-radius: 0;
    width: 50%;
}

.search-btn, .clear-btn {
    flex: 0 0 20%;
    width: 20% !important;
    border: none;
    border-radius: 0 !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    margin: 0 !important;
    min-width: 0;
    position: relative;
    overflow: hidden;
}

/* MOBILE ONLY - Force exact widths */
@media (max-width: 768px) {
    .search-container {
        max-width: 100%;
        margin: 20px 0px;
        width: calc(100% - 0px) !important;
    }
    
    /* Input: Exactly 50% */
    .search-input {
        flex: 0 0 50% !important;
        width: 50% !important;
        max-width: 50% !important;
        min-width: 50% !important;
        padding: 10px 12px;
        box-sizing: border-box;
    }
    
    /* Buttons: Exactly 20% each - HIDE TEXT, USE ICONS */
    .search-btn, .clear-btn {
        flex: 0 0 25% !important;
        width: 20% !important;
        max-width: 25% !important;
        min-width: 25% !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box;
    }
    
    /* HIDE ALL TEXT INSIDE BUTTONS */
    .search-btn > *,
    .clear-btn > * {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
        font-size: 0 !important;
    }
    
    /* Force icons only */
    .search-btn::before {
        content: "🔍";
        font-size: 15px;
        display: block;
    }
    
    .clear-btn::before {
        content: "✕";
        font-size: 15px;
        font-weight: bold;
        display: block;
    }
    
    /* Reset any inherited styles */
    .search-btn span,
    .clear-btn span,
    .search-btn i,
    .clear-btn i {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        opacity: 0 !important;
    }
}

/* Button colors (keep these) */
.search-btn {
    background-color: #28a745 !important;
    color: white !important;
    border: none !important;
}

.search-btn:hover {
    background-color: #218838 !important;
}

.clear-btn {
    background-color: #dc3545 !important;
    color: white !important;
    border: none !important;
}

.clear-btn:hover {
    background-color: #c82333 !important;
}

.blog-section {
    background: var(--dark-bg);
}

.blog-card {
    background: var(--light-card);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    color: var(--dark-text);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.blog-img {
    height: 200px;
    object-fit: cover;
    width: 100%;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-img {
    transform: scale(1.05);
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.blog-date {
    margin-right: 15px;
}

.blog-category {
    background: var(--primary-color);
    color: white;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-excerpt {
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.blog-tags {
    margin-bottom: 15px;
}

.blog-tag {
    display: inline-block;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    margin: 2px;
}

.blog-read-more {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.blog-read-more:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

/* Blog Controls */
.blog-controls {
    margin-bottom: 30px;
}

#search-results-info, #no-results-message {
    max-width: 600px;
    margin: 0 auto 30px;
}

.view-all-section {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== WIDER BLOG MODAL ===== */
.blog-modal .modal-content {
    background: var(--light-card) !important;
    border-radius: 15px !important;
    overflow: hidden !important;
    max-width: 900px !important;
    margin: 0 auto !important;
}

@media (min-width: 1200px) {
    .blog-modal .modal-dialog {
        max-width: 950px !important;
    }
}

@media (min-width: 1400px) {
    .blog-modal .modal-dialog {
        max-width: 1000px !important;
    }
}

.blog-modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color)) !important;
    color: white !important;
    padding: 25px !important;
    position: relative !important;
}

.blog-modal-title {
    font-size: 1.8rem !important;
    margin-bottom: 10px !important;
}

.blog-modal-body {
    padding: 20px 0 !important;
    max-height: 70vh !important;
    overflow-y: auto !important;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.blog-content h2, .blog-content h3 {
    margin-top: 25px;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 20px;
}

.blog-content p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.blog-content ul, .blog-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.blog-content li {
    margin-bottom: 8px;
}

.blog-content code {
    background: rgba(0, 0, 0, 0.05);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
}

.blog-content pre {
    background: var(--dark-bg);
    color: var(--text-light);
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
}

.blog-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: var(--text-muted);
}

.blog-back-button {
    background: var(--primary-color) !important;
    border: none !important;
    color: white !important;
    padding: 10px 25px !important;
    border-radius: 30px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.blog-back-button:hover {
    background: var(--secondary-color) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2) !important;
}

/* PROFESSIONAL BLOG STYLES */
.blog-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #e8e8e8;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.blog-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: #666;
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 12px 0;
    color: #1a1a1a;
}

.blog-excerpt {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 16px;
    flex: 1;
}

.blog-reading-info {
    margin-bottom: 15px;
}

.read-time {
    font-size: 0.85rem;
    color: #666;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}

.tag {
    background: #f0f7ff;
    color: #0066cc;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.blog-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.share-link-btn {
    background: transparent !important;
    border: 1px solid #ddd !important;
    color: #666 !important;
    padding: 8px 16px !important;
    border-radius: 4px !important;
    font-size: 0.9rem !important;
}

.share-link-btn:hover {
    background: #f8f9fa !important;
    border-color: #0066cc !important;
    color: #0066cc !important;
}

.read-more-btn {
    color: #0066cc !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 0 !important;
    text-decoration: none !important;
}

.read-more-btn:hover {
    color: #004d99 !important;
    gap: 12px !important;
}

.blog-modal-content {
    border-radius: 12px;
    border: none;
    max-width: 800px;
}

.blog-modal-header {
    border-bottom: 1px solid #eee;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-header-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.blog-date-modal {
    font-size: 0.9rem;
    color: black;
}

.share-btn-large {
    background: #f0f7ff !important;
    border: none !important;
    color: #0066cc !important;
    padding: 8px 16px !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.share-btn-large:hover {
    background: #0066cc !important;
    color: white !important;
}

@media (max-width: 768px) {
    .close-btn {
        display: none !important;
    }
    
    .blog-modal-header {
        padding: 15px 20px !important;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .blog-header-content {
        width: 100%;
        justify-content: space-between;
    }
}

@media (min-width: 769px) {
    .close-btn {
        display: block;
        background: none;
        border: none;
        color: #666;
        font-size: 1.2rem;
        cursor: pointer;
        padding: 8px;
        border-radius: 50%;
        transition: all 0.2s ease;
    }
    
    .close-btn:hover {
        background: #f8f9fa;
        color: #333;
    }
}

.blog-modal-body {
    padding: 0;
}

.blog-article-full {
    max-width: 720px;
    margin: 0 auto;
    padding: 30px 0;
}

.article-header-full {
    padding: 0 25px 25px;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
}

.article-title-full {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.article-meta-full {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: #666;
}

.article-featured-image {
    margin: 25px 0;
}

.article-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.article-content-full {
    padding: 0 25px;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
}

.article-content-full h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 40px 0 15px 0;
    color: #1a1a1a;
}

.article-content-full h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 30px 0 12px 0;
    color: #1a1a1a;
}

.article-content-full p {
    margin-bottom: 20px;
}

.styled-list li {
    background: #f8f9fa;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 10px;
    border-left: 3px solid #0066cc;
}

.info-box {
    background: #f0f7ff;
    border-left: 4px solid #0066cc;
    padding: 15px;
    border-radius: 6px;
    margin: 20px 0;
}

.info-box h4 {
    color: #0066cc;
    margin-top: 0;
}

pre {
    background: #1e1e1e;
    color: #f8f8f2;
    padding: 15px;
    border-radius: 6px;
    overflow-x: auto;
    margin: 20px 0;
    font-size: 0.9rem;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin: 25px 0;
}

.impact-item {
    background: white;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 20px 15px;
    text-align: center;
}

.impact-icon {
    font-size: 1.5rem;
    margin-bottom: 10px;
    display: block;
}

.impact-item h5 {
    margin: 0 0 8px 0;
    color: #333;
    font-size: 0.95rem;
}

.impact-item p {
    margin: 0;
    color: #666;
    font-size: 0.85rem;
}

.timeline {
    margin: 30px 0;
    position: relative;
    padding-left: 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #0066cc;
}

.timeline h4 {
    margin-bottom: 15px;
    color: #333;
    font-size: 1.1rem;
}

.timeline-item {
    position: relative;
    margin-bottom: 15px;
    padding-left: 15px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 8px;
    width: 10px;
    height: 10px;
    background: white;
    border: 2px solid #0066cc;
    border-radius: 50%;
}

.timeline-date {
    font-weight: 600;
    color: #0066cc;
    margin-bottom: 5px;
    font-size: 0.85rem;
}

.key-takeaway {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin: 30px 0;
    border-left: 4px solid #0066cc;
}

.key-takeaway h3 {
    color: #0066cc;
    margin-top: 0;
    font-size: 1.2rem;
}

.article-footer-full {
    padding: 30px 25px 0;
    border-top: 1px solid #eee;
    margin-top: 30px;
}

.article-tags-full {
    margin-bottom: 30px;
}

.article-tags-full strong {
    display: block;
    margin-bottom: 10px;
    color: #333;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.article-tag {
    background: #f0f7ff;
    color: #0066cc;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
}

.share-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.share-section h5 {
    margin: 0 0 10px 0;
    color: #333;
}

.share-section p {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.share-link-container {
    display: flex;
}

.share-link-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 4px 0 0 4px;
    font-size: 0.9rem;
    background: white;
}

.copy-link-btn {
    background: #0066cc !important;
    color: white !important;
    border: none !important;
    padding: 10px 20px !important;
    border-radius: 0 4px 4px 0 !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
}

.copy-link-btn:hover {
    background: #004d99 !important;
}

.blog-modal-footer {
    border-top: 1px solid #eee;
    padding: 15px 25px;
    display: flex;
    justify-content: center;
}

.close-article-btn {
    background: transparent !important;
    border: 1px solid #ddd !important;
    color: #666 !important;
    padding: 8px 20px !important;
    border-radius: 4px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 0.9rem !important;
}

.close-article-btn:hover {
    background: #f8f9fa !important;
    border-color: #999 !important;
    color: #333 !important;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translateY(-5px); }
    20% { opacity: 1; transform: translateY(0); }
    80% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-5px); }
}

.share-feedback {
    position: absolute;
    background: #28a745;
    color: white;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 0.8rem;
    animation: fadeInOut 2s ease;
    opacity: 0;
    pointer-events: none;
    z-index: 100;
}

@media (max-width: 768px) {
    .blog-modal-content {
        margin: 0;
        border-radius: 0;
    }
    
    .article-title-full {
        font-size: 1.5rem;
    }
    
    .article-content-full {
        padding: 0 15px;
        font-size: 1rem;
    }
    
    .share-link-container {
        flex-direction: column;
    }
    
    .share-link-input {
        border-radius: 4px 4px 0 0;
        border-right: 1px solid #ddd;
        margin-bottom: -1px;
    }
    
    .copy-link-btn {
        border-radius: 0 0 4px 4px !important;
        justify-content: center !important;
    }
}

@media (min-width: 769px) and (max-width: 991px) {
    .blog-modal .modal-dialog {
        max-width: 90% !important;
        margin: 30px auto !important;
    }
}

/* Contact Section */
.contact-form .form-control {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    padding: 12px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.25);
}

.contact-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.contact-info {
    background: var(--card-bg) !important;
    color: var(--text-light) !important;
}

.contact-info .card-title {
    color: var(--primary-color);
}

.contact-info ul li {
    color: var(--text-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.contact-info ul li:last-child {
    border-bottom: none;
}

/* Footer */
footer {
    background: var(--darker-bg);
    color: var(--text-light);
    position: relative;
}

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    margin: 0 8px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1.2rem;
    display: none;
}

/* For tablets and larger screens (min-width: 768px) */
@media (min-width: 768px) {
    .back-to-top {
        width: 60px;
        height: 60px;
        line-height: 55px;
        font-size: 1.8rem;
        bottom: 30px;
        right: 30px;
    }
}

/* For desktops and laptops (min-width: 1024px) */
@media (min-width: 1024px) {
    .back-to-top {
        width: 65px;
        height: 65px;
        line-height: 65px;
        font-size: 2.2rem;
        bottom: 40px;
        right: 40px;
    }
}

/* For large desktops (min-width: 1440px) */
@media (min-width: 1440px) {
    .back-to-top {
        width: 75px;
        height: 75px;
        line-height: 75px;
        font-size: 2.5rem;
        bottom: 50px;
        right: 50px;
    }
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    transform: scale(1.1) translateY(-5px);
}

/* Modal Styling */
.modal-content {
    background: var(--light-card);
    color: var(--dark-text);
    border: none;
    border-radius: 10px;
}

.btn-close {
    filter: invert(1);
    opacity: 0.7;
}

.btn-close:hover {
    opacity: 1;
}

.modal-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.modal-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Resume Modal CSS - Matches Your Style */
.resume-modal .modal-dialog {
    max-width: 100%;
    width: 95%;
    margin: 10px;
    padding: 10px;
}
.resume-modal .modal-content {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    width: 100%;
    margin-top: 20px ;
}

/* Header */
.resume-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem 2rem 1.5rem;
    color: white;
    text-align: center;
    position: relative;
}

.back-button {
    position: absolute;
    left: 1.5rem;
    top: 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.3);
}

.resume-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
}

.resume-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.resume-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.resume-header p {
    font-size: 1rem;
    opacity: 0.95;
}

.resume-contact-info {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.85rem;
}

.resume-contact-info span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Body */
.resume-body {
    padding: 2rem;
    background: #ffffff;
}

/* Sections */
.resume-section {
    margin-bottom: 1.75rem;
}

.resume-section-title {
    font-size: 1rem;
    font-weight: 600;
    color: #2d3748;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #667eea;
    text-transform: uppercase;
}

.summary-text {
    color: #4a5568;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

/* Quick Stats */
.quick-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 0.75rem 0;
    border-top: 1px solid #edf2f7;
    border-bottom: 1px solid #edf2f7;
}

.stat-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem 1rem;
    background: #f7fafc;
    border-radius: 8px;
    flex: 1;
}

.stat-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: #10b981;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.7rem;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Resume Items */
.resume-item {
    margin-bottom: 1.25rem;
}

.resume-item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.25rem;
}

.resume-item-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0;
}

.resume-item-date {
    font-size: 0.8rem;
    color: #667eea;
    font-weight: 500;
}

.resume-item-desc {
    font-size: 0.9rem;
    color: #4a5568;
    margin-bottom: 0.25rem;
}

.resume-item-tech {
    font-size: 0.8rem;
    color: #718096;
    font-style: italic;
    margin-bottom: 0;
}

/* Skills */
.skills-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skills-category {
    margin-bottom: 0.5rem;
}

.category-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background: #f7fafc;
    color: #4a5568;
    padding: 0.35rem 0.9rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
}

.skill-tag:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.skill-tag.soft {
    background: #f0f9ff;
    border-color: #b6d4fe;
    color: #2c5282;
}
/* Social links*/
.social-media-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.social-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    flex-wrap: wrap;
}

.social-item i {
    width: 20px;
    color: var(--accent);
    font-size: 1.1rem;
}

.social-item span:first-of-type {
    min-width: 80px;
    color: #2d3748;
    font-weight: 500;
}

.social-link-text {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.9rem;
}

.social-link-text:hover {
    text-decoration: underline;
}

/* Certifications */
.cert-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: #4a5568;
}

.cert-item i {
    color: #667eea;
    font-size: 0.9rem;
}

/* Languages */
.language-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.language-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.25rem 0;
    border-bottom: 1px dashed #edf2f7;
}

.language-item:last-child {
    border-bottom: none;
}

.language-level {
    font-size: 0.8rem;
    color: #667eea;
    font-weight: 500;
}

/* Download Button */
.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s;
    border: none;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(102, 126, 234, 0.4);
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .resume-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .resume-header h3 {
        font-size: 1.5rem;
    }
    
    .resume-contact-info {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .resume-body {
        padding: 1.5rem;
    }
    
    .quick-stats {
        flex-wrap: wrap;
    }
    
    .stat-badge {
        min-width: calc(50% - 0.5rem);
    }
    
    .resume-item-header {
        flex-direction: column;
        gap: 0.25rem;
    }
}

@media (max-width: 480px) {
    .resume-avatar {
        width: 80px;
        height: 80px;
    }
    
    .resume-header h3 {
        font-size: 1.25rem;
    }
    
    .back-button {
        left: 1rem;
        top: 1rem;
    }
}

/* Success Popup */
.success-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.success-popup.active {
    opacity: 1;
    visibility: visible;
}

.success-popup-content {
    background: var(--popup-bg);
    color: var(--popup-text);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.success-popup.active .success-popup-content {
    transform: translateY(0);
}

.success-popup-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #ff7e5f, #feb47b);
}

.success-icon {
    font-size: 4rem;
    color: #4ade80;
    margin-bottom: 20px;
}

.success-popup h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #feb47b;
}

.success-popup p {
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.success-popup .btn {
    background: linear-gradient(to right, #ff7e5f, #feb47b) !important;
    border: none !important;
    color: white !important;
    padding: 10px 25px !important;
    border-radius: 30px !important;
    font-weight: 600 !important;
}

.success-popup .btn:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2) !important;
}

/* Interactive Elements */
.floating {
    animation: floating 3s ease-in-out infinite;
}

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

.pulse {
    animation: pulse 2s infinite;
}

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

.hover-lift {
    transition: transform 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

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

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .testimonial-card {
        max-width: 735px;
    }
}

@media (max-width: 992px) {
    .navbar-nav {
        text-align: center;
        padding: 10px 0;
    }
    
    .hero-tagline {
        margin: 0 20px;
        font-size: 16px;
    }
    
    .testimonial-card {
        max-width: 90%;
    }
    
    .carousel-control-prev, .carousel-control-next {
        width: 35px;
        height: 35px;
    }
    
    .carousel-control-prev {
        left: 10px;
    }
    
    .carousel-control-next {
        right: 10px;
    }
    
    .owasp-badges {
        gap: 10px;
    }
    
    .owasp-badge {
        width: 45px;
        height: 45px;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0 !important;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
    
    .hero-tagline {
        font-size: 14px;
        padding: 8px 15px;
    }
    
    .testimonial-card {
        padding: 5%;
        max-width: 98%;
        margin: 0px;
    }
    
    .testimonial-text {
        font-size: 1.1rem;
    }
    
    .success-popup-content {
        padding: 30px;
    }
    
    .success-icon {
        font-size: 3rem;
    }
    
    .success-popup h3 {
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stats-container {
        padding: 20px;
    }
    
    .resume-header {
        padding: 20px;
    }
    
    .resume-body {
        padding: 20px;
    }
    
    .back-button {
        top: 15px;
        left: 15px;
        width: 35px;
        height: 25px;
        color: black;
        font-weight: 800;
    }
    
    .blog-modal-header {
        padding: 10px;
    }
    
    .blog-modal-header h3 {
        font-size: 22px;
        margin: 5px;
        color: white;
    }
    
    .blog-modal-body {
        padding: 0px;
    }
    
    .cert-modal .modal-body {
        padding: 20px;
    }
    
    .cert-details {
        padding: 15px;
    }
    
    .detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .methodology-card {
        padding: 25px !important;
    }
    
    .methodology-card h4 {
        font-size: 1.2rem;
    }
    
    .methodology-icon {
        font-size: 2.2rem;
    }
    
    .methodology-number {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .display-3 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .social-icons a {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .hero-tagline {
        font-size: 12px;
        padding: 6px 12px;
        margin: 0 15px;
    }
    
    .testimonial-card {
        padding: 8px;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .carousel-control-prev, .carousel-control-next {
        width: 30px;
        height: 30px;
    }
    
    .carousel-control-prev {
        left: 5px;
    }
    
    .carousel-control-next {
        right: 5px;
    }
    
    .success-popup-content {
        padding: 20px;
    }
    
    .success-icon {
        font-size: 2.5rem;
    }
    
    .success-popup h3 {
        font-size: 1.3rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .stats-container {
        padding: 15px;
    }
    
    .resume-header {
        padding: 15px;
    }
    
    .resume-body {
        padding: 15px;
    }
    
    .resume-avatar {
        width: 100px;
        height: 100px;
    }
    
    .back-button {
        top: 10px;
        left: 10px;
        width: 30px;
        height: 30px;
    }
    
    .methodology-card {
        padding: 20px !important;
    }
    
    .methodology-card p {
        font-size: 0.9rem;
    }
    
    .methodology-tags span {
        font-size: 0.75rem;
        padding: 4px 10px;
    }
    
    .owasp-badge {
        width: 40px;
        height: 40px;
        font-size: 0.8rem;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center !important;
}

.mt-3 {
    margin-top: 1rem !important;
}

.mt-4 {
    margin-top: 1.5rem !important;
}

.mt-5 {
    margin-top: 3rem !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.d-flex {
    display: flex !important;
}

.justify-content-center {
    justify-content: center !important;
}

.align-items-center {
    align-items: center !important;
}

.flex-column {
    flex-direction: column !important;
}

.flex-wrap {
    flex-wrap: wrap !important;
}

.w-100 {
    width: 100% !important;
}

.h-100 {
    height: 100%;
}

/* Grid system for responsiveness */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col {
    flex: 1 0 0%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 768px) {
    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .col-md-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    
    .col-md-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (max-width: 767px) {
    .col-sm-12 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }
}

/* Fix for mobile desktop mode */
@media (hover: hover) and (pointer: fine) {
    .navbar-nav .nav-link:hover::after {
        width: 80%;
    }
}

@media (hover: none) and (pointer: coarse) {
    .navbar-nav .nav-link:active {
        color: var(--accent-color) !important;
        background: rgba(255, 255, 255, 0.05);
    }
}
