/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* Ensure proper viewport handling */
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    min-height: 100vh;
    /* Prevent horizontal scrolling on mobile */
    width: 100%;
    position: relative;
}

/* Ensure proper viewport handling */
@media screen and (max-width: 768px) {
    body {
        font-size: 16px; /* Prevent zoom on iOS */
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    /* Prevent zoom on input focus */
    input, select, textarea {
        font-size: 16px !important;
    }
    
    /* Improve touch targets */
    button, a, [role="button"] {
        min-height: 44px;
        min-width: 44px;
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Fix for iOS Safari viewport issues */
    .hero-slider {
        height: 100vh;
        height: -webkit-fill-available;
    }
    
    /* Ensure proper scrolling */
    .nav-menu {
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }
}

section {
    position: relative;
    z-index: 1;
    width: 100%;
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: #666;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
    /* Ensure buttons are touch-friendly on mobile */
    min-height: 44px;
    min-width: 44px;
    -webkit-tap-highlight-color: transparent;
}

.btn-primary {
    background: var(--gradient-main);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #333;
}

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

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

/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-main);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.loader {
    text-align: center;
    color: white;
}

.loader-text {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    /* Ensure navbar is properly positioned */
    left: 0;
    right: 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.nav-logo h2 {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-item {
    margin: 0 1rem;
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    /* Ensure links are touch-friendly */
    min-height: 44px;
    min-width: 44px;
    -webkit-tap-highlight-color: transparent;
}

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

.nav-link i {
    margin-left: 5px;
    font-size: 0.8rem;
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 1rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: #f8f9fa;
    color: var(--primary-color);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    /* Ensure hamburger is touch-friendly */
    min-height: 44px;
    min-width: 44px;
    justify-content: center;
    align-items: center;
    -webkit-tap-highlight-color: transparent;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Slider Section */
.hero-slider {
    height: 100vh;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.slider-container {
    height: 100%;
    position: relative;
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    pointer-events: none;
    transform: translateY(-50%);
}

.slider-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    backdrop-filter: blur(10px);
    /* Ensure buttons are touch-friendly */
    min-height: 44px;
    min-width: 44px;
    -webkit-tap-highlight-color: transparent;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.slider-btn i {
    font-size: 1.2rem;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 1rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.6);
    /* Ensure dots are touch-friendly on mobile, but small on desktop */
}

.dot.active,
.dot:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.2);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Overlay removed to show background images clearly */
}

.hero-content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0 1rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    color: #fff !important;
    font-size: 0.8rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Hero Stats */
.hero-stats {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    color: white;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-main);
}

.section-header p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Overview */
.services-overview {
    padding: 6rem 0;
    background: #f8f9fa;
}

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

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

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

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

.service-card h3 {
    margin-bottom: 1rem;
    color: #333;
}

.service-card p {
    margin-bottom: 1.5rem;
    color: #666;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: var(--secondary-color);
}

.service-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Testimonials */
.testimonials {
    padding: 6rem 0;
    background: var(--gradient-main);
    color: white;
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    height: 300px;
    overflow: hidden;
}

.testimonial-item {
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    opacity: 0;
    transition: all 0.5s ease;
    text-align: center;
    padding: 2rem;
}

.testimonial-item.active {
    left: 0;
    opacity: 1;
}

.testimonial-content p {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

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

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.author-info h4 {
    margin-bottom: 0.25rem;
    color: white;
}

.author-info span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

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

.testimonial-prev,
.testimonial-next {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background: rgba(255, 255, 255, 0.3);
}

.testimonial-dots {
    display: flex;
    gap: 0.5rem;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background 0.3s ease;
}

.testimonial-dot.active {
    background: white;
}

/* About Section */
.about {
    padding: 6rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text .section-header {
    text-align: left;
    margin-bottom: 2rem;
}

.about-text .section-header h2::after {
    left: 0;
    transform: none;
}

.about-description p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.about-features {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.feature-item h4 {
    margin-bottom: 0.5rem;
}

.feature-item p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

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

/* Leadership Team */
.leadership {
    padding: 6rem 0;
    background: #f8f9fa;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.team-member {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.member-image {
    position: relative;
    overflow: hidden;
}

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

.member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(102, 126, 234, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.member-image:hover .member-overlay {
    opacity: 1;
}

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

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

.social-links a:hover {
    transform: scale(1.1);
}

.member-info {
    padding: 2rem;
}

.member-info h3 {
    margin-bottom: 0.5rem;
}

.member-info p {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.member-info span {
    color: #666;
    font-size: 0.9rem;
}

/* Services Detailed */
.services-detailed {
    padding: 6rem 0;
}

.service-section {
    margin-bottom: 6rem;
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-content.reverse {
    direction: rtl;
}

.service-content.reverse > * {
    direction: ltr;
}

.service-text h3 {
    margin-bottom: 1.5rem;
    color: #333;
}

.service-text p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.service-features i {
    color: var(--primary-color);
    margin-right: 1rem;
    font-size: 1.1rem;
}

.service-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Careers */
.careers {
    padding: 6rem 0;
    background: #f8f9fa;
}

.careers-content {
    max-width: 1000px;
    margin: 0 auto;
}

.company-culture {
    margin-bottom: 4rem;
}

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

.culture-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.culture-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.culture-item h4 {
    margin-bottom: 0.5rem;
}

.culture-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.open-positions {
    margin-bottom: 4rem;
}

.positions-list {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.position-item {
    border-bottom: 1px solid #eee;
    padding: 2rem;
}

.position-item:last-child {
    border-bottom: none;
}

.position-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.position-header h4 {
    margin-bottom: 0;
    color: #333;
}

.position-type {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

.position-details {
    display: flex;
    gap: 2rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.position-details span {
    color: #666;
    font-size: 0.9rem;
}

.position-details i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.position-expanded {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
    display: none;
}

.position-expanded.show {
    display: block;
}

.position-expanded h5 {
    margin-bottom: 1rem;
    color: #333;
}

.position-expanded ul {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.position-expanded li {
    margin-bottom: 0.5rem;
    color: #666;
}

/* Forms */
.cv-submission {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.cv-form,
.contact-form {
    max-width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group small {
    color: #666;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: block;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.contact-info h3 {
    margin-bottom: 2rem;
}

.contact-items {
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1.5rem;
    margin-top: 0.25rem;
}

.contact-item h4 {
    margin-bottom: 0.5rem;
    color: #333;
}

.contact-item p {
    margin-bottom: 0;
    line-height: 1.6;
}

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

.social-link {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease, background 0.3s ease;
}

.social-link:hover {
    transform: translateY(-2px);
    background: var(--secondary-color);
}

.contact-form-container {
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 15px;
}

.office-map {
    margin-top: 4rem;
}

.office-map h3 {
    margin-bottom: 2rem;
    text-align: center;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.5rem;
    color: white;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: #333;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary-color);
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: #ccc;
}

.footer-contact i {
    margin-right: 0.75rem;
    color: var(--primary-color);
    width: 16px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #999;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-main);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

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

.back-to-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

/* Utility Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    /* Navigation */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        height: calc(100vh - 70px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 1rem 0;
        width: 100%;
    }

    .nav-link {
        justify-content: center;
        padding: 1rem;
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f8f9fa;
        margin-top: 1rem;
        width: 100%;
        border-radius: 0;
    }

    .dropdown-menu a {
        padding: 1rem;
        text-align: center;
    }

    .hamburger {
        display: flex;
        z-index: 1002;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Hero */
    .hero-title {
        font-size: 2.5rem;
        padding: 0 1rem;
    }

    .hero-subtitle {
        font-size: 1rem !important;
        padding: 0 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 0 1rem;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    /* Hero Slider Mobile */
    .slider-nav {
        padding: 0 1rem;
    }
    
    .slider-btn {
        width: 50px;
        height: 50px;
    }
    
    .slider-btn i {
        font-size: 1rem;
    }
    
    .slider-dots {
        bottom: 80px;
    }
    
    .dot {
        width: 12px;
        height: 12px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    /* Content Sections */
    .about-content,
    .service-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .service-content.reverse {
        direction: ltr;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .culture-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .position-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .position-details {
        flex-direction: column;
        gap: 0.5rem;
    }

    /* Typography adjustments */
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.75rem; }

    .why-choose-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 2rem !important;
    }
    .why-choose-grid > div {
        width: 100% !important;
        max-width: 100% !important;
    }
    .why-choose-grid img {
        margin-top: 1rem;
        margin-bottom: 0;
        width: 100% !important;
        max-width: 350px;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    /* Fix for theme switcher and mode toggle on mobile */
    .theme-switcher-container {
        margin-left: 0 !important;
        margin-right: 1rem;
        display: none; /* Hide on very small screens */
    }

    .theme-switcher-container select {
        font-size: 0.8rem;
        padding: 4px 8px;
        min-height: 32px;
    }

    #mode-toggle {
        margin-left: 0.5rem !important;
        font-size: 1.2rem !important;
        min-height: 44px;
        min-width: 44px;
    }

    /* Ensure proper spacing for nav container */
    .nav-container {
        padding: 1rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .nav-logo h2 {
        font-size: 1.2rem;
    }

    /* Show theme switcher on larger mobile screens */
    @media (min-width: 480px) {
        .theme-switcher-container {
            display: flex;
        }
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
        padding: 0 0.5rem;
    }

    .hero-subtitle {
        font-size: 0.9rem !important;
        padding: 0 0.5rem;
    }

    /* Hero Slider Small Mobile */
    .slider-nav {
        padding: 0 0.5rem;
    }
    
    .slider-btn {
        width: 45px;
        height: 45px;
    }
    
    .slider-dots {
        bottom: 60px;
        gap: 0.8rem;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 0.5rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .culture-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }

    .cv-submission,
    .contact-form-container {
        padding: 2rem;
    }
}

html.theme1 {
  --primary-color: #667eea;
  --secondary-color: #764ba2;
  --gradient-main: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-secondary: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}
html.theme2 {
  --primary-color: #2196f3;
  --secondary-color: #21cbf3;
  --gradient-main: linear-gradient(135deg, #2196f3 0%, #21cbf3 100%);
  --gradient-secondary: linear-gradient(135deg, #21cbf3 0%, #2196f3 100%);
}
html.theme3 {
  --primary-color: #43e97b;
  --secondary-color: #38f9d7;
  --gradient-main: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  --gradient-secondary: linear-gradient(135deg, #38f9d7 0%, #43e97b 100%);
}
html.theme4 {
  --primary-color: #ff9966;
  --secondary-color: #ff5e62;
  --gradient-main: linear-gradient(135deg, #ff9966 0%, #ff5e62 100%);
  --gradient-secondary: linear-gradient(135deg, #ff5e62 0%, #ff9966 100%);
}
html.theme5 {
  --primary-color: #ff5858;
  --secondary-color: #f09819;
  --gradient-main: linear-gradient(135deg, #ff5858 0%, #f09819 100%);
  --gradient-secondary: linear-gradient(135deg, #f09819 0%, #ff5858 100%);
}
html.theme6 {
  --primary-color: #f7971e;
  --secondary-color: #ffd200;
  --gradient-main: linear-gradient(135deg, #f7971e 0%, #ffd200 100%);
  --gradient-secondary: linear-gradient(135deg, #ffd200 0%, #f7971e 100%);
}
html.theme7 {
  --primary-color: #43cea2;
  --secondary-color: #185a9d;
  --gradient-main: linear-gradient(135deg, #43cea2 0%, #185a9d 100%);
  --gradient-secondary: linear-gradient(135deg, #185a9d 0%, #43cea2 100%);
}
html.theme8 {
  --primary-color: #ff6a88;
  --secondary-color: #ff99ac;
  --gradient-main: linear-gradient(135deg, #ff6a88 0%, #ff99ac 100%);
  --gradient-secondary: linear-gradient(135deg, #ff99ac 0%, #ff6a88 100%);
}
html.theme9 {
  --primary-color: #b06ab3;
  --secondary-color: #4568dc;
  --gradient-main: linear-gradient(135deg, #b06ab3 0%, #4568dc 100%);
  --gradient-secondary: linear-gradient(135deg, #4568dc 0%, #b06ab3 100%);
}
html.theme10 {
  --primary-color: #757f9a;
  --secondary-color: #d7dde8;
  --gradient-main: linear-gradient(135deg, #757f9a 0%, #d7dde8 100%);
  --gradient-secondary: linear-gradient(135deg, #d7dde8 0%, #757f9a 100%);
}
html.theme11 {
  --primary-color: #283e51;
  --secondary-color: #485563;
  --gradient-main: linear-gradient(135deg, #283e51 0%, #485563 100%);
  --gradient-secondary: linear-gradient(135deg, #485563 0%, #283e51 100%);
}
html.theme12 {
  --primary-color: #56ab2f;
  --secondary-color: #a8e063;
  --gradient-main: linear-gradient(135deg, #56ab2f 0%, #a8e063 100%);
  --gradient-secondary: linear-gradient(135deg, #a8e063 0%, #56ab2f 100%);
}
html.theme13 {
  --primary-color: #ffb347;
  --secondary-color: #ffcc33;
  --gradient-main: linear-gradient(135deg, #ffb347 0%, #ffcc33 100%);
  --gradient-secondary: linear-gradient(135deg, #ffcc33 0%, #ffb347 100%);
}
html.theme14 {
  --primary-color: #e52d27;
  --secondary-color: #b31217;
  --gradient-main: linear-gradient(135deg, #e52d27 0%, #b31217 100%);
  --gradient-secondary: linear-gradient(135deg, #b31217 0%, #e52d27 100%);
}
html.theme15 {
  --primary-color: #f7971e;
  --secondary-color: #ffd200;
  --gradient-main: linear-gradient(135deg, #f7971e 0%, #ffd200 100%);
  --gradient-secondary: linear-gradient(135deg, #ffd200 0%, #f7971e 100%);
}
html.theme16 {
  --primary-color: #136a8a;
  --secondary-color: #267871;
  --gradient-main: linear-gradient(135deg, #136a8a 0%, #267871 100%);
  --gradient-secondary: linear-gradient(135deg, #267871 0%, #136a8a 100%);
}
html.theme17 {
  --primary-color: #b993d6;
  --secondary-color: #8ca6db;
  --gradient-main: linear-gradient(135deg, #b993d6 0%, #8ca6db 100%);
  --gradient-secondary: linear-gradient(135deg, #8ca6db 0%, #b993d6 100%);
}
html.theme18 {
  --primary-color: #485563;
  --secondary-color: #29323c;
  --gradient-main: linear-gradient(135deg, #485563 0%, #29323c 100%);
  --gradient-secondary: linear-gradient(135deg, #29323c 0%, #485563 100%);
}
html.theme19 {
  --primary-color: #11998e;
  --secondary-color: #38ef7d;
  --gradient-main: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  --gradient-secondary: linear-gradient(135deg, #38ef7d 0%, #11998e 100%);
}
html.theme20 {
  --primary-color: #ff8008;
  --secondary-color: #ffc837;
  --gradient-main: linear-gradient(135deg, #ff8008 0%, #ffc837 100%);
  --gradient-secondary: linear-gradient(135deg, #ffc837 0%, #ff8008 100%);
}
html.theme21 {
  --primary-color: #c31432;
  --secondary-color: #240b36;
  --gradient-main: linear-gradient(135deg, #c31432 0%, #240b36 100%);
  --gradient-secondary: linear-gradient(135deg, #240b36 0%, #c31432 100%);
}
html.theme22 {
  --primary-color: #f7971e;
  --secondary-color: #ffd200;
  --gradient-main: linear-gradient(135deg, #f7971e 0%, #ffd200 100%);
  --gradient-secondary: linear-gradient(135deg, #ffd200 0%, #f7971e 100%);
}
html.theme23 {
  --primary-color: #43e97b;
  --secondary-color: #38f9d7;
  --gradient-main: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  --gradient-secondary: linear-gradient(135deg, #38f9d7 0%, #43e97b 100%);
}
html.theme24 {
  --primary-color: #ff6a88;
  --secondary-color: #ff99ac;
  --gradient-main: linear-gradient(135deg, #ff6a88 0%, #ff99ac 100%);
  --gradient-secondary: linear-gradient(135deg, #ff99ac 0%, #ff6a88 100%);
}
html.theme25 {
  --primary-color: #7b4397;
  --secondary-color: #dc2430;
  --gradient-main: linear-gradient(135deg, #7b4397 0%, #dc2430 100%);
  --gradient-secondary: linear-gradient(135deg, #dc2430 0%, #7b4397 100%);
}
html.theme26 {
  --primary-color: #232526;
  --secondary-color: #414345;
  --gradient-main: linear-gradient(135deg, #232526 0%, #414345 100%);
  --gradient-secondary: linear-gradient(135deg, #414345 0%, #232526 100%);
}
html.theme27 {
  --primary-color: #141e30;
  --secondary-color: #243b55;
  --gradient-main: linear-gradient(135deg, #141e30 0%, #243b55 100%);
  --gradient-secondary: linear-gradient(135deg, #243b55 0%, #141e30 100%);
}
html.theme28 {
  --primary-color: #00b09b;
  --secondary-color: #96c93d;
  --gradient-main: linear-gradient(135deg, #00b09b 0%, #96c93d 100%);
  --gradient-secondary: linear-gradient(135deg, #96c93d 0%, #00b09b 100%);
}
html.theme29 {
  --primary-color: #ff9966;
  --secondary-color: #ff5e62;
  --gradient-main: linear-gradient(135deg, #ff9966 0%, #ff5e62 100%);
  --gradient-secondary: linear-gradient(135deg, #ff5e62 0%, #ff9966 100%);
}
html.theme30 {
  --primary-color: #6a3093;
  --secondary-color: #a044ff;
  --gradient-main: linear-gradient(135deg, #6a3093 0%, #a044ff 100%);
  --gradient-secondary: linear-gradient(135deg, #a044ff 0%, #6a3093 100%);
}
html.theme31 {
  --primary-color: #fceabb;
  --secondary-color: #f8b500;
  --gradient-main: linear-gradient(135deg, #fceabb 0%, #f8b500 100%);
  --gradient-secondary: linear-gradient(135deg, #f8b500 0%, #fceabb 100%);
}
html.theme32 {
  --primary-color: #00c6ff;
  --secondary-color: #0072ff;
  --gradient-main: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
  --gradient-secondary: linear-gradient(135deg, #0072ff 0%, #00c6ff 100%);
}
html.theme33 {
  --primary-color: #232526;
  --secondary-color: #414345;
  --gradient-main: linear-gradient(135deg, #232526 0%, #414345 100%);
  --gradient-secondary: linear-gradient(135deg, #414345 0%, #232526 100%);
}

body.dark-mode {
  --background-main: #181712;
  --background-secondary: #23221c;
  --text-main: #f5f3e7;
  --text-secondary: #bdb8a7;
  --card-bg: #23221c;
  --border-color: #35332a;
  background: var(--background-main) !important;
  color: var(--text-main) !important;
}

body.dark-mode .navbar {
  background: rgba(24, 23, 18, 0.97) !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
body.dark-mode .nav-logo h2,
body.dark-mode .section-header h2,
body.dark-mode .section-header p {
  color: var(--text-main) !important;
}
body.dark-mode .nav-link {
  color: var(--text-main) !important;
}
body.dark-mode .nav-link:hover {
  color: var(--primary-color) !important;
}
body.dark-mode .dropdown-menu {
  background: var(--background-secondary) !important;
  color: var(--text-main) !important;
}
body.dark-mode .dropdown-menu a {
  color: var(--text-main) !important;
}
body.dark-mode .dropdown-menu a:hover {
  background: #23221c !important;
  color: var(--primary-color) !important;
}
body.dark-mode .btn,
body.dark-mode .btn-primary,
body.dark-mode .btn-outline {
  color: #fff !important;
}
body.dark-mode .btn-outline {
  border-color: var(--primary-color) !important;
}
body.dark-mode .btn-outline:hover {
  background: var(--primary-color) !important;
  color: #fff !important;
}
body.dark-mode .btn-secondary {
  background: transparent !important;
  color: #fff !important;
  border: 2px solid #fff !important;
}
body.dark-mode .btn-secondary:hover {
  background: #fff !important;
  color: #23221c !important;
}
body.dark-mode .service-card,
body.dark-mode .cv-submission,
body.dark-mode .contact-form-container {
  background: var(--card-bg) !important;
  color: var(--text-main) !important;
  box-shadow: 0 5px 15px rgba(0,0,0,0.25) !important;
}
body.dark-mode .service-card h3,
body.dark-mode .service-card p,
body.dark-mode .service-link {
  color: var(--text-main) !important;
}
body.dark-mode .service-link:hover {
  color: var(--primary-color) !important;
}
body.dark-mode .about-image img,
body.dark-mode .service-image img {
  box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
}
body.dark-mode .footer {
  background: #11110d !important;
  color: var(--text-main) !important;
}
body.dark-mode .footer-section h3,
body.dark-mode .footer-section h4 {
  color: var(--text-main) !important;
}
body.dark-mode .footer-section ul li a {
  color: var(--text-secondary) !important;
}
body.dark-mode .footer-section ul li a:hover {
  color: var(--primary-color) !important;
}
body.dark-mode .footer-social a {
  background: #23221c !important;
  color: var(--primary-color) !important;
}
body.dark-mode .footer-social a:hover {
  background: var(--primary-color) !important;
  color: #fff !important;
}
body.dark-mode .back-to-top {
  background: var(--gradient-main) !important;
  color: #fff !important;
}
body.dark-mode .section-header h2::after {
  background: var(--gradient-main) !important;
}
body.dark-mode .testimonials {
  background: var(--gradient-main) !important;
  color: #fff !important;
}
body.dark-mode .team-member {
  background: var(--card-bg) !important;
  color: var(--text-main) !important;
}
body.dark-mode .team-member .member-info h3,
body.dark-mode .team-member .member-info p {
  color: var(--text-main) !important;
}
body.dark-mode .feature-item i,
body.dark-mode .service-features i,
body.dark-mode .social-links a {
  color: var(--primary-color) !important;
}
body.dark-mode .social-links a {
  background: #23221c !important;
}
body.dark-mode .social-links a:hover {
  background: var(--primary-color) !important;
  color: #fff !important;
}
body.dark-mode .contact-item i {
  color: var(--primary-color) !important;
}
body.dark-mode .form-group input,
body.dark-mode .form-group select,
body.dark-mode .form-group textarea {
  background: #23221c !important;
  color: var(--text-main) !important;
  border-color: var(--border-color) !important;
}
body.dark-mode .form-group input:focus,
body.dark-mode .form-group select:focus,
body.dark-mode .form-group textarea:focus {
  border-color: var(--primary-color) !important;
}
body.dark-mode .map-container {
  box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
}
body.dark-mode .leadership {
  background: #181712 !important;
}
body.dark-mode .careers {
  background: #181712 !important;
}
body.dark-mode .services-overview {
  background: #23221c !important;
}
body.dark-mode .stat-item {
  color: #fff !important;
}
body.dark-mode .stat-number {
  background: var(--gradient-main) !important;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
body.dark-mode .position-type {
  background: var(--primary-color) !important;
  color: #fff !important;
}
body.dark-mode .position-details i {
  color: var(--primary-color) !important;
}
body.dark-mode .cv-submission,
body.dark-mode .contact-form-container {
  background: #23221c !important;
  color: var(--text-main) !important;
}
body.dark-mode .why-choose-it {
  background: #23221c !important;
}
body.dark-mode .why-choose-it h2,
body.dark-mode .why-choose-it strong,
body.dark-mode .why-choose-it span {
  color: var(--text-main) !important;
}

/* Company Profile Page Image Styles */
.company-profile img,
.company-overview img,
.overview-visual img,
.industry-focus img,
.core-services img,
section img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 2rem auto;
    border-radius: 10px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
}

@media (min-width: 600px) {
  .company-profile img,
  .company-overview img,
  .overview-visual img,
  .industry-focus img,
  .core-services img,
  section img {
    max-width: 500px;
    margin: 2rem auto;
  }
}

.theme-heading {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    display: inline-block;
}