/* ====================================
   Variables & Reset - UPDATED COLORS
   ==================================== */
:root {
    --primary-color: #F7931E;
    --secondary-color: #C49A6C;
    --dark-color: #2B2B2B;
    --light-color: #F2F2F2;
    --black: #000000;
    --white: #FFFFFF;
    --gradient-1: linear-gradient(135deg, #F7931E 0%, #C49A6C 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    overflow-x: hidden;
    background: var(--white);
    position: relative;
    width: 100%;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

/* ====================================
   Navbar Styles - COMPACT HEIGHT
   ==================================== */
.navbar {
    background: rgba(0, 0, 0, 0.95) !important;
    backdrop-filter: blur(10px);
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 100vw;
    z-index: 1050;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.98) !important;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
    padding: 0.3rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white) !important;
    transition: transform 0.3s ease;
}

.navbar-brand i {
    color: var(--primary-color);
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.btn-register {
    background: linear-gradient(135deg, #F7931E 0%, #C49A6C 100%);
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    margin-left: 1rem;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(247, 147, 30, 0.4);
    color: white !important;
}

/* ====================================
   Logo Container - BIGGER BUT COMPACT
   ==================================== */
.logo {
    display: flex;
    align-items: center;
    height: 60px;
    width: auto;
    background: transparent;
    padding: 0.3rem 0;
}

.logo img {
    height: auto;
    max-height: 60px; /* matches your .logo container height */
    width: auto;
    max-width: 180px;
    display: block;
    object-fit: contain; /* Prevents distortion */
    transition: transform 0.3s ease;
    background: transparent;
}


.logo img:hover {
    transform: scale(1.05);
}

/*For iphone*/
@media (max-width: 768px) {
    .logo {
        height: 50px;
        padding: 0.2rem 0;
    }
    
    .logo img {
        max-height: 46px; /* slightly less than container */
        max-width: 150px;
    }
}

@media (max-width: 576px) {
    .logo {
        height: 45px;
    }
    
    .logo img {
        max-height: 41px;
        max-width: 130px;
    }
}

.logo img {
    -webkit-transform: translateZ(0); /* Forces GPU acceleration */
    -webkit-backface-visibility: hidden; /* Prevents flickering */
}
.navbar-brand img {
    max-width: 11vw; /* Adjust value as needed */
    height: auto;
    display: block;
}

/* ====================================
   Enhanced Hero Section - MOBILE SCROLL FIX
   ==================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #2B2B2B 0%, #000000 100%);
    padding-top: 80px;
    padding-bottom: 60px;
    margin-top: 0;
    width: 100%;
}

#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* FIXED: Remove orange animation, keep only dark */
.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    opacity: 0.8;
    z-index: 2;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 3;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    filter: blur(60px);
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    top: 10%;
    left: 10%;
    animation: float 20s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary-color);
    top: 50%;
    right: 10%;
    animation: float 15s ease-in-out infinite reverse;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: var(--primary-color);
    bottom: 10%;
    left: 30%;
    animation: float 18s ease-in-out infinite;
}

.shape-4 {
    width: 350px;
    height: 350px;
    background: var(--secondary-color);
    top: 30%;
    right: 30%;
    animation: float 22s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -50px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    color: white;
    text-align: center;
    width: 100%;
}

.hero-badge {
    display: inline-block;
    background: rgba(247, 147, 30, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(247, 147, 30, 0.3);
}

.hero-badge i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.5);
}

.hero-title .word {
    display: inline-block;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    margin: 0 10px;
}

.hero-title .word:nth-child(1) { animation-delay: 0.1s; }
.hero-title .word:nth-child(2) { animation-delay: 0.2s; }
.hero-title .word:nth-child(3) { animation-delay: 0.3s; }
.hero-title .word:nth-child(4) { animation-delay: 0.4s; }
.hero-title .word:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gradient-text {
    background: linear-gradient(45deg, #F7931E, #C49A6C, #F7931E);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    to {
        background-position: 200% center;
    }
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 300;
    line-height: 1.6;
}

.typed-text {
    font-weight: 600;
    color: var(--primary-color);
}

.typing-cursor {
    font-weight: 600;
    color: var(--primary-color);
    animation: blink 0.8s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

/* FIXED: Remove white gradient on hover */
.btn-glow {
    position: relative;
    overflow: hidden;
    background: var(--primary-color);
    color: white !important;
    border: none;
    padding: 1rem 2.5rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(247, 147, 30, 0.3);
    text-decoration: none;
    display: inline-block;
}

.btn-glow:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(247, 147, 30, 0.5);
    background: #e68416;
    color: white !important;
}

