/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e40af;
    --secondary-color: #3b82f6;
    --accent-color: #06b6d4;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --dark-color: #1f2937;
    --light-color: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --border-radius: 0.5rem;
    --border-radius-lg: 0.75rem;
    --border-radius-xl: 1rem;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--primary-color);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.logo-icon::before {
    content: 'Q';
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    z-index: 2;
}

.logo-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.3;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.logo-text span {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.875rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--gray-600);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    line-height: 1.5;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Header and Navbar - Improved Alignment */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
}

.navbar {
    padding: 0.75rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

/* Logo - Improved Alignment */
.nav-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.nav-logo .logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-logo .logo:hover {
    transform: translateY(-1px);
}

.nav-logo .logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
    transition: all 0.3s ease;
}

.nav-logo .logo:hover .logo-icon {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.nav-logo .logo-icon::before {
    content: 'Q';
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    z-index: 2;
}

.nav-logo .logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.nav-logo .logo-text h2 {
    color: #1e293b;
    font-weight: 700;
    margin: 0;
    font-size: 1.25rem;
    letter-spacing: -0.025em;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.nav-logo .logo-text span {
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 500;
    margin-top: -1px;
    transition: all 0.3s ease;
}

.nav-logo .logo:hover .logo-text h2 {
    color: #2563eb;
}

.nav-logo .logo:hover .logo-text span {
    color: #475569;
}

/* Navigation Menu - Improved Alignment */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
    margin: 0;
    flex: 1;
    justify-content: center;
    padding: 0 1rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    border-radius: 8px;
    white-space: nowrap;
    position: relative;
}

.nav-link:hover {
    color: #2563eb;
    background: rgba(37, 99, 235, 0.05);
    transform: translateY(-1px);
}

.nav-link.active {
    color: #2563eb;
    background: rgba(37, 99, 235, 0.08);
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 2px;
    background: #2563eb;
    border-radius: 1px;
}

/* CTA Button - Improved Alignment */
.nav-cta {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    list-style: none;
}

.nav-cta .btn-primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.nav-cta .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.nav-cta .btn-primary:hover::before {
    left: 100%;
}

/* Dropdown Menu - Improved Alignment */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 0.5rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.06);
    z-index: 1002;
    max-height: 300px;
    overflow-y: auto;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: #475569;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 6px;
    margin: 0 0.5rem;
    transform: translateX(3px);
    background: rgba(37, 99, 235, 0.05);
}

.dropdown-menu a:hover {
    color: #2563eb;
    background: rgba(37, 99, 235, 0.1);
    transform: translateX(8px);
}

/* Hamburger Menu - Improved Alignment */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    background: rgba(37, 99, 235, 0.05);
}

.hamburger:hover {
    background: rgba(37, 99, 235, 0.1);
}

.bar {
    width: 24px;
    height: 2px;
    background: #475569;
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 1px;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
    background: #2563eb;
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
    background: #2563eb;
}

/* Mobile/Desktop visibility classes */
.mobile-only { display: none; }
.desktop-only { display: flex; }

@media (max-width: 768px) {
    .mobile-only { display: block; }
    .desktop-only { display: none; }
}

