/* Reset & Variables */
:root {
    --primary-color: #0d9488;
    /* Teal / Emerald */
    --primary-dark: #0f766e;
    --secondary-color: #111827;
    /* Dark Slate */
    --accent-color: #f59e0b;
    /* Amber */
    --text-color: #374151;
    --text-light: #6b7280;
    --bg-color: #ffffff;
    --bg-light: #f8fafc;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.2);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    --header-height: 90px;
    --header-height-scrolled: 75px;
    --border-radius: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--secondary-color);
    font-weight: 700;
    line-height: 1.2;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 4rem 0;
}

.section-tight {
    padding: 3rem 0;
}


.bg-light {
    background-color: var(--bg-light);
}

.text-center {
    text-align: center;
}

.text-white {
    color: #fff !important;
}

.mt-2 {
    margin-top: 0.5rem;
}

.w-100 {
    width: 100%;
}

.section-subtitle {
    display: block;
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-desc {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 2rem;
}


/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-secondary:hover {
    background-color: #fff;
    color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    height: var(--header-height);
    display: flex;
    align-items: center;
    background: transparent;
}

.header.scrolled,
.header.header-solid {
    height: var(--header-height-scrolled);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.header.header-solid {
    background: #fff;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1440px; /* Spreading it out more */
    margin: 0 auto;
    padding: 0 4rem; /* More horizontal padding */
}

.logo {
    display: flex;
    align-items: center;
    transition: var(--transition);
    z-index: 10;
}

.logo-img {
    height: 55px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.logo-dark {
    display: none;
}

.logo-light {
    display: block;
}

.header.scrolled .logo-img,
.header.header-solid .logo-img {
    height: 45px;
}

.header.scrolled .logo-dark,
.header.header-solid .logo-dark {
    display: block;
}

.header.scrolled .logo-light,
.header.header-solid .logo-light {
    display: none;
}

.navbar {
    flex: 1;
    display: flex;
    justify-content: flex-end; /* Move links to the right */
    padding-right: 2rem;
}

.nav-links {
    display: flex;
    gap: 2.75rem;
    align-items: center;
}

.nav-links a {
    color: #fff;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    letter-spacing: 0.2px;
    padding: 0.5rem 0;
    transition: var(--transition);
}

.header.scrolled .nav-links a,
.header.header-solid .nav-links a {
    color: var(--secondary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-color) !important;
}

/* Dropdown Menu Styles */
.nav-links li {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 260px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0 1rem;
}

.dropdown-menu a {
    color: var(--secondary-color) !important;
    display: block;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 8px;
    transition: var(--transition);
}

.dropdown-menu a::after {
    display: none;
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--primary-color) !important;
    padding-left: 1.25rem;
}

/* Submenu (Level 2 Dropdown) */
.dropdown-submenu {
    position: relative;
}

.dropdown-menu.submenu {
    top: -1rem;
    left: 100%;
    margin-left: 0.5rem;
    transform: translateX(15px);
}

.dropdown-submenu:hover > .dropdown-menu.submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.dropdown-menu li a i {
    float: right;
    margin-top: 3px;
    font-size: 1.1rem;
    opacity: 0.5;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.btn-cta {
    background: var(--primary-color);
    color: #fff !important;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(13, 148, 136, 0.2);
    transition: var(--transition);
}

.btn-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 148, 136, 0.3);
}

.btn-cta i {
    font-size: 1.2rem;
    transition: var(--transition);
}

.btn-cta:hover i {
    transform: translateX(3px);
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}

.header.scrolled .mobile-menu-btn {
    color: var(--secondary-color);
}

/* Hero Slider Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    background-color: var(--secondary-color);
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.5s ease-in-out, visibility 1.5s;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(17, 24, 39, 0.85), rgba(17, 24, 39, 0.4));
}

.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 900px;
    color: #fff;
    pointer-events: none;
}

.hero-content * {
    pointer-events: auto;
}

.hero-content h1 {
    color: #fff;
    font-size: 5rem;
    margin-bottom: 1.5rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -2px;
}

.hero-content .highlight {
    background: linear-gradient(120deg, #5eead4, #2dd4bf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 3.5rem;
    opacity: 0.9;
    max-width: 700px;
    line-height: 1.6;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-up {
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    width: 4px;
    height: 8px;
    background: #fff;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% { top: 8px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1rem;
}

.about-content-wrapper {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}


.about-features {
    margin-top: 2rem;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-weight: 500;
    color: var(--secondary-color);
}

.about-features i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.image-experience {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--primary-color);
    color: #fff;
    padding: 0.85rem 1.25rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(13, 148, 136, 0.2);
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.image-experience span {
    font-size: 1.8rem;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.image-experience p {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
    font-weight: 600;
}


.image-wrapper::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
    transform: rotate(30deg);
    pointer-events: none;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #fff;
    padding: 3.5rem 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(to top, rgba(13, 148, 136, 0.05), transparent);
    z-index: -1;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(13, 148, 136, 0.2);
}

.service-card:hover::after {
    height: 100%;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: #f0fdfa;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: all 0.5s ease;
    font-size: 2.25rem;
    color: var(--primary-color);
}

.service-card:hover .service-icon {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.1) rotate(5deg);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    color: var(--secondary-color);
}

.service-desc {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    background: rgba(13, 148, 136, 0.1);
    padding: 1rem;
    border-radius: 12px;
}

.contact-item h4 {
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--text-light);
}

.contact-form {
    background: #fff;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-light);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.1);
}

/* Footer */
.footer {
    background: #0f172a;
    color: #94a3b8;
    padding-top: 6rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), #2dd4bf);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 6rem;
    padding-bottom: 4rem;
}

