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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* CSS Variables */
:root {
    --primary-orange: #ff8c00;
    --background: #f2f2f2;
    --secondary-orange: #ff6b35;
    --dark-orange: #f15a24;
    --accent-teal: #20b2aa;
    --primary-teal: #26c6da;
    --dark-bg: #1a1a1a;
    --light-bg: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    --text-white: #ffffff;
    --white: #ffffff;
    --border-color: #e5e5e5;
    --orange-gradient: linear-gradient(135deg, #f7931e 0%, #f15a24 100%);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --gradient: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    --gradient-hover: linear-gradient(135deg, var(--secondary-orange), var(--primary-orange));
}

/* Hero Section */
.hero {
    background: var(--orange-gradient);
    color: var(--text-white);
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    color: var(--primary-orange);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Services Overview */
.services-overview {
    padding: 5rem 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

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

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Process Section */
.process-section {
    padding: 5rem 0;
    background: var(--background);
}

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

.process-step {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-3px);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: 700;
    color: var(--white);
    font-size: 1.2rem;
}

.process-step h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.process-step p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Portfolio Preview */
.portfolio-preview {
    padding: 5rem 0;
    background: var(--white);
}

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

.portfolio-item {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.portfolio-image {
    height: 200px;
    background: var(--gradient);
    position: relative;
    overflow: hidden;
}

.portfolio-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.portfolio-content p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Pricing Section */
.pricing-section {
    padding: 5rem 0;
    background: var(--background);
}

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

.pricing-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    border: 2px solid var(--primary-orange);
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: var(--gradient);
    color: var(--white);
    padding: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured:hover {
    transform: translateY(-3px) scale(1.05);
}

.pricing-header {
    margin-bottom: 2rem;
}

.pricing-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 0.5rem;
}

.pricing-period {
    color: var(--text-light);
    font-size: 0.9rem;
}

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

.pricing-features li {
    padding: 0.5rem 0;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-features li ion-icon {
    color: var(--primary-orange);
    font-size: 1.2rem;
}

.pricing-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: 100%;
    justify-content: center;
}

.pricing-button:hover {
    background: var(--gradient-hover);
    transform: translateY(-2px);
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: var(--dark-bg);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.cta-primary {
    background: var(--gradient);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-primary:hover,
.cta-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.cta-secondary:hover {
    background: var(--white);
    color: var(--dark-bg);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid,
    .process-timeline,
    .portfolio-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-3px);
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    animation: fadeInUp 0.6s ease-out;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-elements::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.floating-elements::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: 10%;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 45px;
    width: auto;
    border-radius: 8px;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--dark-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 1rem 1.5rem;
    position: relative;
    transition: all 0.3s ease;
    white-space: nowrap;
}

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

.nav-link.active {
    color: var(--primary-orange);
    border-bottom: 2px solid rgba(209, 117, 12, 0.1);
    border-radius: 8px;
}

.nav-link i {
    margin-left: 5px;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.nav-item:hover .nav-link i {
    transform: rotate(180deg);
}

/* Navbar Collapse Styles */
.navbar-collapsed .nav-menu {
    display: none;
}

.navbar-collapsed .nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #eee;
}

.navbar-collapsed .nav-menu.mobile-layout {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    flex-direction: column;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-collapsed .nav-item {
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
}

.navbar-collapsed .nav-link {
    padding: 15px 20px;
    display: block;
    width: 100%;
}

.navbar-collapsed #nav-toggle {
    display: block !important;
}

.navbar:not(.navbar-collapsed) #nav-toggle {
    display: none;
}

/* Mega Menu Styles */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
    min-width: 800px;
    max-width: 1000px;
}

.nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(5px);
}

.mega-menu-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.mega-menu-section {
    display: flex;
    flex-direction: column;
}

.mega-menu-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-teal);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-orange);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mega-menu-item {
    display: block;
    text-decoration: none;
    color: var(--text-dark);
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    padding-left: 1rem;
    margin-left: -1rem;
}

.mega-menu-item:hover {
    color: var(--primary-orange);
    border-left-color: var(--primary-orange);
    padding-left: 1.5rem;
}

/* Dropdown Styles */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    min-width: 200px;
    z-index: 1001;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.dropdown-item {
    display: block;
    text-decoration: none;
    color: var(--text-dark);
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: rgba(247, 147, 30, 0.1);
    color: var(--primary-orange);
}

