/* Base Styles */
:root {
    /* Primary Colors */
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    
    /* Background Colors */
    --bg-light: #ffffff;
    --bg-dark: #1a1a1a;
    --bg-gray: #f8f9fa;
    
    /* Text Colors */
    --text-dark: #333333;
    --text-light: #ffffff;
    --text-gray: #6c757d;
    --text-gold: #D4AF37; /* For special text highlights */
    
    /* Border Colors */
    --border-color: #e0e0e0;
    
    /* Shadow */
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition: all 0.3s ease;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
    
    /* Border Radius */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    
    /* Font Sizes */
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-md: 1rem;
    --font-size-lg: 1.25rem;
    --font-size-xl: 1.5rem;
    --font-size-2xl: 2rem;
    --font-size-3xl: 2.5rem;
    --font-size-4xl: 3rem;
    
    /* Font Weights */
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Line Heights */
    --line-height-tight: 1.2;
    --line-height-normal: 1.5;
    --line-height-loose: 1.8;
    
    /* Container Width */
    --container-width: 1200px;
    
    /* Z-index */
    --z-index-dropdown: 1000;
    --z-index-sticky: 1020;
    --z-index-fixed: 1030;
    --z-index-modal-backdrop: 1040;
    --z-index-modal: 1050;
    --z-index-popover: 1060;
    --z-index-tooltip: 1070;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: var(--line-height-normal);
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    line-height: var(--line-height-tight);
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
    font-weight: var(--font-weight-bold);
}

h1 {
    font-size: var(--font-size-4xl);
}

h2 {
    font-size: var(--font-size-3xl);
    position: relative;
    padding-bottom: var(--spacing-sm);
}

h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

.section-header h2:after {
    left: 50%;
    transform: translateX(-50%);
}

h3 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
}

p {
    margin-bottom: var(--spacing-md);
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section-padding {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-header p {
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto var(--spacing-md);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius-md);
    font-weight: var(--font-weight-medium);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: var(--font-size-sm);
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--text-light);
    border: 2px solid var(--secondary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
}

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

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

/* Header Styles - Updated */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-index-fixed);
    background-color: var(--bg-light);
    box-shadow: var(--box-shadow);
    padding: var(--spacing-sm) 0;
    transition: var(--transition);
    height: 80px; /* Set a fixed height for the header */
    display: flex;
    align-items: center;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo {
    max-height: 100px; /* Control the logo size with max-height */
    width: auto; /* Maintain aspect ratio */                                                                                                                                                                                                                                                                        
    display: block;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.main-nav ul {
    display: flex;
    gap: var(--spacing-md);
}

.main-nav a {
    color: var(--text-dark);
    font-weight: var(--font-weight-medium);
    position: relative;
    padding: var(--spacing-xs) 0;
}

.main-nav a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.main-nav a:hover:after,
.main-nav a.active:after {
    width: 100%;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

#theme-toggle {
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: var(--font-size-lg);
    cursor: pointer;
    transition: var(--transition);
}

#theme-toggle:hover {
    color: var(--secondary-color);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding-left: 10px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 5px 0;
    transition: var(--transition);
    
}

/* Hero Section - Updated */
.hero-section {
    padding-top: 140px; /* Increased padding at top */
    padding-bottom: var(--spacing-xl);
    min-height: 90vh; /* Set minimum height to 90% of viewport height */
    background-color: var(--primary-color);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
    margin-top: 0;
    display: flex;
    align-items: center; /* Center content vertically */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.9) 0%, rgba(52, 152, 219, 0.8) 100%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--spacing-lg) 0; /* Add padding to container */
}

.hero-content {
    flex: 1;
    max-width: 600px;
    padding: var(--spacing-md) 0; /* Add padding to content */
}

.hero-content h1 {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    font-size: 3.5rem; /* Larger heading for more impact */
}

.hero-content p {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-lg);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
}

.hero-image {
    flex: 1;
    max-width: 500px;
    margin-left: var(--spacing-lg);
}

.hero-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
}

/* About Overview Section */
.about-overview {
    background-color: var(--bg-light);
}

.about-cards {
    display: flex;
    justify-content: space-between;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.flip-card {
    background-color: transparent;
    width: 100%;
    height: 250px;
    perspective: 1000px;
    border-radius: var(--border-radius-md);
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: var(--border-radius-md);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-md);
}

.flip-card-front {
    background-color: var(--bg-gray);
    color: var(--text-dark);
    box-shadow: var(--box-shadow);
}

.flip-card-front i {
    font-size: var(--font-size-3xl);
    color: var(--secondary-color);
    margin-bottom: var(--spacing-sm);
}

.flip-card-front h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 0;
}

.flip-card-front::before,
.flip-card-front::after,
.flip-card-front h3::after {
    display: none;
    content: none;
}