.btn-outline-light {
    border: 2px solid white;
    color: white !important;
    padding: 1rem 2.5rem;
    font-weight: 700;
    border-radius: 50px;
    background: transparent;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-outline-light:hover {
    background: rgba(247, 147, 30, 0.2);
    color: white !important;
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(247, 147, 30, 0.3);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.stat-item {
    background: rgba(247, 147, 30, 0.15);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    border: 1px solid rgba(247, 147, 30, 0.2);
    min-width: 150px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(247, 147, 30, 0.25);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 500;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid white;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 10px;
    margin: 0 auto 10px;
}

.wheel {
    width: 4px;
    height: 10px;
    background: white;
    border-radius: 2px;
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(15px);
    }
}

.scroll-indicator p {
    font-size: 0.85rem;
    color: white;
    margin: 0;
    opacity: 0.8;
    font-weight: 500;
}

/* ====================================
   About Section - DARK THEME
   ==================================== */
.about-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2B2B2B 100%);
    overflow: hidden;
    width: 100%;
}

.about-section .section-title {
    color: var(--white);
}

.about-section .section-title::after {
    background: var(--gradient-1);
}

.about-section .lead {
    color: #e2e8f0;
}

.about-section .text-muted {
    color: #94a3b8 !important;
}

.about-image-wrapper {
    position: relative;
}

.about-image-wrapper img {
    width: 100%;
    object-fit: cover;
    border: 3px solid rgba(247, 147, 30, 0.3);
}

.about-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #2B2B2B 0%, #1a1a1a 100%);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 2px solid rgba(247, 147, 30, 0.3);
}

.about-badge i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.about-badge h4 {
    font-size: 2rem;
    font-weight: 800;
    margin: 0;
    color: var(--white);
}

.about-badge p {
    font-size: 0.9rem;
    margin: 0;
    color: #94a3b8;
}

.about-features {
    margin-top: 2rem;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(247, 147, 30, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(247, 147, 30, 0.2);
}

.about-feature:hover {
    background: rgba(247, 147, 30, 0.1);
    transform: translateX(10px);
    border-color: var(--primary-color);
}

.about-feature i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.about-feature h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.about-feature p {
    margin: 0;
    color: #94a3b8;
    font-size: 0.95rem;
}

/* ====================================
   Section Padding & Titles
   ==================================== */
section {
    padding: 80px 0;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
    display: inline-block;
    color: var(--dark-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-1);
    border-radius: 2px;
}

.section-title.text-start::after {
    left: 0;
    transform: translateX(0);
}

.section-title.text-white {
    color: var(--white) !important;
}

/* ====================================
   Services Section - DARK THEME
   ==================================== */
#services {
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
    overflow-x: hidden;
    width: 100%;
}

#services .section-title {
    color: var(--white);
}

#services .text-muted {
    color: #94a3b8 !important;
}

#services .container {
    max-width: 100%;
    overflow: hidden;
}

#services .row {
    margin-left: -12px;
    margin-right: -12px;
}

#services .col-lg-4,
#services .col-md-6 {
    padding-left: 12px;
    padding-right: 12px;
}

