/* Custom CSS for Pubvance Infotech */

/* CSS Variables */
:root {
    --primary-color: #1e3a8a;
    --secondary-color: #3730a3;
    --accent-color: #1d4ed8;
    --success-color: #059669;
    --warning-color: #d97706;
    --danger-color: #dc2626;
    --dark-color: #0f172a;
    --light-color: #f1f5f9;
    --text-color: #000;
    --text-light: #475569;
    --border-color: #e2e8f0;
    --surface-color: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.25);
    
    /* Modern Gradients */
    --gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #3730a3 100%);
    --gradient-secondary: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
    --gradient-accent: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e3a8a 30%, #3730a3 70%, #1d4ed8 100%);
    --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%);
    --gradient-text: linear-gradient(135deg, #1e3a8a 0%, #3730a3 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 20px rgba(102, 126, 234, 0.3);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #f8fafc 100%);
    background-attachment: fixed;
}

.section-bg {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.05) 0%, rgba(248, 250, 252, 0.95) 100%);
    backdrop-filter: blur(10px);
}

/* Navigation - WHITE HEADER */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color) !important;
}

.navbar-nav .nav-link {
    color: var(--dark-color) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

/* Dropdown Styles */
.dropdown-menu {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: all 0.2s ease;
    border-radius: 8px;
    margin: 0.25rem 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.dropdown-item:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateX(5px);
}

.dropdown-divider {
    margin: 0.5rem 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero-section {
    background: var(--gradient-hero);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-image {
    position: relative;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.hero-bg-shape {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.1), rgba(147, 51, 234, 0.1));
    border-radius: 50%;
    filter: blur(40px);
    animation: pulse 4s ease-in-out infinite;
    z-index: 0;
}

@keyframes pulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.hero-particles::before,
.hero-particles::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: particle-float 8s linear infinite;
}

.hero-particles::before {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.hero-particles::after {
    top: 60%;
    right: 15%;
    animation-delay: -4s;
}

@keyframes particle-float {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

.glow-btn {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.glow-btn:hover {
    box-shadow: 0 0 15px rgba(30, 58, 138, 0.5);
    transform: translateY(-2px);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

.hero-content h1 {
    background: linear-gradient(45deg, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

/* Floating Cards - OPTIMIZED SAME SIZE */
.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    color: white;
    animation: float 6s ease-in-out infinite;
    transition: all 0.3s ease;
    width: 180px;
    height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.floating-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.floating-card:nth-child(1) {
    top: 15%;
    left: 5%;
    animation-delay: 0s;
}

.floating-card:nth-child(2) {
    top: 40%;
    right: 10%;
    animation-delay: -2s;
}

.floating-card:nth-child(3) {
    bottom: 15%;
    left: 25%;
    animation-delay: -4s;
}

.floating-card .card-icon {
    margin-bottom: 1rem;
}

.floating-card h5 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: white !important;
}

.floating-card p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

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

.delay-1 {
    animation-delay: -2s;
}

.delay-2 {
    animation-delay: -4s;
}

/* Buttons */
.btn {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 50px;
    padding: 12px 30px;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.6);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Statistics Cards - IMPROVED TEXT VISIBILITY */
.stat-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(30, 58, 138, 0.1);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.15);
}

.counter {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1rem 0;
}

.stat-card p {
    color: var(--text-color) !important;
    font-weight: 600;
}

/* Service Cards - ENHANCED WITH CONTENT */
.service-card {
    background: linear-gradient(135deg, #1e3a8a 0%, #3730a3 100%);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.2);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: white;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.service-card h4 {
    color: white !important;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9) !important;
}

.service-content {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Industry Cards - IMPROVED TEXT VISIBILITY */
.industry-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(30, 58, 138, 0.1);
    height: 100%;
    text-align: center;
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.15);
}

.industry-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.industry-card h4 {
    color: var(--dark-color) !important;
    margin-bottom: 1rem;
    font-weight: 600;
}

.industry-card p {
    color: var(--text-color) !important;
    line-height: 1.6;
}

/* Process Cards - IMPROVED TEXT VISIBILITY */
.process-card {
    position: relative;
    padding: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(30, 58, 138, 0.1);
    height: 100%;
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
}

.process-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 5px 20px rgba(30, 58, 138, 0.4);
    z-index: 2;
}

.process-icon {
    width: 100px;
    height: 100px;
    background: rgba(30, 58, 138, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem auto 1.5rem;
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.process-card:hover .process-icon {
    background: rgba(30, 58, 138, 0.2);
    transform: scale(1.1);
}

.process-card h4 {
    color: var(--dark-color) !important;
    margin-bottom: 1rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.process-card p {
    color: var(--text-color) !important;
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

/* Technology Tabs */
.nav-pills .nav-link {
    border-radius: 50px;
    padding: 12px 24px;
    font-weight: 600;
    margin: 0 5px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.nav-pills .nav-link.active {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
}

.tech-item {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(30, 58, 138, 0.1);
}

.tech-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(15, 23, 42, 0.15);
}

.tech-item p {
    margin-top: 1rem;
    margin-bottom: 0;
    font-weight: 600;
    color: var(--dark-color) !important;
}

/* Testimonials Section */
.testimonial-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
    border: 1px solid rgba(30, 58, 138, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 4rem;
    color: var(--primary-color);
    font-family: serif;
    line-height: 1;
}

.testimonial-content {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-color);
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.testimonial-info h6 {
    color: var(--dark-color) !important;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.testimonial-info small {
    color: var(--text-light);
}

/* Office Cards - HORIZONTAL LAYOUT */
.office-section {
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.office-cards-container {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.office-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.1);
    border: 1px solid rgba(30, 58, 138, 0.1);
    position: relative;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 300px;
    max-width: 400px;
}

.office-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.15);
}

.office-flag {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    font-size: 1.2rem;
}

.office-card h5 {
    color: var(--dark-color) !important;
    margin-bottom: 1rem;
    font-weight: 600;
}

.office-card p {
    color: var(--text-color) !important;
    margin-bottom: 0.5rem;
}

.contact-links a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-links a:hover {
    color: var(--dark-color);
}

/* Gallery Section */
.gallery-section {
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.05) 0%, rgba(248, 250, 252, 0.95) 100%);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    transition: all 0.3s ease;
    height: 250px;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(30, 58, 138, 0.8), rgba(55, 48, 163, 0.8));
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Contact Form */
.contact-form {
    background: linear-gradient(135deg, #1e3a8a 0%, #3730a3 100%);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
}

.form-control {
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 15px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.form-control:focus {
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

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

/* Contact Info */
.contact-info {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}


/* Enhanced Contact Info styling */
.contact-info {
    position: relative;
    z-index: 2;
}

/* Footer */
.footer {
    background: var(--dark-color) !important;
    position: relative;
    color: rgba(255, 255, 255, 0.9);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.footer-brand h5 {
    color: white !important;
    margin-bottom: 1rem;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.newsletter-form .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form .btn {
    border-radius: 0 12px 12px 0;
}

/* Text Visibility Improvements */
h1, h2, h3, h4, h5, h6 {
    color: var(--dark-color) !important;
    font-weight: 700;
}

p {
    color: var(--text-color) !important;
    line-height: 1.6;
}

.lead {
    color: var(--text-color) !important;
    font-weight: 500;
}

.text-white h1, .text-white h2, .text-white h3, .text-white h4, .text-white h5, .text-white h6 {
    color: white !important;
}

.text-white p, .text-white .lead {
    color: rgba(255, 255, 255, 0.9) !important;
}

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

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-section {
        padding-top: 70px;
    }
    .hero-image {
        min-height: 350px;
        margin-bottom: 30px;
    }
    .floating-card {
        width: 160px;
        height: 160px;
        padding: 1rem;
    }
    .floating-card h5 {
        font-size: 0.9rem;
    }
    .process-number {
        position: static;
        transform: none;
        margin: 0 auto 1rem;
    }
    .office-cards-container {
        flex-direction: column;
        align-items: center;
    }
    .office-card {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-section {
        padding-top: 60px;
    }
    
    .floating-card {
        position: static;
        margin: 0 auto 1rem;
        transform: none !important;
        width: 140px;
        height: 140px;
        padding: 1rem;
    }
    
    .hero-image {
        min-height: 300px;
        margin-bottom: 20px;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .tech-item {
        padding: 1.5rem;
    }
    
    .stat-card, .service-card, .industry-card {
        padding: 2rem;
    }
    
    .gallery-item {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content {
        text-align: center;
        padding: 2rem 0;
    }
    
    .floating-card {
        width: 120px;
        height: 120px;
        padding: 0.75rem;
        font-size: 0.85rem;
    }
    
    .floating-card .card-icon i {
        font-size: 1.5rem !important;
    }
    
    .floating-card h5 {
        font-size: 0.85rem;
        margin-bottom: 0.25rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .counter {
        font-size: 2rem;
    }
    
    .process-icon, .service-icon, .industry-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .process-card {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    .process-number {
        position: relative;
        top: -10px;
        margin-bottom: 1rem;
    }
    
    .gallery-item {
        height: 150px;
    }
}

/* Loading Animation */
.loading {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.loaded {
    opacity: 1;
}

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

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-color);
}

/* Testimonials Section */
.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.testimonial-content {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    position: relative;
}

.testimonial-content::before {
    content: '"';
    font-size: 3rem;
    color: var(--primary-color);
    position: absolute;
    top: -10px;
    left: -10px;
    font-family: serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.testimonial-info h6 {
    margin: 0;
    color: var(--dark-color);
    font-weight: 600;
}

.testimonial-info small {
    color: var(--text-color);
}

/* Office Section */
.office-section {
    padding: 4rem 0;
}

.office-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.office-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.office-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.office-flag {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.office-card h5 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.office-card p {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.contact-links a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-links a:hover {
    color: var(--secondary-color);
}

.contact-quick-info {
    margin-bottom: 1.5rem;
}

.contact-quick-info p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* WHITE TEXT SECTIONS WITH EFFECTS */
.white-text-section {
    background: var(--gradient-hero);
    color: white !important;
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
}

.white-text-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.white-text-section .container {
    position: relative;
    z-index: 2;
}

.white-text-section h6 {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
}

.white-text-section h2 {
    color: white !important;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    background: linear-gradient(45deg, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.white-text-section .lead {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 500;
}


/* About Section - WHITE TEXT WITH EFFECTS */
.about-content {
    color: white !important;
}

.about-content h6 {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.about-content h2 {
    color: white !important;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    background: linear-gradient(45deg, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-content p {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.about-content .lead {
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}