.flip-card-front .card-corner {
    display: none;
}

/* Corner decorations for flip cards */
.flip-card-front .card-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: #d4af37;
    border-style: solid;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.flip-card-front .corner-top-left {
    top: 10px;
    left: 10px;
    border-width: 2px 0 0 2px;
}

.flip-card-front .corner-top-right {
    top: 10px;
    right: 10px;
    border-width: 2px 2px 0 0;
}

.flip-card-front .corner-bottom-left {
    bottom: 10px;
    left: 10px;
    border-width: 0 0 2px 2px;
}

.flip-card-front .corner-bottom-right {
    bottom: 10px;
    right: 10px;
    border-width: 0 2px 2px 0;
}

.flip-card:hover .flip-card-front .card-corner {
    opacity: 0.8;
    width: 25px;
    height: 25px;
}

/* Keep existing back card styles */
.flip-card-back {
    background-color: var(--secondary-color);
    color: var(--text-light);
    transform: rotateY(180deg);
    box-shadow: var(--box-shadow);
}

.flip-card-back p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Decorative Elements */
.decorative-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    opacity: 0.1;
}

.icon-1 {
    top: 10%;
    left: 5%;
    animation: float 6s ease-in-out infinite;
}

.icon-2 {
    top: 20%;
    right: 5%;
    animation: float 8s ease-in-out infinite;
}

.icon-3 {
    bottom: 15%;
    left: 50%;
    animation: float 7s ease-in-out infinite;
}

/* Feature Highlights */
.feature-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
    z-index: 2;
    position: relative;
}

.feature {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 30px;
    color: white;
}

.feature h4 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.feature p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin: 0;
}

/* Animation for floating icons */
@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

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

/* Services Section */
.services-section {
    background-color: var(--bg-gray);
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    width: 100%;
}

/* Enhanced Service Card Hover Effects - Golden Glow */
.service-card {
    background-color: var(--bg-light);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                box-shadow 0.4s ease, 
                background-color 0.4s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.15);
    background-color: rgba(255, 255, 255, 0.95);
}

/* Add golden glow effect on hover */
.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
    border-radius: var(--border-radius-lg);
}

.service-card:hover::after {
    opacity: 1;
}

/* Animated gradient border on hover */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), #d4af37, var(--secondary-color));
    background-size: 200% 100%;
    opacity: 0.7;
    transition: background-position 0.6s ease, height 0.3s ease;
}

.service-card:hover::before {
    background-position: 100% 0;
    height: 6px;
}

/* Add subtle shine effect on hover */
.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    opacity: 0;
    transform: rotate(30deg);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
    z-index: -1;
}

.service-card:hover::after {
    opacity: 1;
    transform: rotate(0deg);
}

/* Enhanced image animation */
.service-vector-image {
    width: 180px;
    height: 180px;
    margin-bottom: var(--spacing-md);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                filter 0.5s ease;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.05));
}

.service-card:hover .service-vector-image {
    transform: scale(1.08) translateY(-8px);
    filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.1));
}

/* Enhanced heading animation */
.service-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    position: relative;
    padding-bottom: 10px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.service-card:hover h3 {
    color: var(--secondary-color);
    transform: scale(1.05);
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: #d4af37;
    transition: width 0.4s ease;
}

.service-card:hover h3::after {
    width: 60px;
}

/* Paragraph animation */
.service-card p {
    color: var(--text-gray);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
    transition: transform 0.3s ease, color 0.3s ease;
}

.service-card:hover p {
    color: var(--text-dark);
    transform: translateY(-3px);
}

/* Enhanced MORE link animation */
.service-card .more-link {
    display: inline-block;
    color: var(--secondary-color);
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
    overflow: hidden;
}

.service-card .more-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--secondary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.service-card:hover .more-link::before {
    transform: scaleX(1);
    transform-origin: left;
}

.service-card .more-link::after {
    content: '→';
    margin-left: 5px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.service-card:hover .more-link::after {
    transform: translateX(5px);
}

/* Add subtle corner decorations that appear on hover */
.service-card .corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: #d4af37;
    border-style: solid;
    opacity: 0;
    transition: all 0.4s ease;
}

.service-card .corner-top-left {
    top: 15px;
    left: 15px;
    border-width: 2px 0 0 2px;
    transform: translate(-5px, -5px);
}

.service-card .corner-top-right {
    top: 15px;
    right: 15px;
    border-width: 2px 2px 0 0;
    transform: translate(5px, -5px);
}

.service-card .corner-bottom-left {
    bottom: 15px;
    left: 15px;
    border-width: 0 0 2px 2px;
    transform: translate(-5px, 5px);
}

.service-card .corner-bottom-right {
    bottom: 15px;
    right: 15px;
    border-width: 0 2px 2px 0;
    transform: translate(5px, 5px);
}