/* Responsive Design - Improved Alignment */
@media (max-width: 1200px) {
    .nav-container {
        padding: 0 1.5rem;
        gap: 1rem;
    }
    
    .nav-menu {
        gap: 0.25rem;
        padding: 0 0.5rem;
    }
    
    .nav-link {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .nav-cta .btn-primary {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 1024px) {
    .nav-container {
        padding: 0 1rem;
        gap: 0.75rem;
    }
    
    .nav-logo .logo-text h2 {
        font-size: 1.1rem;
    }
    
    .nav-logo .logo-text span {
        font-size: 0.7rem;
    }
    
    .nav-menu {
        gap: 0.2rem;
        padding: 0 0.25rem;
    }
    
    .nav-link {
        padding: 0.5rem 0.7rem;
        font-size: 0.85rem;
    }
    
    .nav-cta .btn-primary {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 900px) {
    .nav-container {
        padding: 0 1rem;
        gap: 0.5rem;
    }
    
    .nav-logo .logo-text h2 {
        font-size: 1rem;
    }
    
    .nav-logo .logo-text span {
        font-size: 0.65rem;
    }
    
    .nav-menu {
        gap: 0.1rem;
        padding: 0;
    }
    
    .nav-link {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .nav-cta .btn-primary {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }
}

/* Hero Section */
.hero {
    padding: 10rem 0 5rem;
    background: linear-gradient(135deg, var(--light-color) 0%, var(--white) 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="molecules" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23e2e8f0"/></pattern></defs><rect width="100" height="100" fill="url(%23molecules)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.hero-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-600);
    font-weight: 500;
}

.feature i {
    color: var(--success-color);
    font-size: 1.25rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-visual {
    width: 400px;
    height: 400px;
    position: relative;
}

.chemical-molecule {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.chemical-molecule::before,
.chemical-molecule::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    border-radius: 50%;
    animation: orbit 8s linear infinite;
}

.chemical-molecule::before {
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
}

.chemical-molecule::after {
    bottom: -30px;
    right: -30px;
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes orbit {
    0% { transform: rotate(0deg) translateX(100px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(100px) rotate(-360deg); }
}

/* Carousel Section */
.carousel-section {
    padding: 4rem 0;
    background: var(--gray-100);
}

.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.slide-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 3rem;
    background: var(--white);
    min-height: 400px;
}

.slide-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.slide-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.slide-image:hover img {
    transform: scale(1.05);
}

.slide-text h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.slide-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--gray-600);
}

.carousel-controls {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 2rem;
    z-index: 10;
}

.carousel-btn {
    background: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    color: var(--primary-color);
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: var(--gray-300);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.dot:hover {
    background: var(--primary-color);
}

/* About Section */
.about {
    padding: 5rem 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: var(--gray-100);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--gray-600);
    font-weight: 500;
    margin: 0;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Products Section */
.products {
    padding: 5rem 0;
    background: var(--gray-100);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray-600);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.product-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.product-icon i {
    font-size: 2rem;
    color: var(--white);
}

.product-card h3 {
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.product-card p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

/* Partners Section */
.partners {
    padding: 5rem 0;
    background: var(--white);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    align-items: center;
}

.partner-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    background: var(--gray-100);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.partner-logo:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.partner-logo img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%);
    transition: var(--transition);
}

.partner-logo:hover img {
    filter: grayscale(0%);
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: var(--gray-100);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 40px;
    text-align: center;
}

.contact-item h4 {
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--gray-600);
    margin: 0;
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.contact-form h3 {
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

input, select, textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: var(--shadow-xl);
}

.close {
    color: var(--gray-400);
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.close:hover {
    color: var(--gray-700);
}

/* Page Header */
.page-header {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-align: center;
}

.page-header-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.page-header-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 5rem 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--gray-200);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--white);
}

.feature-card h3 {
    color: var(--gray-900);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* Contact Overview */
.contact-overview {
    padding: 5rem 0;
    background: var(--gray-100);
}

.overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.overview-text h2 {
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.overview-text p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.contact-highlights {
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.highlight-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 40px;
    text-align: center;
}

.highlight-item h4 {
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.highlight-item p {
    color: var(--gray-600);
    margin: 0;
    font-size: 0.9rem;
}

.overview-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Contact Methods */
.contact-methods {
    padding: 5rem 0;
    background: var(--white);
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.method-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--gray-200);
}

.method-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.method-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.method-icon i {
    font-size: 2rem;
    color: var(--white);
}

.method-card h3 {
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.method-card p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.contact-details {
    margin-bottom: 1.5rem;
}

.contact-details .contact-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.contact-details .contact-item:last-child {
    border-bottom: none;
}

.contact-details strong {
    color: var(--gray-700);
    font-weight: 600;
}

.contact-details span {
    color: var(--gray-600);
}

/* Contact Form Section */
.contact-form-section {
    padding: 5rem 0;
    background: var(--gray-100);
}

.contact-form-section .contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form-section .contact-info h2 {
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.contact-form-section .contact-info p {
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.contact-features {
    margin-top: 2rem;
}

.contact-features .feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.contact-features .feature i {
    color: var(--success-color);
    font-size: 1.1rem;
}

.contact-features .feature span {
    color: var(--gray-700);
    font-weight: 500;
}

.contact-form-section .contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.contact-form-section .contact-form h3 {
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

/* Quote Section */
.quote-section {
    padding: 5rem 0;
    background: var(--white);
}

.quote-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.quote-info h2 {
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.quote-info p {
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.quote-benefits {
    margin-top: 2rem;
}

.quote-benefits .benefit {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.quote-benefits .benefit i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.quote-benefits .benefit span {
    color: var(--gray-700);
    font-weight: 500;
}

.quote-form {
    background: var(--gray-100);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
}

/* Location Section */
.location-section {
    padding: 5rem 0;
    background: var(--gray-100);
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.location-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
}

.location-card h3 {
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.address {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.address i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.address p {
    color: var(--gray-600);
    margin: 0;
    line-height: 1.6;
}

.location-card .contact-details {
    margin: 0;
}

.location-card .contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.location-card .contact-item i {
    color: var(--primary-color);
    width: 20px;
}

.location-card .contact-item span {
    color: var(--gray-600);
}

.location-map {
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    width: 100%;
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.map-placeholder i {
    font-size: 4rem;
    color: var(--gray-400);
    margin-bottom: 1rem;
}

.map-placeholder p {
    color: var(--gray-600);
    margin: 0.5rem 0;
}

.map-placeholder p:first-of-type {
    font-weight: 600;
    color: var(--gray-700);
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background: var(--white);
}

.faq-grid {
    margin-top: 3rem;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--gray-50);
}

.faq-question h4 {
    color: var(--gray-900);
    margin: 0;
    font-size: 1.1rem;
}

.faq-question i {
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* Form Labels */
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--gray-700);
    font-weight: 500;
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--gray-300);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--gray-300);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gray-700);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding-top: 1rem;
    text-align: center;
    color: var(--gray-400);
}

/* Responsive Design */
@media (max-width: 768px) {

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-features {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-visual {
        width: 300px;
        height: 300px;
    }

    .slide-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
        min-height: 350px;
    }

    .slide-text h3 {
        font-size: 1.5rem;
    }

    .carousel-controls {
        bottom: 1rem;
        gap: 1rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* New sections responsive */
    .overview-content,
    .contact-form-section .contact-content,
    .quote-content,
    .location-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .features-grid,
    .methods-grid {
        grid-template-columns: 1fr;
    }

    .page-header-content h1 {
        font-size: 2.5rem;
    }

    .overview-text h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }

    .hero {
        padding: 6rem 0 3rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .modal-content {
        margin: 10% auto;
        padding: 1.5rem;
        width: 95%;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Scroll animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Product Features */
.product-features {
    list-style: none;
    margin: 1rem 0;
    padding: 0;
}

.product-features li {
    padding: 0.25rem 0;
    color: var(--gray-600);
    position: relative;
    padding-left: 1.5rem;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* Specifications Grid */
.specifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.spec-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

.spec-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table tr {
    border-bottom: 1px solid var(--gray-200);
}

.spec-table tr:last-child {
    border-bottom: none;
}

.spec-table td {
    padding: 0.75rem 0;
    vertical-align: top;
}

.spec-table td:first-child {
    font-weight: 500;
    color: var(--gray-700);
    width: 60%;
}

.spec-table td:last-child {
    color: var(--gray-600);
    width: 40%;
}

/* Product Highlights */
.product-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.5rem 0;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gray-100);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    color: var(--gray-700);
}

.highlight-item i {
    color: var(--primary-color);
    font-size: 1rem;
}

/* Active Navigation */
.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
}

/* Contact Highlights */
.contact-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.5rem 0;
}

.contact-highlights .highlight-item {
    background: var(--primary-color);
    color: var(--white);
}

.contact-highlights .highlight-item i {
    color: var(--white);
}

/* Responsive Design for Specifications */
@media (max-width: 768px) {
    .specifications-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .spec-card {
        padding: 1.5rem;
    }
    
    .spec-table td {
        padding: 0.5rem 0;
    }
    
    .product-highlights {
        flex-direction: column;
    }
    
    .highlight-item {
        justify-content: flex-start;
    }
} 

/* New Story Section Styles */
.company-story {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--white) 100%);
}

.story-header {
    text-align: center;
    margin-bottom: 4rem;
}

.story-header h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.story-header p {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.story-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 4rem;
}

.story-card {
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: var(--border-radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.story-card .card-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 2rem;
    position: relative;
    overflow: hidden;
}

.story-card .card-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    border-radius: 50%;
}

.story-card .card-icon i {
    font-size: 2rem;
    color: var(--white);
    z-index: 2;
}

.story-card .card-content {
    flex: 1;
}

.story-card .card-content h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.story-card .card-content p {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.story-stats-section {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, var(--gray-50), var(--white));
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1rem;
    color: var(--gray-600);
    font-weight: 500;
}

/* Responsive Design for Story Section */
@media (max-width: 768px) {
    .story-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
    
    .story-card .card-icon {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .story-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .story-card {
        padding: 1.5rem;
    }
    
    .story-card .card-icon {
        width: 60px;
        height: 60px;
    }
    
    .story-card .card-icon i {
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
} 

/* Enhanced Section Spacing for About Page */
.company-story {
    padding: 5rem 0;
    margin-bottom: 2rem;
}

.mission-vision {
    padding: 5rem 0;
    margin: 3rem 0;
}

.core-values {
    padding: 5rem 0;
    margin: 3rem 0;
}

.team-section {
    padding: 5rem 0;
    margin: 3rem 0;
}

.certifications {
    padding: 5rem 0;
    margin: 3rem 0;
}

/* Additional spacing for section headers */
.section-header {
    margin-bottom: 4rem;
}

.story-header {
    margin-bottom: 4rem;
}

/* Enhanced spacing for story cards */
.story-cards {
    margin-bottom: 4rem;
}

.story-stats-section {
    margin-top: 4rem;
}

/* Enhanced spacing for mission vision grid */
.mission-vision-grid {
    gap: 3rem;
}

/* Enhanced spacing for values grid */
.values-grid {
    gap: 2.5rem;
    margin-top: 3rem;
}

/* Enhanced spacing for team grid */
.team-grid {
    margin-top: 4rem;
}

/* Enhanced spacing for certification boxes */
.cert-boxes {
    margin-top: 4rem;
}

/* Responsive spacing adjustments */
@media (max-width: 768px) {
    .company-story,
    .mission-vision,
    .core-values,
    .team-section,
    .certifications {
        padding: 3rem 0;
        margin: 2rem 0;
    }
    
    .section-header,
    .story-header {
        margin-bottom: 3rem;
    }
    
    .story-cards {
        margin-bottom: 3rem;
    }
    
    .story-stats-section {
        margin-top: 3rem;
    }
    
    .mission-vision-grid {
        gap: 2rem;
    }
    
    .values-grid {
        gap: 2rem;
        margin-top: 2rem;
    }
    
    .team-grid {
        margin-top: 3rem;
    }
    
    .cert-boxes {
        margin-top: 3rem;
    }
}

@media (max-width: 480px) {
    .company-story,
    .mission-vision,
    .core-values,
    .team-section,
    .certifications {
        padding: 2rem 0;
        margin: 1.5rem 0;
    }
    
    .section-header,
    .story-header {
        margin-bottom: 2rem;
    }
    
    .story-cards {
        margin-bottom: 2rem;
    }
    
    .story-stats-section {
        margin-top: 2rem;
    }
    
    .mission-vision-grid {
        gap: 1.5rem;
    }
    
    .values-grid {
        gap: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .team-grid {
        margin-top: 2rem;
    }
    
    .cert-boxes {
        margin-top: 2rem;
    }
} 

/* Team Box Grid Layout */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-box {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 123, 255, 0.1);
    text-align: center;
    padding: 2rem;
}

.team-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 123, 255, 0.15);
    border-color: rgba(0, 123, 255, 0.3);
}

.team-box .member-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    border: 4px solid rgba(0, 123, 255, 0.1);
    transition: all 0.3s ease;
}

.team-box:hover .member-image {
    border-color: rgba(0, 123, 255, 0.3);
    transform: scale(1.05);
}

.team-box .member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-box:hover .member-image img {
    transform: scale(1.1);
}

.team-box .member-info h4 {
    color: #007bff;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-family: 'Poppins', sans-serif;
}

.team-box .member-info .position {
    color: #6c757d;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-box .member-info .bio {
    color: #495057;
    line-height: 1.6;
    margin: 0;
}

/* Responsive adjustments for team boxes */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .team-box {
        padding: 1.5rem;
    }
    
    .team-box .member-image {
        width: 120px;
        height: 120px;
    }
    
    .team-box .member-info h4 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .team-box {
        padding: 1rem;
    }
    
    .team-box .member-image {
        width: 100px;
        height: 100px;
    }
    
    .team-box .member-info h4 {
        font-size: 1.2rem;
    }
    
    .team-box .member-info .position {
        font-size: 0.9rem;
    }
} 

/* Certification Box Design */
.cert-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.cert-box {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 123, 255, 0.1);
    padding: 2rem;
    text-align: center;
    position: relative;
}

.cert-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 123, 255, 0.15);
    border-color: rgba(0, 123, 255, 0.3);
}

.cert-box .cert-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.cert-box:hover .cert-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
}

.cert-box .cert-icon i {
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.cert-box:hover .cert-icon i {
    transform: rotate(360deg);
}

.cert-box .cert-content h4 {
    color: #007bff;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-family: 'Poppins', sans-serif;
}

.cert-box .cert-content p {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Responsive adjustments for certification boxes */
@media (max-width: 768px) {
    .cert-boxes {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .cert-box {
        padding: 1.5rem;
    }

    .cert-box .cert-icon {
        width: 70px;
        height: 70px;
    }

    .cert-box .cert-icon i {
        font-size: 1.8rem;
    }

    .cert-box .cert-content h4 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .cert-boxes {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .cert-box {
        padding: 1rem;
    }

    .cert-box .cert-icon {
        width: 60px;
        height: 60px;
    }

    .cert-box .cert-icon i {
        font-size: 1.5rem;
    }

    .cert-box .cert-content h4 {
        font-size: 1.2rem;
    }

    .cert-box .cert-content p {
        font-size: 0.9rem;
    }
} 

/* Enhanced Navbar Animations */
@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-2px);
    }
}

.nav-logo .logo:hover {
    animation: logoFloat 2s ease-in-out infinite;
}

/* Enhanced dropdown arrow animation */
.nav-link i.fa-chevron-down {
    transition: transform 0.3s ease;
}

.dropdown:hover .nav-link i.fa-chevron-down {
    transform: rotate(180deg);
}

/* Enhanced mobile menu animations */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
        gap: 0.5rem;
        justify-content: space-between;
    }
    
    .nav-logo .logo-text h2 {
        font-size: 1rem;
    }
    
    .nav-logo .logo-text span {
        font-size: 0.65rem;
    }
    
    .nav-logo .logo-icon {
        width: 35px;
        height: 35px;
    }
    
    .hamburger {
        display: flex;
        order: 3;
    }
    
    .nav-cta {
        display: none;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: all 0.3s ease;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        padding: 1.5rem 0;
        gap: 0.5rem;
        margin: 0;
        justify-content: flex-start;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
        z-index: 1001;
        align-items: center;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 0.25rem 0;
        width: 100%;
        max-width: 300px;
        opacity: 0;
        transform: translateX(-20px);
        transition: all 0.3s ease;
    }

    .nav-menu.active li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-menu li:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu li:nth-child(2) { transition-delay: 0.2s; }
    .nav-menu li:nth-child(3) { transition-delay: 0.3s; }
    .nav-menu li:nth-child(4) { transition-delay: 0.4s; }
    .nav-menu li:nth-child(5) { transition-delay: 0.5s; }
    .nav-menu li:nth-child(6) { transition-delay: 0.6s; }
    .nav-menu li:nth-child(7) { transition-delay: 0.7s; }

    /* Mobile CTA button in menu */
    .nav-menu .nav-cta {
        margin: 1rem 0;
        padding: 0 1rem;
        width: 100%;
        max-width: 300px;
        order: 8;
        transition-delay: 0.8s;
        opacity: 0;
        transform: translateX(-20px);
        display: block;
    }

    .nav-menu.active .nav-cta {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-menu .nav-cta .btn-primary {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
        border-radius: 8px;
        background: linear-gradient(135deg, #2563eb, #1d4ed8);
        box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
        transition: all 0.3s ease;
    }

    .nav-menu .nav-cta .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    }

    .nav-link {
        padding: 0.875rem 2rem;
        font-size: 1rem;
        justify-content: center;
        border-radius: 8px;
        margin: 0 1rem;
        width: calc(100% - 2rem);
        max-width: 280px;
    }

    .nav-link:hover {
        transform: none;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(37, 99, 235, 0.03);
        margin: 0.5rem 1rem;
        border-radius: 8px;
        border: 1px solid rgba(37, 99, 235, 0.08);
        width: calc(100% - 2rem);
        max-width: 280px;
    }

    .dropdown-menu a {
        margin: 0.25rem 0.5rem;
        border-radius: 6px;
        text-align: center;
    }
}

/* Enhanced focus states for accessibility */
.nav-link:focus,
.nav-cta .btn-primary:focus,
.hamburger:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Enhanced active state for current page */
.nav-link.active {
    position: relative;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.15) 0%, rgba(0, 86, 179, 0.08) 100%);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
    border: 1px solid rgba(0, 123, 255, 0.2);
}