.footer-brand .logo-img {
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.footer-brand .logo-img:hover {
    transform: scale(1.05);
}

.footer h4 {
    color: #fff;
    margin-bottom: 2rem;
    font-size: 1.25rem;
    font-weight: 700;
    position: relative;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links ul li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #94a3b8;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(8px);
}

.footer-contact ul li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    align-items: flex-start;
}

.footer-contact i {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-top: 3px;
}

.footer-contact a {
    color: inherit;
    transition: var(--transition);
}

.footer-contact a:hover {
    color: #fff;
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 1.25rem;
    margin-top: 2rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 1.25rem;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(13, 148, 136, 0.3);
    border-color: var(--primary-color);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    font-size: 0.875rem;
    color: #64748b;
}

.footer-legal a:hover {
    color: #fff;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    font-size: 1.5rem;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(13, 148, 136, 0.3);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}


/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown > a {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.dropdown > a i {
    transition: var(--transition);
}

.dropdown:hover > a i {
    transform: rotate(180deg);
}


/* Dropdown Menu Design */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #ffffff;
    min-width: 280px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    border-radius: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 1.25rem;
    z-index: 1000;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(10px);
}

.dropdown-menu li {
    margin-bottom: 5px;
}

.dropdown-menu li:last-child {
    margin-bottom: 0;
}

.dropdown-menu a {
    color: var(--secondary-color) !important;
    padding: 0.85rem 1.25rem !important;
    display: block;
    font-size: 0.925rem !important;
    font-weight: 500 !important;
    border-radius: 12px;
    transition: var(--transition);
    position: relative;
    background: transparent;
}

.dropdown-menu a::after {
    display: none !important;
}

.dropdown-menu a:hover {
    background-color: var(--bg-light) !important;
    color: var(--primary-color) !important;
    padding-left: 1.5rem !important;
}

/* Submenu Adjustments */
.dropdown-submenu > .submenu {
    top: -10px;
    left: 100%;
    margin-left: 15px;
    transform: translateX(10px);
}

.dropdown-submenu:hover > .submenu {
    transform: translateX(0);
}

.dropdown-submenu > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown-submenu > a i {
    font-size: 1.2rem;
    opacity: 0.5;
}

/* Stats Section */
.stats-section {
    padding: 6rem 0;
    background: #ffffff;
    position: relative;
    z-index: 10;
    margin-top: -80px;
    border-radius: var(--border-radius);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    border-right: 1px solid #f1f5f9;
}

.stat-item:last-child {
    border-right: none;
}

.stat-number-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--secondary-color);
    display: block;
    line-height: 1;
}