.service-card:hover .corner {
    opacity: 0.6;
    transform: translate(0, 0);
}

/* Statistics Section */
.statistics-section {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: var(--spacing-xl) 0;
}

.statistics-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
}

.statistic-item {
    text-align: center;
}

.statistic-number {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    color: var(--secondary-color);
    margin-bottom: var(--spacing-xs);
}

.statistic-item p {
    font-size: var(--font-size-lg);
    margin-bottom: 0;
    color: var(--text-dark);
    font-weight: var(--font-weight-medium);
}

/* Client Testimonials Section - New Style */
.testimonials-section {
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
    padding: var(--spacing-xl) 0;
}

.testimonials-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.testimonials-header h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: var(--spacing-sm);
}

.testimonials-header p {
    color: var(--text-gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.testimonial-card {
    background-color: white;
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

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

.testimonial-quote {
    position: relative;
    padding-top: 20px;
    margin-bottom: var(--spacing-md);
}

.testimonial-quote::before {
    content: '"';
    font-family: Georgia, serif;
    font-size: 60px;
    color: var(--secondary-color);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: -5px;
}

.testimonial-quote p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    position: relative;
    z-index: 1;
}

.testimonial-profile {
    display: flex;
    align-items: center;
    margin-top: auto;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: var(--spacing-sm);
    border: 2px solid var(--secondary-color);
}

.testimonial-info h4 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
}

.testimonial-info p {
    margin: 0;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.testimonial-rating {
    display: flex;
    margin-top: 5px;
}

.testimonial-rating i {
    color: #FFD700;
    font-size: 0.8rem;
    margin-right: 2px;
}

.testimonial-source {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    display: flex;
    align-items: center;
}

.testimonial-source i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-left: 5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .testimonials-container {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        max-width: 100%;
    }
}

/* Job Opportunities Section */
.job-opportunities {
    background-color: var(--bg-gray);
}

.jobs-container {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.job-card {
    background-color: var(--bg-light);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-md);
    box-shadow: var(--box-shadow);
    flex: 1;
    min-width: 300px;
    transition: var(--transition);
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.job-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.job-header img {
    height: 40px;
    width: auto;
}

.job-type {
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 4px 8px;
    border-radius: var(--border-radius-sm);
    font-size: var(--font-size-xs);
}

.job-card h3 {
    margin-bottom: var(--spacing-xs);
    color: var(--text-darker);
    font-weight: var(--font-weight-bold);
}

.company-name {
    color: var(--text-gray);
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-sm);
}

.job-details {
    margin-bottom: var(--spacing-md);
}

.job-details p {
    margin-bottom: var(--spacing-xs);
    display: flex;
    align-items: center;
    color: var(--text-dark);
    font-weight: var(--font-weight-medium);
}

.job-details i {
    margin-right: 8px;
    color: var(--secondary-color);
}

.view-all-container {
    text-align: center;
    margin-top: var(--spacing-lg);
}

/* Events Section */
.events-section {
    background-color: var(--bg-light);
}

.event-card {
    display: flex;
    background-color: var(--bg-gray);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    max-width: 800px;
    margin: 0 auto;
}

.event-date {
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 100px;
}

.event-date .day {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
}

.event-date .month {
    font-size: var(--font-size-md);
    text-transform: uppercase;
}

.event-details {
    padding: var(--spacing-md);
    flex: 1;
}

.event-details h3 {
    margin-bottom: var(--spacing-xs);
    color: var(--text-darker);
    font-weight: var(--font-weight-bold);
}

.event-location {
    color: var(--text-gray);
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
}

.event-location i {
    margin-right: 8px;
    color: var(--secondary-color);
}

.event-description {
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
    font-weight: var(--font-weight-medium);
}

/* Call to Action Section */
.cta-section {
    background-color: var(--primary-color);
    color: var(--text-light);
    text-align: center;
}

.cta-content h2 {
    color: var(--text-light);
}

.cta-content p {
    max-width: 600px;
    margin: 0 auto var(--spacing-lg);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
}

/* Footer */
.site-footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo img {
    height: 50px;
    margin-bottom: var(--spacing-sm);
}

.footer-links, .footer-services, .footer-contact {
    flex: 1;
    min-width: 200px;
}

.footer-content h3 {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    position: relative;
    padding-bottom: var(--spacing-xs);
}

.footer-content h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-content ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-content a {
    color: var(--text-gray);
}

.footer-content a:hover {
    color: var(--secondary-color);
}

.footer-contact ul li {
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary-color);
    color: var(--text-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-legal {
    display: flex;
    gap: var(--spacing-md);
}

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    color: var(--text-light);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: var(--font-size-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: var(--z-index-fixed);
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    background-color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    html {
        font-size: 14px;
    }
    
    .hero-section .container {
        flex-direction: column;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
        margin-bottom: var(--spacing-lg);
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        max-width: 100%;
        margin-left: 0;
    }
    
    .about-cards, .services-container {
        flex-direction: column;
    }
    
    .flip-card {
        height: 200px;
        margin-bottom: var(--spacing-md);
    }
    
    .site-header {
        height: 70px; /* Slightly smaller header on tablets */
    }
    
    .logo {
        max-height: 50px; /* Slightly smaller logo on tablets */
    }
    
    .hero-section {
        min-height: 80vh; /* Slightly shorter on tablets */
        padding-top: 120px;
    }
    
    /* Update mobile menu top position to match header height */
    .mobile-menu {
        top: 70px;
        max-height: calc(100vh - 70px);
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .statistics-container {
        gap: var(--spacing-md);
    }
    
    .statistic-item {
        flex: 1 0 40%;
    }
    
    .event-card {
        flex-direction: column;
    }
    
    .event-date {
        flex-direction: row;
        justify-content: center;
        gap: var(--spacing-sm);
        padding: var(--spacing-sm);
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .footer-content {
        flex-direction: column;
        gap: var(--spacing-lg);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }
    
    .logo {
        max-height: 90px; /* Smaller logo on mobile */
    }
    
    .site-header {
        height: 60px;
        position: fixed;
        top: 0;
        background-color: rgba(255, 255, 255, 0.95); /* Add slight transparency */
        backdrop-filter: blur(10px); /* Modern blur effect for iOS/modern browsers */
        -webkit-backdrop-filter: blur(10px); /* For Safari */
        border-bottom: 1px solid rgba(0, 0, 0, 0.05); /* Subtle border */
    }
    
    .logo-container {
        display: flex;
        justify-content: center; /* Center logo on mobile */
    }
    
    .logo {
        max-height: 40px;
        transition: all 0.3s ease;
    }
    
    /* Improve mobile menu toggle button */
    .mobile-menu-toggle {
        width: 40px;
        height: 40px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        border-radius: 50%;
        background-color: var(--bg-gray);
        transition: all 0.3s ease;
    }
    
    .mobile-menu-toggle:hover {
        background-color: var(--secondary-color);
    }
    
    .mobile-menu-toggle:hover span {
        background-color: white;
    }
    
    .mobile-menu-toggle span {
        width: 20px;
        height: 2px;
        margin: 3px 0;
        border-radius: 1px;
    }
    
    /* Improve mobile menu appearance */
    .mobile-menu {
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        padding: 15px;
    }
    
    .mobile-menu a {
        border-radius: 8px;
        padding: 12px 15px;
        font-weight: 500;
        transition: all 0.2s ease;
    }
    
    .mobile-menu a:hover {
        background-color: rgba(52, 152, 219, 0.1);
        color: var(--secondary-color);
    }
    
    /* Add subtle animation for mobile menu items */
    .mobile-menu.active li {
        animation: fadeInRight 0.3s ease forwards;
        opacity: 0;
    }
    
    .mobile-menu.active li:nth-child(1) { animation-delay: 0.1s; }
    .mobile-menu.active li:nth-child(2) { animation-delay: 0.2s; }
    .mobile-menu.active li:nth-child(3) { animation-delay: 0.3s; }
    .mobile-menu.active li:nth-child(4) { animation-delay: 0.4s; }
    .mobile-menu.active li:nth-child(5) { animation-delay: 0.5s; }
    
    .hero-section {
        min-height: 70vh; /* Shorter on mobile */
        padding-top: 100px;
    }
    
    .hero-content h1 {
        font-size: 2.8rem; /* Smaller heading on mobile */
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .statistic-item {
        flex: 1 0 100%;
    }
    
    .job-card {
        min-width: 100%;
    }
    
    .hero-section {
        min-height: 60vh; /* Even shorter on small mobile */
        padding-top: 80px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem; /* Even smaller heading on small mobile */
    }
}

/* Add/Update Mobile Menu Styles */
.mobile-menu {
    display: none;
    position: fixed;
    top: 80px; /* Match header height */
    left: 0;
    width: 100%;
    background: var(--bg-light);
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: var(--z-index-fixed); /* Use the same z-index as header */
    max-height: calc(100vh - 80px); /* Ensure it doesn't go beyond viewport */
    overflow-y: auto; /* Allow scrolling if menu is tall */
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu li {
    margin: 15px 0;
}

.mobile-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.1rem;
    display: block;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.mobile-menu a:hover {
    background: var(--primary-color);
    color: var(--text-light);
    border-radius: 5px;
}

.mobile-menu-cta {
    padding: 15px;
    text-align: center;
    border-top: 1px solid var(--border-color);
    margin-top: 15px;
}

.mobile-menu-cta .btn {
    width: 100%;
    margin-top: 10px;
}

@media screen and (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .nav-controls .btn-primary {
        display: none; /* Hide the desktop partner button on mobile */
    }
}

/* Add/Update Company Logo Styles */
.company-logo {
    width: 120px;
    height: 40px;
    object-fit: contain;
    margin-bottom: 10px;
}

.job-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

/* Fix hero banner positioning */
.hero-banner {
    /* Remove this section as we've updated the hero section above */
}

/* Add animation keyframes */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Gold Corner Hover Animation */
.section-container {
  position: relative;
  overflow: hidden;
}

.section-container::before,
.section-container::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: #d4af37; /* Mild gold color */
  transition: width 0.3s ease-in-out;
}

.section-container::before {
  top: 0;
  left: 0;
}

.section-container::after {
  bottom: 0;
  right: 0;
}

.section-container:hover::before,
.section-container:hover::after {
  width: 30px;
}

.section-container > div::before,
.section-container > div::after {
  content: '';
  position: absolute;
  width: 2px;
  height: 0;
  background-color: #d4af37; /* Mild gold color */
  transition: height 0.3s ease-in-out;
}

.section-container > div::before {
  top: 0;
  left: 0;
}

.section-container > div::after {
  bottom: 0;
  right: 0;
}

.section-container:hover > div::before,
.section-container:hover > div::after {
  height: 30px;
}

/* Add decorative shapes to sections */
.section-container .decorative-shape {
  position: absolute;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 0;
}

.section-container:hover .decorative-shape {
  opacity: 0.15;
}

.section-container .decorative-shape.top-right {
  top: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  border-top: 3px solid #d4af37;
  border-right: 3px solid #d4af37;
}

.section-container .decorative-shape.bottom-left {
  bottom: 20px;
  left: 20px;
  width: 60px;
  height: 60px;
  border-bottom: 3px solid #d4af37;
  border-left: 3px solid #d4af37;
}

.section-container .decorative-shape.circle {
  width: 100px;
  height: 100px;
  border: 2px solid #d4af37;
  border-radius: 50%;
  right: 10%;
  bottom: 10%;
}

.section-container .decorative-shape.diamond {
  width: 80px;
  height: 80px;
  border: 2px solid #d4af37;
  transform: rotate(45deg);
  left: 10%;
  top: 10%;
}

/* Mobile-friendly service cards */
@media (max-width: 768px) {
  .services-container {
    grid-template-columns: 1fr;
    padding: 0 10px;
  }
  
  .service-card {
    max-width: 100%;
    margin-bottom: var(--spacing-md);
  }
  
  .service-vector-image {
    width: 150px;
    height: 150px;
  }
  
  .service-card:hover {
    transform: translateY(-10px) scale(1.01);
  }
}

/* Fix for very small screens */
@media (max-width: 480px) {
  .services-section {
    padding: var(--spacing-md);
  }
  
  .service-vector-image {
    width: 120px;
    height: 120px;
  }
  
  .service-card {
    padding: var(--spacing-md);
  }
  
  .service-card h3 {
    font-size: 1.3rem;
  }
  
  .service-card p {
    font-size: 0.9rem;
  }
}

/* T-Cubez Modern Hero Banner */
.marketing-hero {
  background-color: #0a1929;
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.marketing-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 152, 219, 0.2) 0%, rgba(52, 152, 219, 0.1) 50%, transparent 70%);
  z-index: 1;
}

.marketing-hero::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.1) 50%, transparent 70%);
  z-index: 1;
}

