/* ===================================
   InfotechZen - Modern Website Styles
   =================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ===================================
   Global Styles
   =================================== */
:root {
    --primary-color: #075fb1;
    --secondary-color: #efd400;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --text-color: #334155;
    --gradient: linear-gradient(135deg, #075fb1 0%, #0891d4 50%, #efd400 100%);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    padding-top: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1.3;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

.section-padding {
    padding: 80px 0;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Utility class for spacing from fixed navbar */
.navbar-spacer {
    padding-top: 80px;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    padding: 1rem 0;
    transition: var(--transition);
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav .nav-link {
    color: var(--dark-color);
    font-weight: 500;
    padding: 0.5rem 1.2rem !important;
    margin: 0 0.2rem;
    border-radius: 8px;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background: var(--gradient);
    color: white !important;
    transform: translateY(-2px);
}

.btn-primary-custom {
    background: var(--gradient) !important;
    border: none !important;
    padding: 12px 30px;
    border-radius: 50px;
    color: white !important;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(7, 95, 177, 0.3);
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(7, 95, 177, 0.5);
    color: white !important;
}

/* ===================================
   Hero Section
   =================================== */
.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #e0f2fe 0%, #fef9e7 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    text-align: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: var(--gradient);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.2;
    top: -200px;
    right: -200px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Animated tech icons background */
.tech-icon {
    position: absolute;
    color: var(--primary-color);
    opacity: 0.1;
    animation: floatTech 20s linear infinite;
    font-size: 2.5rem;
}

@keyframes floatTech {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.15;
    }
    90% {
        opacity: 0.15;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

.tech-icon:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 25s; }
.tech-icon:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 22s; font-size: 3rem; }
.tech-icon:nth-child(3) { left: 30%; animation-delay: 4s; animation-duration: 28s; }
.tech-icon:nth-child(4) { left: 40%; animation-delay: 6s; animation-duration: 24s; font-size: 2rem; }
.tech-icon:nth-child(5) { left: 50%; animation-delay: 8s; animation-duration: 26s; }
.tech-icon:nth-child(6) { left: 60%; animation-delay: 3s; animation-duration: 23s; font-size: 3.5rem; }
.tech-icon:nth-child(7) { left: 70%; animation-delay: 5s; animation-duration: 27s; }
.tech-icon:nth-child(8) { left: 80%; animation-delay: 7s; animation-duration: 25s; font-size: 2.2rem; }
.tech-icon:nth-child(9) { left: 90%; animation-delay: 1s; animation-duration: 29s; }
.tech-icon:nth-child(10) { left: 15%; animation-delay: 9s; animation-duration: 21s; font-size: 2.8rem; }

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.hero-image {
    animation: floatImage 3s ease-in-out infinite;
}

@keyframes floatImage {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

/* ===================================
   Section Titles
   =================================== */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-title .underline {
    width: 80px;
    height: 4px;
    background: var(--gradient);
    margin: 0 auto 1rem;
    border-radius: 2px;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-color);
    max-width: 700px;
    margin: 0 auto;
}

/* ===================================
   Cards & Boxes
   =================================== */
.card-custom {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.card-custom:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-box {
    padding: 2.5rem;
    border-radius: 20px;
    background: white;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-box::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    top: 0;
    left: 0;
    opacity: 0;
    transition: var(--transition);
}

.service-box:hover::before {
    opacity: 0.05;
}

.service-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: white;
    transition: var(--transition);
}

.service-box:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-box h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.service-box p {
    color: var(--text-color);
    margin-bottom: 0;
}

/* ===================================
   Stats Section
   =================================== */
.stats-section {
    background: var(--gradient);
    color: white;
    padding: 60px 0;
}

.stat-box {
    text-align: center;
    padding: 1.5rem;
}

.stat-box h3 {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
}

.stat-box p {
    font-size: 1.1rem;
    color: white;
    opacity: 0.95;
    margin-bottom: 0;
}

/* ===================================
   Portfolio/Work Section
   =================================== */
.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.portfolio-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 2rem;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 0.97;
}

.portfolio-overlay h4 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    transform: translateY(20px);
    transition: var(--transition);
}

.portfolio-overlay p {
    color: white;
    transform: translateY(20px);
    transition: var(--transition);
    transition-delay: 0.1s;
}

.portfolio-overlay .btn {
    transform: translateY(20px);
    transition: var(--transition);
    transition-delay: 0.2s;
}

.portfolio-item:hover .portfolio-overlay h4,
.portfolio-item:hover .portfolio-overlay p,
.portfolio-item:hover .portfolio-overlay .btn {
    transform: translateY(0);
}

/* ===================================
   Testimonials
   =================================== */
.testimonial-box {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    transition: var(--transition);
}

.testimonial-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.testimonial-content {
    margin-bottom: 1.5rem;
    font-style: italic;
    color: var(--text-color);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.testimonial-info h5 {
    margin-bottom: 0.2rem;
    font-size: 1.1rem;
}

.testimonial-info span {
    color: var(--text-color);
    font-size: 0.9rem;
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
    background: var(--gradient);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -200px;
    left: -100px;
}

.cta-section h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-section p {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.btn-white {
    background: white !important;
    color: var(--primary-color) !important;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    color: var(--primary-color) !important;
    background: white !important;
}

/* ===================================
   Contact Form
   =================================== */
.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-control {
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 20px;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.1);
}

.contact-info-box {
    background: var(--gradient);
    color: white;
    padding: 2rem;
    border-radius: 20px;
    margin-bottom: 20px;
    text-align: center;
    transition: var(--transition);
}

.contact-info-box:hover {
    transform: translateY(-5px);
}

.contact-info-box i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    color: white;
}

.contact-info-box h5 {
    color: white;
    margin-bottom: 0.5rem;
}

.contact-info-box p {
    margin-bottom: 0;
    color: white;
    opacity: 0.95;
}

.contact-info-box a {
    color: white;
}

/* ===================================
   Footer
   =================================== */
footer {
    background: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-widget {
    margin-bottom: 30px;
}

.footer-widget h5 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.footer-widget p {
    color: rgba(255, 255, 255, 0.9);
    opacity: 0.8;
    line-height: 1.8;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
}

.footer-widget ul li {
    margin-bottom: 0.8rem;
}

.footer-widget ul li a {
    color: white;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-widget ul li a:hover {
    opacity: 1;
    padding-left: 5px;
}

.social-links a {
    display: inline-flex;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gradient);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
    opacity: 0.8;
}

/* ===================================
   About Page Specific
   =================================== */
.about-banner {
    background: var(--gradient);
    color: white;
    padding: 180px 0 80px;
    text-align: center;
    margin-top: 0;
}

.about-banner h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.feature-box {
    text-align: center;
    padding: 2rem;
    transition: var(--transition);
}

.feature-box i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

.feature-box:hover {
    transform: translateY(-10px);
}

/* ===================================
   Page Banner
   Increased top padding to prevent fixed navbar overlap
   =================================== */
.page-banner {
    background: var(--gradient);
    color: white;
    padding: 180px 0 80px;
    text-align: center;
    margin-top: 0;
}

.page-banner h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.page-banner p {
    font-size: 1.2rem;
    color: white;
    opacity: 0.95;
}

/* ===================================
   Responsive Design - Mobile Optimized
   =================================== */
@media (max-width: 768px) {
    /* Global mobile adjustments */
    body {
        font-size: 14px;
    }
    
    /* Reduce section padding for mobile app feel */
    .section-padding {
        padding: 40px 0;
    }
    
    /* Navbar mobile optimization */
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-brand {
        font-size: 1.4rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 1rem !important;
        margin: 0.2rem 0;
    }
    
    .btn-primary-custom {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    /* Hero section mobile */
    .hero-section {
        min-height: 70vh;
        padding-top: 70px;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-content .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
        margin: 0.3rem;
    }

    /* Section titles mobile */
    .section-title {
        margin-bottom: 2rem;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
        margin-bottom: 0.5rem;
    }
    
    .section-title p {
        font-size: 0.9rem;
    }
    
    .section-title .underline {
        width: 60px;
        height: 3px;
    }

    /* Cards and boxes mobile */
    .card-custom,
    .service-box {
        padding: 1.5rem;
        border-radius: 15px;
        margin-bottom: 15px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        border-radius: 15px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .service-box h4 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .service-box p {
        font-size: 0.9rem;
    }
    
    /* Stats section mobile - 2x2 grid */
    .stats-section {
        padding: 30px 0;
    }
    
    .stats-section .col-md-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .stat-box {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .stat-box h3 {
        font-size: 2rem;
        margin-bottom: 0.3rem;
    }
    
    .stat-box p {
        font-size: 0.9rem;
    }
    
    /* Portfolio mobile */
    .portfolio-item {
        margin-bottom: 15px;
        border-radius: 15px;
    }
    
    .portfolio-image {
        height: 250px;
    }
    
    .portfolio-overlay {
        padding: 1.5rem;
    }
    
    .portfolio-overlay h4 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }
    
    .portfolio-overlay p {
        font-size: 0.85rem;
    }
    
    /* Testimonials mobile */
    .testimonial-box {
        padding: 1.5rem;
        border-radius: 15px;
        margin-bottom: 15px;
    }
    
    .testimonial-content {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .testimonial-avatar {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .testimonial-info h5 {
        font-size: 1rem;
    }
    
    .testimonial-info span {
        font-size: 0.85rem;
    }

    /* CTA section mobile */
    .cta-section {
        padding: 40px 20px;
    }
    
    .cta-section h2 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
    
    .cta-section p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .btn-white {
        padding: 12px 30px;
        font-size: 0.9rem;
    }

    /* Page banners mobile */
    .page-banner h1,
    .about-banner h1 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .page-banner p {
        font-size: 0.95rem;
    }
    
    .page-banner {
        padding: 110px 20px 40px;
    }
    
    .about-banner {
        padding: 110px 20px 40px;
    }

    /* Contact form mobile */
    .contact-form {
        padding: 1.5rem;
        border-radius: 15px;
        margin-bottom: 15px;
    }
    
    .form-control {
        padding: 10px 15px;
        font-size: 0.9rem;
        border-radius: 8px;
    }
    
    .contact-info-box {
        padding: 1.5rem;
        border-radius: 15px;
        margin-bottom: 15px;
    }
    
    .contact-info-box i {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .contact-info-box h5 {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }
    
    .contact-info-box p {
        font-size: 0.85rem;
    }
    
    /* Footer mobile */
    footer {
        padding: 40px 0 15px;
    }
    
    .footer-widget {
        margin-bottom: 20px;
    }
    
    .footer-widget h5 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .footer-widget p,
    .footer-widget ul li a {
        font-size: 0.9rem;
    }
    
    .social-links a {
        width: 40px;
        height: 40px;
        margin-right: 8px;
    }
    
    .footer-bottom {
        font-size: 0.85rem;
        padding-top: 15px;
        margin-top: 20px;
    }
    
    /* Feature boxes mobile */
    .feature-box {
        padding: 1.5rem;
    }
    
    .feature-box i {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }
    
    .feature-box h5 {
        font-size: 1rem;
    }
    
    .feature-box p {
        font-size: 0.9rem;
    }
    
    /* Button adjustments for mobile */
    .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    .btn-sm {
        padding: 6px 15px;
        font-size: 0.85rem;
    }
    
    /* Container padding for mobile app feel */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Reduce gaps between grid items */
    .row {
        margin-left: -7.5px;
        margin-right: -7.5px;
    }
    
    .row > * {
        padding-left: 7.5px;
        padding-right: 7.5px;
    }
}

/* Extra small devices optimization */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .section-title h2 {
        font-size: 1.4rem;
    }
    
    .page-banner h1,
    .about-banner h1 {
        font-size: 1.5rem;
    }
    
    .cta-section h2 {
        font-size: 1.4rem;
    }
    
    .stat-box h3 {
        font-size: 1.8rem;
    }
    
    .portfolio-image {
        height: 200px;
    }
    
    .service-box,
    .card-custom,
    .testimonial-box {
        padding: 1.2rem;
    }
}

/* ===================================
   Animations
   =================================== */
.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
.btn-loading {
    position: relative;
    pointer-events: none;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid white;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===================================
   Additional Styles
   =================================== */
.portfolio-overlay .badge {
    background: white !important;
    color: var(--primary-color) !important;
    font-weight: 600;
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background: var(--primary-color) !important;
}

/* Ensure all links on dark backgrounds are light */
.stats-section a,
.cta-section a,
.page-banner a,
footer a {
    color: white;
}

footer a:hover {
    color: var(--secondary-color);
}

/* ===================================
   Button Variants
   =================================== */
.btn-outline-primary {
    border: 2px solid var(--primary-color) !important;
    color: var(--primary-color) !important;
    background: transparent !important;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background: var(--primary-color) !important;
    color: white !important;
    border-color: var(--primary-color) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(7, 95, 177, 0.3);
}

.btn-secondary {
    background: var(--secondary-color) !important;
    color: var(--dark-color) !important;
    border: none !important;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(239, 212, 0, 0.3);
}

.btn-secondary:hover {
    background: var(--secondary-color) !important;
    color: var(--dark-color) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(239, 212, 0, 0.5);
}

/* Fix for buttons with light backgrounds */
.btn-light {
    background: white !important;
    color: var(--primary-color) !important;
    border: 2px solid white !important;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-light:hover {
    background: transparent !important;
    color: white !important;
    border-color: white !important;
    transform: translateY(-3px);
}

/* Accordion buttons fix */
.accordion-button {
    background-color: var(--light-color);
    color: var(--dark-color);
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: white;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(7, 95, 177, 0.25);
}

/* Ensure btn-sm visibility */
.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Portfolio overlay buttons - ensure visibility */
.portfolio-overlay .btn-white,
.portfolio-overlay .btn-light {
    background: white !important;
    color: var(--primary-color) !important;
    border: 2px solid white !important;
}

.portfolio-overlay .btn-white:hover,
.portfolio-overlay .btn-light:hover {
    background: var(--primary-color) !important;
    color: white !important;
    border-color: white !important;
}

/* Hero section buttons - ensure proper visibility */
.hero-section .btn-outline-primary {
    background: white !important;
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
}

.hero-section .btn-outline-primary:hover {
    background: var(--primary-color) !important;
    color: white !important;
}

/* Text color utilities for better contrast */
.text-white {
    color: white !important;
}

.text-dark {
    color: var(--dark-color) !important;
}