.nav-link.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1) 0%, rgba(0, 86, 179, 0.05) 100%);
    border-radius: 12px;
    opacity: 1;
    transform: scale(1);
}

/* Enhanced CTA button glow effect */
.nav-cta .btn-primary {
    position: relative;
    overflow: hidden;
}

.nav-cta .btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.nav-cta .btn-primary:hover::after {
    opacity: 1;
} 

@media (max-width: 480px) {
    .nav-container {
        padding: 0 0.75rem;
        gap: 0.25rem;
    }
    
    .nav-logo .logo-text h2 {
        font-size: 0.9rem;
    }
    
    .nav-logo .logo-text span {
        font-size: 0.6rem;
    }
    
    .nav-logo .logo-icon {
        width: 30px;
        height: 30px;
    }
    
    .nav-logo .logo-icon::before {
        font-size: 1rem;
    }
    
    .hamburger {
        padding: 0.4rem;
    }
    
    .bar {
        width: 20px;
        height: 2px;
    }
    
    .nav-menu {
        top: 65px;
        padding: 1rem 0;
    }
    
    .nav-menu li {
        max-width: 280px;
    }
    
    .nav-menu .nav-cta {
        max-width: 280px;
    }
    
    .nav-link {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
        margin: 0 0.75rem;
        width: calc(100% - 1.5rem);
        max-width: 260px;
    }
    
    .dropdown-menu {
        margin: 0.5rem 0.75rem;
        width: calc(100% - 1.5rem);
        max-width: 260px;
    }
    
    .nav-menu .nav-cta .btn-primary {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* Prevent body scroll when mobile menu is active */
body.menu-open {
    overflow: hidden;
}

/* Ensure header stays on top */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}