.marketing-hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.marketing-hero-content {
  color: white;
}

.marketing-hero-tagline {
  color: #d4af37;
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.marketing-hero-title {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 30px;
  color: white;
}

.marketing-hero-title span {
  display: block;
}

.marketing-hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.marketing-hero-image {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.marketing-hero-image img {
  width: 100%;
  border-radius: 20px;
  position: relative;
  z-index: 2;
  max-height: 500px;
  object-fit: cover;
}

.marketing-hero-image::before {
  content: '';
  position: absolute;
  top: -15px;
  left: -15px;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background: linear-gradient(45deg, #3498db, #d4af37);
  z-index: 1;
  opacity: 0.5;
}

.marketing-hero-services {
  display: flex;
  gap: 20px;
  margin-top: 40px;
}

.marketing-service-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  transition: transform 0.3s ease;
}

.marketing-service-icon:hover {
  transform: translateY(-5px);
}

.marketing-service-icon:nth-child(1) {
  background-color: #3498db;
}

.marketing-service-icon:nth-child(2) {
  background-color: #d4af37;
}

.marketing-service-icon:nth-child(3) {
  background-color: #2ecc71;
}

.marketing-hero-shape {
  position: absolute;
  z-index: 1;
}

.shape-circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: linear-gradient(45deg, #3498db, transparent);
  top: 20%;
  right: 10%;
  opacity: 0.3;
}

.shape-line {
  width: 100px;
  height: 3px;
  background-color: #d4af37;
  transform: rotate(-45deg);
  bottom: 30%;
  left: 10%;
  opacity: 0.5;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .marketing-hero {
    padding: 100px 0;
    min-height: 70vh;
  }
  
  .marketing-hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .marketing-hero-title {
    font-size: 3rem;
  }
}

@media (max-width: 576px) {
  .marketing-hero {
    padding: 80px 0;
    min-height: auto;
  }
  
  .marketing-hero-title {
    font-size: 2.5rem;
  }
}

/* Reduce Services Section Top Gap */
.services-section.section-padding {
  padding-top: 0px; 
  /* Reduced from default padding */
}

.services-section .section-header {
  margin-bottom: 30px; /* Reduced margin below header */
}

.services-container {
  margin-top: 30px; /* Reduced margin above container */
}

/* About Page Styles */
.about-hero {
    background-color: #f8f9fa;
    padding: 100px 0 60px;
    text-align: center;
}

.about-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #333;
}

.about-hero-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.6;
}