.stat-suffix, .stat-prefix {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-light);
    display: block;
    font-weight: 600;
}

.stat-suffix, .stat-prefix {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.825rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
    margin-top: 0.75rem;
    display: block;
    font-weight: 600;
}

/* Redesigned Service Cards */
.service-card {
    background: #fff;
    padding: 3rem 2.5rem;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(13, 148, 136, 0.2);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: #f0fdfa;
    color: var(--primary-color);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 1.75rem;
}

.service-card:hover .service-icon {
    background: var(--primary-color);
    color: #fff;
    transform: none;
}

/* CTA Section */
.cta-banner {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1f2937 100%);
    padding: 6rem 4rem;
    border-radius: var(--border-radius);
    text-align: center;
    color: #fff;
    margin: 6rem 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    color: #fff;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.cta-content p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    opacity: 0.85;
    line-height: 1.7;
}

/* Responsive Redesign */
@media (max-width: 1200px) {
    .nav-container {
        padding: 0 2rem;
    }
    
    .nav-links {
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {
    /* Disable heavy animations on mobile */
    .animate-up {
        opacity: 1 !important;
        animation: none !important;
        transform: none !important;
    }

    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .image-experience {
        animation: none !important;
        padding: 0.65rem 1rem !important;
        bottom: 15px !important;
        right: 15px !important;
        border-radius: 12px !important;
    }
    .image-experience span {
        font-size: 1.4rem !important;
    }
    .image-experience p {
        font-size: 0.55rem !important;
        letter-spacing: 0.5px !important;
    }

    .service-icon i {
        animation: none !important;
    }

    body.menu-open {
        overflow: hidden;
    }

    body.menu-open::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(4px);
        z-index: 999;
    }

    .mobile-menu-btn {
        display: block;
        z-index: 1001;
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 14px;
        color: #fff;
        transition: var(--transition);
        font-size: 1.75rem;
    }

    .header.scrolled .mobile-menu-btn,
    .header.header-solid .mobile-menu-btn {
        background: var(--primary-color);
        border-color: var(--primary-dark);
        color: #fff !important;
        box-shadow: 0 4px 12px rgba(13, 148, 136, 0.2);
    }

    body.menu-open .mobile-menu-btn {
        background: var(--secondary-color) !important;
        color: #fff !important;
        border-color: var(--secondary-color);
    }

    .navbar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 360px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: -20px 0 60px rgba(0,0,0,0.1);
        transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        padding: 90px 1.5rem 3rem;
        z-index: 1000;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        overflow-y: auto;
    }

    .navbar.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin: auto 0;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid #f1f5f9;
        opacity: 0;
        transform: translateX(30px);
        transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .navbar.active .nav-links li {
        opacity: 1;
        transform: translateX(0);
    }

    .navbar.active .nav-links li:nth-child(1) { transition-delay: 0.1s; }
    .navbar.active .nav-links li:nth-child(2) { transition-delay: 0.15s; }
    .navbar.active .nav-links li:nth-child(3) { transition-delay: 0.2s; }
    .navbar.active .nav-links li:nth-child(4) { transition-delay: 0.25s; }
    .navbar.active .nav-links li:nth-child(5) { transition-delay: 0.3s; }
    .navbar.active .nav-links li:nth-child(6) { transition-delay: 0.35s; }
    .navbar.active .nav-links li:nth-child(7) { transition-delay: 0.4s; }
    .navbar.active .nav-links li:nth-child(8) { transition-delay: 0.45s; }

    .nav-links a {
        color: var(--secondary-color) !important;
        font-size: 1.1rem;
        font-weight: 600;
        width: 100%;
        padding: 1.25rem 0.5rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav-links a::after {
        display: none;
    }

    /* Mobile Dropdown Fix */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none !important;
        left: auto !important;
        right: auto !important;
        margin: 0 !important;
        box-shadow: none;
        padding: 0.5rem 0 0.5rem 1rem;
        display: none; /* Controlled by JS on mobile */
        border: none;
        min-width: auto;
        background: rgba(13, 148, 136, 0.04);
        transition: none;
        border-radius: 0;
        width: 100%;
    }

    .dropdown-menu a {
        font-size: 0.95rem !important;
        font-weight: 500 !important;
        padding: 0.85rem 1rem !important;
        border-bottom: none !important;
        color: var(--text-color) !important;
        display: block !important;
        width: 100%;
        text-align: left;
    }

    .dropdown-menu a:hover {
        padding-left: 1.25rem !important;
        background: transparent !important;
        color: var(--primary-color) !important;
    }

    .dropdown-submenu > .submenu {
        position: static;
        margin: 0 0 0 1rem !important;
        transform: none !important;
        left: auto !important;
        display: none;
        width: calc(100% - 1rem);
    }

    .dropdown-submenu.active > .submenu {
        display: block;
    }

    .nav-links li.active > a i {
        transform: rotate(180deg);
    }

    .dropdown-submenu.active > a i {
        transform: rotate(90deg);
    }

    /* Homepage Sections Mobile */
    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image {
        order: 2;
    }

    .about-text {
        order: 1;
        text-align: center;
    }

    .about-text .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .about-features li {
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 0.5rem;
    }

    .stat-number {
        font-size: 2rem !important;
    }

    .stat-label {
        font-size: 0.8rem;
        margin-top: 0.25rem;
    }

    .stat-item {
        border: 1px solid #f1f5f9;
        padding: 1.5rem;
        background: #fff;
        border-radius: 20px;
        box-shadow: var(--shadow-sm);
        text-align: center;
    }

    .stat-item:nth-child(odd) {
        border-right: 1px solid #f1f5f9;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 2.5rem 1.5rem;
        text-align: center;
    }

    .service-icon {
        margin: 0 auto 1.5rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
        justify-items: center;
        padding-bottom: 2rem;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-brand p {
        margin-left: auto;
        margin-right: auto;
    }

    .footer h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-contact ul li {
        justify-content: center;
        text-align: center;
    }

    .footer-bottom-flex {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    .hero-content {
        text-align: center;
        padding: 110px 1.5rem 20px;
        align-items: center;
    }

    .hero-content h1 {
        font-size: 3rem;
        letter-spacing: -1px;
    }

    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
    }

    .hero-buttons {
        width: 100%;
        justify-content: center;
    }

    /* Page Header Adjustment for Mobile */
    section[style*="padding-top: 8rem"],
    section[style*="padding-top: 7rem"] {
        padding-top: 5.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    section:not(.hero) h1 {
        font-size: 2.4rem !important;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    }

    .cta-banner {
        padding: 4rem 2rem;
        margin: 2rem 0;
        text-align: center;
    }

    .cta-content h2 {
        font-size: 2.2rem;
    }

    .cta-content p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
}


@media (max-width: 576px) {
    .nav-container {
        padding: 0 1.25rem;
    }

    .logo-img {
        height: 42px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .stat-item {
        border-right: none !important;
        padding-bottom: 2rem;
        border-bottom: 1px solid #f1f5f9;
    }

    .stat-item:last-child {
        padding-bottom: 0;
        border-bottom: none;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.1;
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        opacity: 0.8;
    }
    
    .hero-content .section-subtitle {
        font-size: 0.8rem;
        letter-spacing: 1px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        padding: 0.85rem 1.5rem;
        font-size: 0.95rem;
    }

    .section {
        padding: 3.5rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .footer-container {
        gap: 2.5rem;
    }

    section[style*="padding-top: 8rem"],
    section[style*="padding-top: 7rem"], 
    section[style*="padding-top: 5rem"], 
    section[style*="padding-top: 4rem"] {
        padding-top: 4rem !important;
        padding-bottom: 1.5rem !important;
    }

    section:not(.hero) h1 {
        font-size: 1.8rem !important;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .cta-banner {
        padding: 3rem 1.5rem;
        margin: 3rem 0;
        border-radius: 20px;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
}

/* Mor Teknoloji Modal */
.footer-mor {
    display: flex;
    align-items: center;
}

.mor-logo-trigger {
    height: 35px;
    cursor: pointer;
}

.mor-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    transition: all 0.4s ease;
}

.mor-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.mor-modal-content {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0.4) 100%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 3.5rem 2.5rem;
    border-radius: 40px;
    max-width: 550px;
    width: 100%;
    text-align: center;
    color: #fff;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mor-modal.active .mor-modal-content {
    transform: translateY(0);
}

.modal-logo {
    height: 65px;
    margin-bottom: 2rem;
}

.mor-modal-content h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.mor-modal-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    padding: 0 1rem;
}

.mor-modal-content strong {
    color: #fff; /* Keeping Mor Teknoloji bold but white like in SS */
}

.modal-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn-mor-close {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 0.9rem 2.5rem;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-mor-close:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-mor-info {
    background: #4f46e5; /* Precise indigo/purple */
    border: none;
    color: #fff;
    padding: 0.9rem 2.5rem;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.4);
}

.btn-mor-info:hover {
    background: #4338ca;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(79, 70, 229, 0.5);
}

/* Custom Micro-Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.service-icon i {
    animation: float 4s ease-in-out infinite;
    display: inline-block;
}

.btn-primary:hover {
    box-shadow: 0 0 0 5px rgba(13, 148, 136, 0.2);
    transform: translateY(-2px);
}



.stat-item:hover .stat-number {
    color: var(--primary-color);
    transform: scale(1.1);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 10px 25px rgba(13, 148, 136, 0.3);
    opacity: 0;
    visibility: hidden;
    z-index: 998;
    transition: var(--transition);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

@media (max-width: 576px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }
    
    .image-experience {
        padding: 0.5rem 0.85rem !important;
        bottom: 10px !important;
        right: 10px !important;
        border-radius: 10px !important;
    }
    .image-experience span {
        font-size: 1.2rem !important;
    }
    .image-experience p {
        font-size: 0.5rem !important;
        letter-spacing: 0px !important;
    }
}

/* Premium Form Download Styling */
.document-section-container {
    max-width: 900px;
    margin: 3rem auto 0;
}

.document-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.document-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.document-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(13, 148, 136, 0.08);
    border-color: rgba(13, 148, 136, 0.15);
}

.document-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    opacity: 0;
    transition: var(--transition);
}

.document-card.doc-pdf::before {
    background: #ef4444;
}

.document-card.doc-excel::before {
    background: #2563eb;
}

.document-card:hover::before {
    opacity: 1;
}

.document-icon {
    width: 65px;
    height: 65px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.doc-pdf .document-icon {
    background: #fee2e2;
    color: #ef4444;
}

.doc-excel .document-icon {
    background: #dbeafe;
    color: #2563eb;
}

.document-card:hover .document-icon {
    transform: scale(1.1) rotate(-5deg);
}

.document-info {
    flex-grow: 1;
}

.document-info h4 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 0.35rem;
    font-weight: 700;
}

.document-info p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.document-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 10px;
    transition: var(--transition);
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.doc-pdf .document-btn {
    background: #ef4444;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.2);
}

.doc-pdf .document-btn:hover {
    background: #dc2626;
    box-shadow: 0 6px 15px rgba(239, 68, 68, 0.3);
}

.doc-excel .document-btn {
    background: #2563eb;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

.doc-excel .document-btn:hover {
    background: #1d4ed8;
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.3);
}

.document-card.disabled {
    opacity: 0.6;
    pointer-events: none;
}

.document-card.disabled .document-btn {
    background: #e2e8f0;
    color: #94a3b8;
    box-shadow: none;
    cursor: not-allowed;
}

.document-card.disabled .document-icon {
    background: #f1f5f9;
    color: #94a3b8;
}

.document-info-notice {
    margin-top: 3rem;
    padding: 2.25rem;
    background: var(--bg-light);
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.document-info-notice p {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

.document-info-notice i {
    color: var(--primary-color);
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.5rem;
}


