/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #4b5563;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #3b82f6;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 1px;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger {
    width: 20px;
    height: 2px;
    background: #4b5563;
    transition: all 0.3s ease;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 8px;
    padding: 16px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-nav-link {
    text-decoration: none;
    color: #4b5563;
    font-weight: 500;
    padding: 12px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    background: #f3f4f6;
    color: #3b82f6;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(0deg, #d0f0ff 10%, #7b90ff 100%);
    position: relative;
    overflow: hidden;
}

.hero::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="1" fill="%23e2e8f0" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #1f2937;
}


.hero-title-contact {
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #1f2937;
}


.gradient-text {
    background: linear-gradient(100deg, #2c93b3, #002ace);
    background-size: 300% 300%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-description {
    font-size: 1.125rem;
    color: #464646;
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: white;
    color: #3b82f6;
    border: 2px solid #3b82f6;
}

.btn-secondary:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

/* Video Placeholder Styles */
.video-placeholder {
    background: #1f2937;
    border-radius: 12px;
    aspect-ratio: 16/9;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-placeholder:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.video-placeholder.small {
    aspect-ratio: 16/10;
    border-radius: 8px;
}

.video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    color: white;
    text-align: center;
    padding: 20px;
}

.play-button {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #3b82f6;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.play-button.small {
    width: 40px;
    height: 40px;
    font-size: 14px;
    margin-bottom: 8px;
}

.video-placeholder:hover .play-button {
    transform: scale(1.1);
    background: white;
}

.video-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.video-info p {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: 12px;
}

.video-instruction {
    font-size: 0.75rem;
    background: rgba(239, 68, 68, 0.9);
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 500;
}

/* Stats Section */
.stats {
    padding: 60px 0;
    background: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-4px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #3b82f6;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    color: #6b7280;
    font-weight: 500;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #e6e6e6;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 16px;
}

.section-description {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.service-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #3b82f6;
    margin-bottom: 12px;
}

.service-description {
    color: #6b7280;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-video {
    margin-top: 20px;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: white;
}


.testimonials2 {
    padding: 80px 0;
    background: #eee;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
}

.testimonial-card {
    background: #f8fafc;
    padding: 32px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
    font-size: 1.125rem;
    color: #374151;
    margin-bottom: 24px;
    line-height: 1.7;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    position: relative;
}

.avatar-placeholder {
    width: 58px;
    height: 59px;
    background: url("images/SG.png");
    border-radius: 50%;

}

.avatar-placeholder2 {
    width: 58px;
    height: 59px;
    background: url("images/CSB.png");
    border-radius: 50%;

}

.avatar-placeholder3 {
    width: 58px;
    height: 59px;
    background: url("images/ceva.png");
    border-radius: 50%;

}

.avatar-placeholder4 {
    width: 58px;
    height: 59px;
    background: url("images/galvmed.png");
    border-radius: 50%;

}


.avatar-instruction {
    position: absolute;
    top: -20px;
    left: 0;
    font-size: 0.625rem;
    color: #ef4444;
    background: white;
    padding: 2px 4px;
    border-radius: 2px;
    white-space: nowrap;
    font-weight: 500;
}

.author-name {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
}

.author-title {
    color: #6b7280;
    font-size: 0.875rem;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(100deg, #13a0e6, #211382);
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-description {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta .btn-primary {
    background: white;
    color: #3b82f6;
}

.cta .btn-primary:hover {
    background: #f8fafc;
}

.cta .btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.cta .btn-secondary:hover {
    background: white;
    color: #3b82f6;
}

/* Footer */
.footer {
    background: #170948;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 16px;
}

.footer-description {
    color: #9ca3af;
    line-height: 1.6;
}

.footer-heading {
    font-weight: 600;
    margin-bottom: 16px;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #3b82f6;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
    text-align: center;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .logo-text {
        display: none;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles */
.btn:focus,
.nav-link:focus,
.mobile-nav-link:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Featured Video Section Styles */
.featured-video {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-video .video-container {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Case Study Section Styles */
.case-study-section {
    padding: 80px 0;
    background: #f8fafc;
}

.case-study-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.case-study-badge {
    display: inline-block;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.case-study-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 20px;
    line-height: 1.2;
}

.case-study-excerpt {
    font-size: 1.125rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 32px;
}

.case-study-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.highlight {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.highlight-number {
    display: block;
    font-size: 1.875rem;
    font-weight: 800;
    color: #3b82f6;
    margin-bottom: 8px;
}

.highlight-label {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

.case-study-video {
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-study-video .video-container {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
    .featured-content,
    .case-study-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .case-study-title {
        font-size: 2rem;
    }
    
    .case-study-highlights {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .featured-video .video-container,
    .case-study-video .video-container {
        max-width: 100%;
    }
	

	
	.timeline-img {
    width: 100%;
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center center;
    border-radius: 12px;
    transition: transform 0.3s ease;
    display: block;
}

.timeline-img:hover {
    transform: scale(1.02);
}

.timeline-image {
    margin-top: 16px;
    overflow: hidden;
    border-radius: 12px;
    width: 100%;
    max-width: 100%;
}

/* Ensure timeline content doesn't constrain the image */
.timeline-content {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    width: calc(50% - 40px);
    transition: transform 0.3s ease;
    overflow: hidden; /* This is key to prevent overflow */
    box-sizing: border-box; /* Ensure padding is included in width calculation */
}
	
	
	
}