.about-story {
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image img:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

.about-content h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #4a90e2;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-values {
    background-color: #f8f9fa;
    padding: 80px 0;
    text-align: center;
}

.about-values h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-card {
    background-color: white;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.value-card i {
    font-size: 2.5rem;
    color: #4a90e2;
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.value-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

.team-section {
    padding: 80px 0;
    text-align: center;
}

.team-section h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.team-member {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.member-image {
    overflow: hidden;
}

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

.team-member:hover .member-image img {
    transform: scale(1.1);
}

.team-member h3 {
    font-size: 1.5rem;
    margin: 20px 0 5px;
    color: #333;
}

.team-member p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f8f9fa;
    border-radius: 50%;
    color: #4a90e2;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: #4a90e2;
    color: white;
    transform: translateY(-3px);
}

.cta-section {
    background-color: #4a90e2;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    display: inline-block;
    background-color: white;
    color: #4a90e2;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #333;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: 1;
    }
    
    .about-content {
        order: 2;
    }
}

@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 2.5rem;
    }
    
    .about-content h2, 
    .about-values h2, 
    .team-section h2,
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .values-grid,
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* About Mission & Vision Section */
.about-mission {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.mission-content h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

.mission-content h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #4a90e2;
}

.mission-item {
    display: flex;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.mission-item:hover {
    transform: translateX(10px);
}

.mission-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background-color: rgba(74, 144, 226, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.mission-icon i {
    font-size: 1.8rem;
    color: #4a90e2;
}

.mission-text h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.mission-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
}

.mission-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-image img:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

@media (max-width: 992px) {
    .mission-grid {
        grid-template-columns: 1fr;
    }
    
    .mission-image {
        order: 1;
        margin-bottom: 30px;
    }
    
    .mission-content {
        order: 2;
    }
}

/* Page Banner (for About, Contact, etc.) */
.page-banner {
    background-color: var(--primary-color);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    text-align: center;
    color: var(--text-light);
}

.page-banner .container {
    position: relative;
    z-index: 2;
}

.banner-content h1 {
    color: var(--text-light);
    font-size: 3rem;
    margin-bottom: 15px;
}

.breadcrumbs {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: var(--text-light);
}

.banner-shape-1, .banner-shape-2 {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.banner-shape-1 {
    width: 300px;
    height: 300px;
    background-color: var(--secondary-color);
    top: -100px;
    right: -100px;
}

.banner-shape-2 {
    width: 200px;
    height: 200px;
    background-color: var(--accent-color);
    bottom: -50px;
    left: -50px;
}

@media (max-width: 768px) {
    .page-banner {
        padding: 100px 0 60px;
    }
    
    .banner-content h1 {
        font-size: 2.5rem;
    }
}

/* About Features Section */
.about-features {
    padding: 80px 0;
    background-color: var(--bg-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(74, 144, 226, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 2rem;
    color: #4a90e2;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.feature-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

/* Achievements Section */
.achievements-section {
    padding: 80px 0;
    background-color: var(--bg-light);
    overflow: hidden;
}

.achievements-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.achievement-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4a90e2;
    margin-bottom: 10px;
}

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

.achievement-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.achievement-item {
    display: flex;
    align-items: flex-start;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.achievement-item:hover {
    transform: translateX(10px);
}

.achievement-item i {
    font-size: 2rem;
    color: #d4af37;
    margin-right: 20px;
    margin-top: 5px;
}

.achievement-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #333;
}

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

/* Counter Animation */
.counter {
    display: inline-block;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .achievements-content {
        grid-template-columns: 1fr;
    }
    
    .achievement-stats {
        order: 1;
    }
    
    .achievement-list {
        order: 2;
    }
}

@media (max-width: 768px) {
    .achievement-stats {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon i {
        font-size: 1.5rem;
    }
}

/* Add these styles to enhance animations */

/* Make invisible elements truly invisible before animation */
.invisible {
    opacity: 0;
}

/* Enhanced hover effects for cards */
.value-card:hover, 
.feature-card:hover, 
.team-member:hover, 
.stat-item:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    z-index: 2;
}

/* Add a subtle pulse animation to icons */
.feature-icon, 
.mission-icon, 
.value-card i {
    animation: iconPulse 2s infinite alternate ease-in-out;
}

@keyframes iconPulse {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

/* Add a subtle glow effect to stat numbers */
.stat-number {
    position: relative;
}

.stat-number::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.2) 0%, rgba(74, 144, 226, 0) 70%);
    border-radius: 50%;
    z-index: -1;
    animation: glow 2s infinite alternate ease-in-out;
}

@keyframes glow {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }
    100% {
        opacity: 1;
        transform: scale(1.5);
    }
}

/* Enhanced animation for mission items */
.mission-item:hover {
    transform: translateX(15px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Add a subtle floating animation to images */
.about-image img,
.mission-image img,
.member-image img {
    animation: float 6s infinite ease-in-out;
}

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

/* Enhance the page banner with a subtle gradient animation */
.page-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    background-size: 200% 200%;
    animation: gradientBG 10s ease infinite;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Add a staggered entrance effect to grid items */
.values-grid > *,
.features-grid > *,
.team-grid > *,
.achievement-stats > * {
    transition-duration: 0.6s;
    transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.values-grid > *:nth-child(1),
.features-grid > *:nth-child(1),
.team-grid > *:nth-child(1),
.achievement-stats > *:nth-child(1) {
    transition-delay: 0.1s;
}

.values-grid > *:nth-child(2),
.features-grid > *:nth-child(2),
.team-grid > *:nth-child(2),
.achievement-stats > *:nth-child(2) {
    transition-delay: 0.2s;
}

.values-grid > *:nth-child(3),
.features-grid > *:nth-child(3),
.team-grid > *:nth-child(3),
.achievement-stats > *:nth-child(3) {
    transition-delay: 0.3s;
}

.values-grid > *:nth-child(4),
.features-grid > *:nth-child(4),
.team-grid > *:nth-child(4),
.achievement-stats > *:nth-child(4) {
    transition-delay: 0.4s;
}

/* Services Hero Section */
.services-hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/services-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: center;
    color: #fff;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

/* Featured Service */
.featured-service {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    align-items: center;
}

.service-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.service-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-card p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.btn-learn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.btn-learn:hover {
    background: var(--primary-dark);
}

/* Process Section */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    position: relative;
}

.process-card .number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .services-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .service-card,
    .process-card {
        padding: 1.5rem;
    }
}

.learn-more {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    margin-top: 1.5rem;
    font-weight: 500;
}

/* Service tabs styling */
.services-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.service-tab {
    padding: 12px 24px;
    background-color: var(--light-bg-color);
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-color);
}

.service-tab.active {
    background-color: var(--primary-color);
    color: white;
}

.service-content-section {
    display: none;
}

.service-content-section.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Service Cards Styling */
.services-card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.service-card {
    background-color: var(--light-bg-color);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    width: 320px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--primary-color);
}