/* Navigation Right Side Elements */
.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.search-btn {
    margin-top: 12px;
}

.search-btn,
.language-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-dark);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
}

.search-btn:hover,
.language-btn:hover {
    background: rgba(247, 147, 30, 0.1);
    color: var(--primary-orange);
}

/* Search Bar Styles */
.search-container {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    min-width: 300px;
    z-index: 1002;
}

.search-container.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.search-form {
    display: flex;
    align-items: center;
    padding: 1rem;
}

.search-input {
    flex: 1;
    border: none;
    border-radius: 5px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-bottom: 1px solid var(--primary-orange);
    border-color: var(--primary-orange);
}

.search-submit {
    background: var(--orange-gradient);
    border: none;
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    margin-left: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.search-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(247, 147, 30, 0.3);
}

/* Language Dropdown */
.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    min-width: 180px;
    z-index: 1002;
}

.language-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.language-option {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

.language-option:hover {
    background: rgba(247, 147, 30, 0.1);
    color: var(--primary-orange);
}

.language-option.active {
    background: rgba(247, 147, 30, 0.1);
    color: var(--primary-orange);
    font-weight: 600;
}

.language-flag {
    width: 20px;
    height: 15px;
    border-radius: 2px;
    margin-right: 10px;
    background-size: cover;
    background-position: center;
}

.nav-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-dark);
}

/* CTA Button */
.cta-btn {
    background: var(--dark-orange);
    color: var(--white);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(247, 147, 30, 0.3);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    font-size: 1rem;
    white-space: nowrap;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(247, 147, 30, 0.4);
    background: var(--secondary-orange);
}

.nav-right .cta-btn {
    margin-left: 1rem;
    font-size: 0.95rem;
    padding: 0.6rem 1.2rem;
}

/* Footer Styles */
.footer {
    background: var(--dark-bg);
    color: var(--text-white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 40px;
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

.footer-bottom ion-icon {
    color: var(--primary-orange);
}

/* Responsive Design */
@media (max-width: 1024px) {
    #nav-toggle {
        display: block !important;
    }

    .mega-menu {
        min-width: 600px;
    }

    .mega-menu-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .search-container,
    .language-dropdown {
        min-width: 250px;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
        padding: 1.5rem;
    }

    .container {
        padding: 1rem;
    }

    .logo-text {
        font-size: 1.4rem;
    }

    .logo {
        height: 35px;
    }

    .nav-right .cta-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        margin-left: 0.5rem;
    }

    .dropdown.mobile-active,
    .mega-menu.mobile-active {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        max-height: 500px;
        overflow-y: auto;
    }

    .dropdown,
    .mega-menu {
        display: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, opacity 0.3s ease;
    }

    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        border-top: 1px solid var(--border-color);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(229, 229, 229, 0.5);
    }

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

    .nav-link {
        width: 100%;
        padding: 1.2rem 0;
        font-size: 1.1rem;
    }

    .nav-link i {
        transition: transform 0.3s ease;
    }

    .mobile-active+.nav-link i,
    .nav-item:has(.mobile-active) .nav-link i {
        transform: rotate(180deg);
    }

    .mega-menu,
    .dropdown {
        position: static;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: var(--background);
        margin-top: 0.5rem;
        margin-left: 1rem;
        border-left: 3px solid var(--primary-orange);
        padding-left: 1rem;
    }

    .mega-menu-content {
        grid-template-columns: 1fr;
        padding: 1rem;
        gap: 1rem;
    }

    .nav-toggle {
        display: block;
    }

    .nav-right {
        gap: 0.5rem;
    }

    .search-container,
    .language-dropdown {
        position: fixed;
        top: 80px;
        right: 1rem;
        left: 1rem;
        min-width: auto;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.5rem;
        padding: 1rem;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .logo {
        height: 30px;
    }

    .nav-container {
        padding: 0.8rem 1rem;
    }

    .nav-right .cta-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        margin-left: 0.5rem;
    }
}

@media (max-width: 400px) {
    .nav-right .cta-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        margin-left: 0.5rem;
    }
}

@media (max-width: 360px) {
    .logo-text {
        font-size: 1rem;
    }

    .logo {
        height: 25px;
    }

    .nav-right .cta-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .search-btn,
    .language-btn {
        padding: 0.3rem;
        font-size: 1rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {

    .dropdown.tablet-active,
    .mega-menu.tablet-active {
        display: block !important;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}