/* ======================================
   Main Styles - Software Company Website
   ====================================== */

:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --accent-color: #ec4899;
    --dark-color: #0f172a;
    --light-color: #f8fafc;
    --text-color: #334155;
    --border-radius: 20px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    background-color: var(--light-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography - تصغير الأحجام */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 0.875rem;
    font-size: 1rem;
    line-height: 1.7;
}

/* Container */
.container-modern {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

/* Buttons */
.btn-modern {
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    z-index: -1;
}

.btn-modern:hover::before {
    width: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Navigation */
.navbar-modern {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    padding: 0.75rem 0;
}

.navbar-modern .container-modern {
    max-width: 1400px;
    padding: 0 1rem;
}

.navbar-modern.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-md);
}

.navbar-brand-modern {
    font-size: 1.65rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    flex-shrink: 0;
}

.navbar-brand-modern img {
    height: 48px !important;
}

.navbar-toggler {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
    padding: 0.5rem;
    border-radius: 8px;
    transition: var(--transition);
    z-index: 1001;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.navbar-toggler:hover,
.navbar-toggler:focus {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    outline: none;
}

.navbar-toggler:active {
    transform: scale(0.95);
}

.navbar-collapse {
    display: flex;
    gap: 0.25rem;
    align-items: center;
    flex-wrap: nowrap;
}

.nav-link-modern {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.4rem 0.6rem;
    margin: 0 0.1rem;
    border-radius: 8px;
    transition: var(--transition);
    font-weight: 500;
    position: relative;
    white-space: nowrap;
    font-size: 0.9rem;
}

.nav-link-modern::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link-modern:hover {
    color: var(--primary-color);
}

.nav-link-modern:hover::after {
    width: 80%;
}

.nav-link-modern.active {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-link-modern.active::after {
    width: 80%;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #6366f1 100%);
    padding: 100px 0 60px 0;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    line-height: 1.4;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    color: white;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(2) { animation-delay: 1s; }
.floating-element:nth-child(3) { animation-delay: 2s; }
.floating-element:nth-child(4) { animation-delay: 3s; }

/* Section Styles */
.section {
    padding: 70px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--gradient-primary);
    margin: 0.75rem auto;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-color);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

/* Cards */
.card-3d {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.card-3d:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: var(--shadow-xl);
}

.card-3d:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: var(--gradient-primary);
    color: white;
    font-size: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
}

.card-text {
    color: var(--text-color);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

/* Pricing Cards */
.pricing-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    transform: scale(1.05);
    background: var(--gradient-primary);
    color: white;
}

.pricing-card.featured * {
    color: white;
}

.pricing-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.pricing-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--accent-color);
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-weight: 600;
    font-size: 0.9rem;
}

.pricing-plan {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.pricing-currency {
    font-size: 1.25rem;
    vertical-align: super;
}

.pricing-period {
    font-size: 0.9rem;
    opacity: 0.7;
}

.pricing-features {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
}

.pricing-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 0.95rem;
}

/* Team Cards */
.team-card {
    text-align: center;
    position: relative;
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius) var(--border-radius) 50% 50%;
    z-index: 0;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
}

.team-image {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 4px solid white;
    background: white;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-card:hover .team-image {
    border-color: var(--primary-color);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.3);
}

.team-social {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    opacity: 0;
    transition: var(--transition);
    z-index: 2;
}

.team-card:hover .team-social {
    opacity: 1;
    bottom: 20px;
}

.social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 0.9rem;
}

.social-icon:hover {
    transform: scale(1.2) rotate(10deg);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
}

.team-card h3 {
    position: relative;
    z-index: 1;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.team-card p {
    position: relative;
    z-index: 1;
}

/* Testimonials */
.testimonial-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    position: relative;
}