.service-icon {
    margin: 0 auto 15px;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(var(--primary-color-rgb), 0.1);
    border-radius: 50%;
    padding: 15px;
}

.service-icon img {
    max-width: 100%;
    max-height: 100%;
}

.service-card h3 {
    margin-bottom: 12px;
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 600;
}

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

.service-image {
    width: 100%;
    height: 160px;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 8px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.btn-more {
    display: inline-block;
    padding: 8px 25px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
    margin-top: auto; /* Pushes button to bottom of card */
}

.btn-more:hover {
    background-color: var(--secondary-color);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .services-card-container {
        gap: 20px;
    }
    
    .service-card {
        width: calc(50% - 20px);
        max-width: 320px;
    }
}

@media (max-width: 768px) {
    .services-card-container {
        flex-direction: column;
        align-items: center;
    }
    
    .service-card {
        width: 100%;
        max-width: 350px;
    }
}

.achievement-list.scrollable {
    max-height: 400px; /* Adjust height as needed */
    overflow-y: auto;
    padding-right: 15px; /* Increased padding for scrollbar space */
    scrollbar-width: thin;
    -ms-overflow-style: none;  /* IE and Edge */
}

/* Hide scrollbar for Chrome, Safari and Opera but keep functionality */
.achievement-list.scrollable::-webkit-scrollbar {
    width: 4px; /* Reduced width */
    background: transparent;
}

.achievement-list.scrollable::-webkit-scrollbar-track {
    background: transparent; /* Transparent track */
    border-radius: 10px;
}

.achievement-list.scrollable::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1); /* Much lighter color */
    border-radius: 10px;
}