.service-card {
    background: linear-gradient(135deg, #2B2B2B 0%, #1a1a1a 100%);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    height: 100%;
    border: 2px solid rgba(247, 147, 30, 0.1);
    max-width: 100%;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(247, 147, 30, 0.3);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #333333 0%, #2B2B2B 100%);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: rotateY(360deg) scale(1.1);
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.service-card p {
    color: #94a3b8;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    padding: 0.5rem 0;
    color: #94a3b8;
    display: flex;
    align-items: center;
}

.service-features i {
    color: var(--primary-color);
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

/* ====================================
   Track Record Section
   ==================================== */
.bg-gradient-primary {
    background: var(--gradient-1);
    color: white;
    overflow: hidden;
    width: 100%;
}

.stat-card {
    padding: 2rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.stat-card h3 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-card p {
    font-size: 1.1rem;
    margin: 0;
}

.counter::after {
    content: '+';
    color: white;
    margin-left: 2px;
}

.counter.no-plus::after {
    content: '';
}

/* ====================================
   Projects Section - DARK THEME
   ==================================== */
.projects-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    overflow: hidden;
    width: 100%;
}

.projects-section .section-title {
    color: var(--white);
}

.projects-section .text-muted {
    color: #94a3b8 !important;
}

.project-card {
    background: linear-gradient(135deg, #2B2B2B 0%, #1a1a1a 100%);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    height: 100%;
    border: 2px solid rgba(247, 147, 30, 0.1);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(247, 147, 30, 0.3);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #333333 0%, #2B2B2B 100%);
}

.project-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 2px solid rgba(247, 147, 30, 0.2);
}

.project-content {
    padding: 1.5rem;
}

.project-category {
    display: inline-block;
    background: linear-gradient(135deg, #F7931E 0%, #C49A6C 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.project-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--white);
}

.project-card p {
    color: #94a3b8;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tech-badge {
    background: rgba(247, 147, 30, 0.1);
    color: #cbd5e1;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(247, 147, 30, 0.2);
}

.project-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.project-link:hover {
    gap: 1rem;
}

/* ====================================
   Compact Testimonials Section - DARK THEME
   ==================================== */
.testimonials-section {
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
    padding: 80px 0;
    overflow: hidden;
    width: 100%;
}

.testimonials-section .section-title {
    color: var(--white);
}

.testimonials-section .text-muted {
    color: #94a3b8 !important;
}

.testimonial-slider-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 60px;
}

.testimonial-container {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.testimonial-item {
    display: none;
    animation: fadeIn 0.5s ease;
}

.testimonial-item.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-compact-card {
    background: linear-gradient(135deg, #2B2B2B 0%, #1a1a1a 100%);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    border: 2px solid rgba(247, 147, 30, 0.1);
    transition: all 0.3s ease;
}

.testimonial-compact-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(247, 147, 30, 0.3);
    background: linear-gradient(135deg, #333333 0%, #2B2B2B 100%);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.testimonial-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(247, 147, 30, 0.3);
}

.testimonial-author-info {
    flex: 1;
}

.testimonial-author-info h5 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--white);
}

.testimonial-author-info p {
    font-size: 0.95rem;
    color: #94a3b8;
    margin: 0 0 0.5rem 0;
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
}

.testimonial-rating i {
    color: var(--primary-color);
    font-size: 1rem;
}

.testimonial-text {
    color: #cbd5e1;
    line-height: 1.8;
    font-size: 1.05rem;
    font-style: italic;
    margin: 0;
}

.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(247, 147, 30, 0.1);
    border: 2px solid rgba(247, 147, 30, 0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    font-size: 1.2rem;
    color: var(--white);
}

.testimonial-nav:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.testimonial-prev {
    left: 0;
}

.testimonial-next {
    right: 0;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(247, 147, 30, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.testimonial-dot:hover {
    background: rgba(247, 147, 30, 0.4);
    transform: scale(1.2);
}

.testimonial-dot.active {
    background: var(--primary-color);
    width: 35px;
    border-radius: 6px;
}

/* ====================================
   Contact Section - DARK THEME
   ==================================== */
#contact {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%) !important;
    overflow: hidden;
    width: 100%;
}

#contact .section-title {
    color: var(--white);
}

#contact .lead {
    color: #e2e8f0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #2B2B2B 0%, #1a1a1a 100%);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid rgba(247, 147, 30, 0.1);
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(247, 147, 30, 0.2);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #333333 0%, #2B2B2B 100%);
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 1rem;
    min-width: 40px;
}

.contact-item h5 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.contact-item p {
    color: #94a3b8;
    margin: 0;
}

.contact-form-wrapper {
    background: linear-gradient(135deg, #2B2B2B 0%, #1a1a1a 100%);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(247, 147, 30, 0.1);
    max-width: 100%;
    overflow: hidden;
}

.form-control {
    padding: 12px;
    border: 2px solid rgba(247, 147, 30, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 100%;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
}

.form-control::placeholder {
    color: #94a3b8;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(247, 147, 30, 0.2);
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
}

.btn-primary {
    background: var(--gradient-1);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 8px;
    color: white;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(247, 147, 30, 0.3);
}

/* ====================================
   Advanced Footer - BIGGER LOGO & PROPER LAYOUT
   ==================================== */
.advanced-footer {
    position: relative;
    background: linear-gradient(135deg, #2B2B2B 0%, #000000 100%);
    color: #e2e8f0;
    overflow: hidden;
    width: 100%;
}

.footer-main {
    padding: 60px 0 40px;
}

.footer-widget {
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 1.5rem;
}

.footer-logo img.footer-logo-img {
    height: 80px;
    width: auto;
    max-width: 100%;
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-logo img.footer-logo-img:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.footer-logo i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.footer-logo h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.footer-description {
    color: #cbd5e1;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    margin-top: 1rem;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-btn {
    width: 45px;
    height: 45px;
    background: rgba(247, 147, 30, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid rgba(247, 147, 30, 0.2);
}

.social-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(247, 147, 30, 0.3);
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a i {
    font-size: 0.75rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-links a:hover i {
    transform: translateX(5px);
}

.newsletter-text {
    color: #cbd5e1;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.newsletter-form {
    margin-bottom: 1.5rem;
}

.newsletter-input-group {
    position: relative;
    display: flex;
    background: rgba(247, 147, 30, 0.1);
    border-radius: 50px;
    padding: 5px;
    border: 1px solid rgba(247, 147, 30, 0.2);
    transition: all 0.3s ease;
}

.newsletter-input-group:focus-within {
    background: rgba(247, 147, 30, 0.15);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(247, 147, 30, 0.1);
}

.newsletter-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 20px;
    color: white;
    font-size: 0.95rem;
    outline: none;
}

.newsletter-input::placeholder {
    color: #94a3b8;
}

.newsletter-btn {
    background: var(--primary-color);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.newsletter-message {
    margin-top: 0.5rem;
    font-size: 0.85rem;
}

.footer-contact-info {
    margin-top: 1.5rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #cbd5e1;
    font-size: 0.95rem;
}

.contact-info-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
    width: 20px;
    flex-shrink: 0;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.5);
    padding: 25px 0;
    border-top: 1px solid rgba(247, 147, 30, 0.2);
}

.copyright-text {
    color: #cbd5e1;
    font-size: 0.9rem;
}

.copyright-text strong {
    color: white;
}

.footer-bottom-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-bottom-links li {
    margin: 0;
}

.footer-bottom-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(247, 147, 30, 0.4);
}

.back-to-top.show {
    display: flex;
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(247, 147, 30, 0.5);
}

/* ====================================
   Alert Messages
   ==================================== */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 0;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-info {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #93c5fd;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.alert-danger {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.alert i {
    font-size: 1.2rem;
}

.success-checkmark {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    animation: scaleIn 0.5s ease;
}

.success-checkmark i {
    font-size: 3rem;
    color: #10b981;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

/* ====================================
   Certifications Section - FIXED SCROLLBAR
   ==================================== */
.certifications-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    padding: 80px 0;
    width: 100%;
    overflow: hidden;
}

.certifications-section .section-title {
    color: var(--white);
}

.certifications-section .text-muted {
    color: #94a3b8 !important;
}

.certifications-carousel-wrapper {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
    width: 100%;
}

.certifications-carousel {
    display: flex;
    gap: 30px;
    transition: transform 0.05s linear;
    padding: 20px 0;
    width: 100%;
    overflow-x: hidden;
}

.certification-item {
    flex: 0 0 auto;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-link {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2B2B2B 0%, #1a1a1a 100%);
    border-radius: 15px;
    border: 2px solid rgba(247, 147, 30, 0.2);
    padding: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cert-link:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(247, 147, 30, 0.3);
    transform: translateY(-5px);
    background: linear-gradient(135deg, #333333 0%, #2B2B2B 100%);
}

.cert-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: brightness(0.9);
}

.cert-link:hover .cert-logo {
    transform: scale(1.15);
    filter: brightness(1.2);
}

.cert-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #F7931E 0%, #C49A6C 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 13px;
}

.cert-link:hover .cert-overlay {
    opacity: 0.95;
}

.cert-overlay p {
    color: white;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0 10px;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* ====================================
   Case Studies Section - FIXED SCROLLBAR
   ==================================== */
.case-studies-showcase {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    width: 100%;
    overflow: hidden;
}

.case-studies-showcase .section-title {
    color: var(--white);
}

.case-studies-showcase .text-muted {
    color: #94a3b8 !important;
}

.case-studies-showcase .container {
    overflow: hidden;
}

.case-studies-showcase .row {
    overflow: hidden;
}

.case-studies-showcase .btn-primary {
    background: var(--gradient-1);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(247, 147, 30, 0.3);
}

.case-studies-showcase .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(247, 147, 30, 0.4);
}

.case-study-card {
    background: linear-gradient(135deg, #2B2B2B 0%, #1a1a1a 100%);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    height: 100%;
    border: 2px solid rgba(247, 147, 30, 0.1);
    display: flex;
    flex-direction: column;
}

.case-study-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(247, 147, 30, 0.3);
    background: linear-gradient(135deg, #333333 0%, #2B2B2B 100%);
}

.case-study-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.case-study-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-study-card:hover .case-study-image img {
    transform: scale(1.05);
}

.case-study-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.case-study-card:hover .case-study-overlay {
    opacity: 1;
}

.case-study-overlay .btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.case-study-overlay .btn:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

.case-study-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.case-study-industry {
    display: inline-block;
    background: linear-gradient(135deg, #F7931E 0%, #C49A6C 100%);
    color: white;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    width: fit-content;
    box-shadow: 0 3px 10px rgba(247, 147, 30, 0.2);
}

.case-study-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.case-study-client {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.case-study-metrics {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #94a3b8;
    flex-wrap: wrap;
}

.metric {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(247, 147, 30, 0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    border: 1px solid rgba(247, 147, 30, 0.2);
}

.metric i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.case-study-results {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.case-study-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(247, 147, 30, 0.1);
}

.tech-badge {
    background: rgba(247, 147, 30, 0.1);
    color: #cbd5e1;
    padding: 0.35rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(247, 147, 30, 0.2);
    transition: all 0.3s ease;
}

.tech-badge:hover {
    background: rgba(247, 147, 30, 0.2);
    border-color: var(--primary-color);
}

/* ====================================
   Responsive Design - MOBILE SCROLL FIX
   ==================================== */
@media (max-width: 992px) {
    .hero-section {
        margin-top: 0;
        padding-top: 100px;
        padding-bottom: 60px;
        min-height: auto;
    }

    .hero-title {
        font-size: 3rem;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .stat-item {
        min-width: 120px;
        padding: 1rem 1.5rem;
    }

    .btn-register {
        margin-left: 0;
        margin-top: 0.5rem;
    }
    
    .logo {
        height: 55px;
    }
    
    .logo img {
        max-width: 50px;
    }
    
    .footer-logo img.footer-logo-img {
        height: 200px;
    }

    .certification-item {
        width: 160px;
        height: 160px;
    }

    .certifications-carousel {
        gap: 20px;
        padding: 15px 0;
    }

    .case-study-card {
        margin-bottom: 1.5rem;
    }

    .case-study-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        margin-top: 0;
        padding-top: 90px;
        padding-bottom: 50px;
        min-height: auto;
        height: auto;
    }
    
    .logo {
        height: 50px;
        padding: 0.2rem 0;
    }
    
    .logo img {
        max-width: 150px;
    }
    
    .navbar {
        padding: 0.4rem 0;
    }
    
    .navbar .container {
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .container {
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .contact-item {
        transform: none !important;
    }
    
    .contact-item:hover {
        transform: none !important;
    }
    
    .contact-form-wrapper {
        overflow: hidden;
        max-width: 100%;
        padding: 1.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .service-card {
        margin-bottom: 1.5rem;
    }
    
    .stat-card {
        margin-bottom: 1.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-item {
        width: 100%;
        max-width: 300px;
    }

    .testimonial-slider-wrapper {
        padding: 0 50px;
    }

    .testimonial-nav {
        width: 40px;
        height: 40px;
    }
    
    .testimonial-compact-card {
        padding: 1.5rem;
    }

    .testimonial-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .testimonial-avatar {
        width: 60px;
        height: 60px;
    }
    
    .footer-main {
        padding: 50px 0 30px;
    }

    .footer-widget {
        margin-bottom: 40px;
    }

    .footer-logo {
        justify-content: center;
    }
    
    .footer-logo img.footer-logo-img {
        height: 40px;
    }

    .footer-description {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-title {
        text-align: center;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links {
        text-align: center;
    }

    .footer-links a {
        justify-content: center;
    }

    .newsletter-text {
        text-align: center;
    }

    .footer-contact-info {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .contact-info-item {
        justify-content: center;
        text-align: center;
    }

    .copyright-text {
        text-align: center;
        margin-bottom: 1rem;
    }

    .footer-bottom-links {
        justify-content: center;
        margin-top: 1rem;
    }

    .certification-item {
        width: 140px;
        height: 140px;
    }

    .certifications-carousel {
        gap: 15px;
        padding: 10px 0;
    }

    .cert-overlay p {
        font-size: 0.85rem;
    }

    .case-study-card {
        height: auto;
    }

    .case-study-image {
        height: 200px;
    }

    .case-study-content {
        padding: 1.2rem;
    }

    .case-study-card h3 {
        font-size: 1.1rem;
    }

    .case-study-metrics {
        font-size: 0.8rem;
    }

    .metric {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 576px) {
    .logo {
        height: 45px;
    }
    
    .logo img {
        max-width: 130px;
    }
    
    .contact-item {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .form-control {
        max-width: 100%;
    }
    
    .navbar-toggler {
        border: none;
        padding: 0.5rem;
    }
    
    .footer-logo img.footer-logo-img {
        height: 100px;
    }
    
    .hero-section {
        margin-top: 0;
        padding-top: 80px;
        padding-bottom: 40px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }

    .certification-item {
        width: 120px;
        height: 120px;
    }

    .certifications-carousel {
        gap: 10px;
        padding: 8px 0;
    }

    .cert-link {
        padding: 15px;
    }

    .cert-overlay p {
        font-size: 0.8rem;
        padding: 0 5px;
    }

    .case-study-card {
        margin-bottom: 1rem;
    }

    .case-study-image {
        height: 180px;
    }

    .case-study-content {
        padding: 1rem;
    }

    .case-study-card h3 {
        font-size: 1rem;
    }

    .case-study-results {
        font-size: 0.9rem;
    }

    .tech-badge {
        font-size: 0.7rem;
        padding: 0.25rem 0.6rem;
    }
}



/*new */


/* ====================================
   Certifications Section - INFINITE LOOP CAROUSEL
   ==================================== */
.certifications-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    padding: 80px 0;
    width: 100%;
    overflow: hidden;
}

.certifications-section .section-title {
    color: var(--white);
}

.certifications-section .text-muted {
    color: #94a3b8 !important;
}

.certifications-carousel-wrapper {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
    width: 100%;
}

.certifications-carousel {
    display: flex;
    gap: 30px;
    width: max-content; /* Allow carousel to be as wide as needed */
    padding: 20px 0;
    transition: none; /* Remove transition for smooth continuous scroll */
    will-change: transform; /* Performance optimization */
}

.certification-item {
    flex: 0 0 auto;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-link {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2B2B2B 0%, #1a1a1a 100%);
    border-radius: 15px;
    border: 2px solid rgba(247, 147, 30, 0.2);
    padding: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cert-link:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(247, 147, 30, 0.3);
    transform: translateY(-5px);
    background: linear-gradient(135deg, #333333 0%, #2B2B2B 100%);
}

.cert-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: brightness(0.9);
}

.cert-link:hover .cert-logo {
    transform: scale(1.15);
    filter: brightness(1.2);
}

.cert-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #F7931E 0%, #C49A6C 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 13px;
}

.cert-link:hover .cert-overlay {
    opacity: 0.95;
}

.cert-overlay p {
    color: white;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0 10px;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* ====================================
   Mobile Responsive - Certifications
   ==================================== */
@media (max-width: 992px) {
    .certification-item {
        width: 160px;
        height: 160px;
    }

    .certifications-carousel {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .certification-item {
        width: 140px;
        height: 140px;
    }

    .certifications-carousel {
        gap: 15px;
    }

    .cert-overlay p {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .certification-item {
        width: 120px;
        height: 120px;
    }

    .certifications-carousel {
        gap: 10px;
    }

    .cert-link {
        padding: 15px;
    }

    .cert-overlay p {
        font-size: 0.8rem;
        padding: 0 5px;
    }
}
/*test*/

.logo {
    display: flex;
    align-items: center; /* CRITICAL for Safari */
    height: 60px;
    width: auto;
    background: transparent;
    padding: 0.3rem 0;
}
.logo img {
    height: auto;
    max-height: 100%;
    width: auto;
    max-width: 180px;
    display: block;
    object-fit: contain;
    align-self: center; /* Prevents Safari stretching */
    flex-shrink: 0; /* Prevents Safari shrinking */
    transition: transform 0.3s ease;
    background: transparent;
}

/* Safari/iOS specific fixes */
@supports (-webkit-touch-callout: none) {
    .logo {
        align-items: center;
    }
    
    .logo img {
        -webkit-transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        align-self: flex-start;
    }
}

@media (max-width: 768px) {
    .logo {
        height: 50px;
        padding: 0.2rem 0;
        align-items: center; /* Keep this */
    }
    
    .logo img {
        max-height: 46px;
        max-width: 150px;
        flex-shrink: 0; /* Important for iOS */
    }
}

@media (max-width: 576px) {
    .logo {
        height: 45px;
        align-items: center; /* Keep this */
    }
    
    .logo img {
        max-height: 100%;
        max-width: 130px;
        flex-shrink: 0; /* Important for iOS */
    }
}