.testimonial-quote {
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: 20px;
    left: 20px;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info h4 {
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.testimonial-info p {
    margin: 0;
    color: var(--text-color);
    opacity: 0.7;
}

/* Contact Form */
.contact-form {
    background: white;
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.form-control-modern {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--light-color);
}

.form-control-modern:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Footer */
.footer-modern {
    background: linear-gradient(180deg, var(--dark-color) 0%, #1e293b 100%);
    color: white;
    padding: 0;
    position: relative;
}

.footer-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

/* Footer Main Content */
.footer-main {
    padding: 2rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 2rem;
    align-items: start;
}

/* Footer Brand */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-main-logo {
    height: 36px;
    object-fit: contain;
}

.footer-logo-icon {
    font-size: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
}

.footer-secondary-logo {
    padding-right: 0.75rem;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    margin-right: 0.5rem;
}

.footer-secondary-logo img {
    height: 32px;
    object-fit: contain;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
    max-width: 300px;
}

.footer-social-links {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.footer-social-links .social-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-social-links .social-icon:hover {
    background: var(--gradient-primary);
    transform: translateY(-2px);
}

/* Footer Sections */
.footer-section h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section h4 i {
    color: var(--primary-color);
    font-size: 0.95rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.footer-links a i {
    font-size: 0.65rem;
    opacity: 0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-right: 0.25rem;
}

.footer-links a:hover i {
    opacity: 1;
    color: var(--primary-color);
}

/* Footer Contact List - Compact */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.65rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact-list li i {
    color: var(--primary-color);
    font-size: 0.95rem;
    width: 18px;
}

.footer-contact-list li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact-list li a:hover {
    color: white;
}

/* Newsletter - Compact Inline */
.newsletter-inline {
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    padding: 1.1rem 1.35rem;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.newsletter-inline .newsletter-text {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    font-size: 1rem;
    font-weight: 500;
}

.newsletter-inline .newsletter-text i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.newsletter-inline form {
    display: flex;
    gap: 0.5rem;
    flex: 1;
    max-width: 400px;
}

.newsletter-inline input {
    flex: 1;
    padding: 0.65rem 1.1rem;
    border: none;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.95rem;
    outline: none;
    min-width: 180px;
}

.newsletter-inline input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-inline button {
    padding: 0.65rem 1.35rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: 25px;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.newsletter-inline button:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.newsletter-message {
    text-align: center;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    display: none;
}

/* Footer Bottom */
.footer-bottom {
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.15);
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.copyright {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
    margin: 0;
}

.footer-policies {
    display: flex;
    gap: 1.25rem;
}

.footer-policies a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.footer-policies a i {
    font-size: 0.8rem;
    color: var(--primary-color);
}

.footer-policies a:hover {
    color: white;
}

/* Footer Responsive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .footer-brand {
        grid-column: span 2;
        align-items: center;
        text-align: center;
    }
    
    .footer-description {
        max-width: 100%;
        text-align: center;
    }
    
    .footer-social-links {
        justify-content: center;
    }
    
    .newsletter-inline {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-inline form {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .footer-main {
        padding: 1.5rem 0 1rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        text-align: center;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .footer-logo-section {
        justify-content: center;
    }
    
    .footer-section h4 {
        justify-content: center;
    }
    
    .footer-links a {
        justify-content: center;
    }
    
    .footer-contact-list li {
        justify-content: center;
    }
    
    .newsletter-inline {
        padding: 1rem;
    }
    
    .newsletter-inline form {
        flex-direction: column;
    }
    
    .newsletter-inline input {
        text-align: center;
    }
    
    .newsletter-inline button {
        width: 100%;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-policies {
        justify-content: center;
    }
    
    .footer-secondary-logo {
        padding-right: 0;
        border-right: none;
        margin-right: 0;
    }
}

@media (max-width: 480px) {
    .footer-brand-name {
        font-size: 1.2rem;
    }
    
    .footer-main-logo {
        height: 30px;
    }
    
    .footer-description {
        font-size: 0.9rem;
    }
    
    .newsletter-text h4 {
        font-size: 1.1rem;
    }
    
    .newsletter-text p {
        font-size: 0.85rem;
    }
}

/* استايلات اضافية */
button, [role="button"] {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

/* Hide focus outline on buttons when mouse is used */
@media (hover: hover) {
    button, [role="button"] {
        outline: none;
    }
}

/* ======================================
   Navbar Responsive Styles
   ====================================== */

/* Navbar Logos Container */
.navbar-logos {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 15px;
    flex-wrap: nowrap !important;
}

/* Fix navbar brand to stay horizontal */
.navbar-logos .navbar-brand-modern {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px;
}

/* Secondary Logo in Navbar */
.secondary-logo-navbar {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    transition: var(--transition);
    flex-shrink: 0;
}

.secondary-logo-navbar img {
    height: 42px;
    max-width: 120px;
    object-fit: contain;
    transition: var(--transition);
}

.secondary-logo-navbar img:hover {
    transform: scale(1.05);
}

/* Responsive Navbar - Medium screens */
@media (max-width: 1400px) {
    .nav-link-modern {
        padding: 0.35rem 0.5rem;
        margin: 0 0.05rem;
        font-size: 0.85rem;
    }
    
    .navbar-brand-modern {
        font-size: 1.45rem;
    }
    
    .navbar-brand-modern img {
        height: 44px !important;
    }
    
    .secondary-logo-navbar img {
        height: 38px;
    }
    
    .navbar-collapse .btn-modern {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

@media (max-width: 1200px) {
    .nav-link-modern {
        padding: 0.3rem 0.4rem;
        margin: 0;
        font-size: 0.8rem;
    }
    
    .navbar-brand-modern {
        font-size: 1.35rem;
    }
    
    .navbar-brand-modern img {
        height: 40px !important;
    }
    
    .secondary-logo-navbar img {
        height: 35px;
    }
    
    .navbar-collapse .btn-modern {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
}

/* Mobile Navbar - Show toggler and hide collapse */
@media (max-width: 1100px) {
    .navbar-toggler {
        display: block !important;
    }
    
    .navbar-collapse {
        display: none !important;
        position: fixed;
        top: 0;
        left: 1rem;
        right: 1rem;
        bottom: auto;
        margin-top: 65px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
        border-radius: var(--border-radius);
        gap: 0.5rem !important;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
        z-index: 999;
        border: 1px solid rgba(99, 102, 241, 0.1);
    }
    
    .navbar-collapse.show {
        display: flex !important;
        animation: slideDown 0.3s ease-out;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .nav-link-modern {
        width: 100%;
        text-align: center;
        padding: 0.875rem;
        margin: 0;
        border-radius: 10px;
        font-size: 0.95rem;
    }
    
    .nav-link-modern:hover {
        background: rgba(99, 102, 241, 0.1);
    }
    
    .nav-link-modern::after {
        display: none;
    }
    
    .nav-link-modern.active {
        background: rgba(99, 102, 241, 0.15);
        color: var(--primary-color);
        font-weight: 600;
    }
    
    .navbar-collapse .btn-modern {
        width: 100%;
        text-align: center;
        margin: 0.5rem 0 0 0 !important;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .navbar-brand-modern {
        font-size: 1.5rem;
    }
    
    .navbar-brand-modern img {
        height: 42px !important;
    }
    
    .navbar-logos {
        gap: 12px;
    }
    
    .secondary-logo-navbar {
        padding-right: 12px;
    }
    
    .secondary-logo-navbar img {
        height: 35px;
    }
}

/* Small Mobile Screens */
@media (max-width: 768px) {
    .navbar-logos {
        gap: 10px;
    }
    
    .secondary-logo-navbar {
        padding-right: 10px;
    }
    
    .secondary-logo-navbar img {
        height: 32px;
    }
    
    .navbar-brand-modern {
        font-size: 1.3rem;
    }
    
    .navbar-brand-modern img {
        height: 38px !important;
    }
    
    .navbar-brand-modern span {
        font-size: 1.1rem;
    }
}

/* Extra Small Screens */
@media (max-width: 480px) {
    .navbar-logos {
        gap: 8px;
    }
    
    .secondary-logo-navbar {
        padding-right: 8px;
    }
    
    .secondary-logo-navbar img {
        height: 28px;
        max-width: 80px;
    }
    
    .navbar-brand-modern span {
        font-size: 1rem;
    }
    
    .navbar-brand-modern img {
        height: 34px !important;
    }
    
    .navbar-collapse {
        left: 0.5rem;
        right: 0.5rem;
        padding: 1rem;
    }
}