.achievement-list.scrollable::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.2); /* Still subtle on hover */
}

/* Prevent unwanted scrollbars in the viewport */
html, body {
    overflow-x: hidden;
}

/* Ensure the achievements section doesn't cause unwanted scrolling */
.achievements-section {
    overflow: hidden;
}

/* Achievement list styling - completely hide scrollbar but keep functionality */
.achievement-list.scrollable {
    max-height: 400px; /* Adjust height as needed */
    overflow-y: auto;
    padding-right: 15px;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.achievement-list.scrollable::-webkit-scrollbar {
    display: none;
}

/* Enhance the achievement items to make them more visually appealing */
.achievement-item {
    display: flex;
    align-items: flex-start;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 15px;
    border-left: 3px solid #d4af37;
}

.achievement-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.achievement-item i {
    font-size: 2rem;
    color: #d4af37;
    margin-right: 20px;
    margin-top: 5px;
}

.achievement-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #333;
}

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

/* Prevent unwanted scrollbars in the viewport */
html, body {
    overflow-x: hidden;
}

/* Ensure the achievements section doesn't cause unwanted scrolling */
.achievements-section {
    overflow: hidden;
}

.logo-carousel-container {
    overflow: hidden;
    padding: 20px 0;
    background: var(--background-light);
    border-radius: 10px;
    width: 100%;
}

.logo-carousel {
    display: flex;
    animation: slide 1000s linear infinite;
    white-space: nowrap;
    width: 100%;
}

.logo-slide {
    flex: 0 0 auto;
    /* padding: 0 30px; */
}

.logo-slide img {
    object-fit: contain;  /* maintains aspect ratio */
    filter: grayscale(100%);
    transition: filter 0.3s ease;
    /* margin: 0 20px;   */
    /* spacing between logos */
}

.logo-slide img:hover {
    filter: grayscale(0%);
}

@keyframes slide {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

.client-logos-section {
    padding: 50px 0;  /* increased padding for more vertical space */
}

.client-logos-section .section-header {
    margin-bottom: 30px;  /* increased margin for more space */
}

.client-logos-section .section-header h2 {
    font-size: 32px;  /* slightly larger heading */
    margin-bottom: 10px;
}

.client-logos-section .section-header p {
    font-size: 18px;
    color: var(--text-secondary);
}

.logo-carousel-container {
    overflow: hidden;
    padding: 25px 0;  /* increased padding */
    background: var(--background-light);
    border-radius: 10px;
    margin: 0 -15px;  /* negative margin to extend container */
}

.logo-carousel {
    display: flex;
    animation: slide 35s linear infinite;  /* slightly slower animation */
    white-space: nowrap;
}

.logo-slide {
    flex: 0 0 auto;
    padding: 0 10px; /* Further reduced padding from 20px to 10px */
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px; /* Increased height to accommodate larger logos */
}

.logo-carousel {
    display: flex;
    animation: slide 20s linear infinite;
    white-space: nowrap;
    gap: 5px; /* Reduced gap from 10px to 5px */
}

/* Increase logo size */
.logo-slide img {
    width: 260px; /* Increased from 220px to 260px */
    height: 100px; /* Increased from 80px to 100px */
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
    margin: 0;
    max-width: 100%;
    max-height: 100%;
}

.logo-slide {
    flex: 0 0 auto;
    padding: 0 5px; /* Further reduced padding from 10px to 5px */
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    margin: 0; /* Ensure no margin */
}

.logo-carousel {
    display: flex;
    animation: slide 20s linear infinite;
    white-space: nowrap;
    gap: 0; /* Removed gap completely */
}

/* Keep logo size the same but ensure no spacing */
.logo-slide img {
    width: 260px;
    height: 100px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
    margin: 0;
    padding: 0; /* Ensure no padding */
    max-width: 100%;
    max-height: 100%;
    display: block;
}
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.7); /* Darker background for better contrast */
    transition: all 0.3s ease; /* Smooth transition for modal appearance */
}

.modal-content {
    background-color: #fff; /* White background for content */
    margin: 10% auto; /* Centered with margin */
    padding: 20px;
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 8 px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
    max-width: 600px; /* Max width for larger screens */
    width: 90%; /* Responsive width */
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    border-radius: 20px;
    width: 80%; /* Could be more or less, depending on screen size */
}

.close-button {
    color: #ffffff;
    float: right;
    font-size: 28px;
    font-weight: bold;
    transition: color 0.3s; /* Smooth transition for hover effect */
}

.close-button:hover,
.close-button:focus {
    color: #000; /* Change color on hover */
    text-decoration: none;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
