/* ===== CSS Variables ===== */
:root {
    --primary: #1B4D7A;
    --primary-dark: #143D62;
    --secondary: #2A9D8F;
    --secondary-light: #3DB8A9;
    --accent: #F4A261;
    --accent-light: #F6B87A;
    --light-bg: #F8F9FA;
    --dark-bg: #0D1B2A;
    --dark-bg-2: #132238;
    --card-bg: #FFFFFF;
    --text-primary: #1A1A2E;
    --text-secondary: #6C757D;
    --text-light: #ADB5BD;
    --border: #E9ECEF;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
    --gradient: linear-gradient(135deg, #1B4D7A, #2A9D8F);
    --gradient-accent: linear-gradient(135deg, #2A9D8F, #F4A261);
    --radius: 16px;
    --radius-sm: 8px;
    --radius-lg: 24px;
    --radius-full: 50px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--card-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    -webkit-tap-highlight-color: transparent;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

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

.section {
    padding: 100px 0;
}

/* ===== Typography ===== */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(27, 77, 122, 0.1), rgba(42, 157, 143, 0.1));
    color: var(--primary);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.section-tag.center {
    margin-left: auto;
    margin-right: auto;
}

.section-tag.light {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.section-tag i {
    font-size: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-title.center {
    text-align: center;
}

.section-title.light {
    color: #fff;
}

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

.section-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
    line-height: 1.8;
}

.section-subtitle.light {
    color: rgba(255, 255, 255, 0.8);
}

.section-header {
    text-align: center;
    margin-bottom: 20px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
}

.btn-primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 4px 15px rgba(27, 77, 122, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(27, 77, 122, 0.4);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    transform: translateY(-3px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    transition: var(--transition);
    z-index: 1001;
    flex-shrink: 0;
}

.navbar.scrolled .nav-logo {
    color: var(--primary);
}

.nav-logo i {
    font-size: 24px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 1;
    min-width: 0;
}

.nav-link {
    padding: 7px 12px;
    font-size: 13.5px;
    font-weight: 500;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.85);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.navbar.scrolled .nav-link {
    color: var(--text-secondary);
}

.navbar.scrolled .nav-link:hover {
    color: var(--primary);
    background: rgba(27, 77, 122, 0.08);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-right: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.navbar.scrolled .lang-switcher {
    background: rgba(27, 77, 122, 0.05);
    border-color: var(--border);
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    text-decoration: none;
}

.navbar.scrolled .lang-btn {
    color: var(--text-secondary);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.navbar.scrolled .lang-btn:hover {
    background: rgba(27, 77, 122, 0.1);
    color: var(--primary);
}

.lang-btn.active {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.navbar.scrolled .lang-btn.active {
    background: var(--primary);
    color: #fff;
}

.lang-flag {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.nav-cta {
    padding: 10px 28px;
    background: var(--gradient);
    color: #fff;
    border-radius: var(--radius-full);
    font-size: 14px;
    flex-shrink: 0;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(27, 77, 122, 0.3);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(27, 77, 122, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 4px;
    z-index: 1001;
    -webkit-tap-highlight-color: transparent;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: var(--transition);
}

.navbar.scrolled .hamburger span {
    background: var(--text-primary);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile menu overlay */
.nav-overlay {
    display: none;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(13, 27, 42, 0.92) 0%,
        rgba(27, 77, 122, 0.8) 50%,
        rgba(42, 157, 143, 0.7) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 24px;
    border-radius: var(--radius-full);
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 28px;
    letter-spacing: 1px;
}

.hero-badge i {
    font-size: 12px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(36px, 7vw, 72px);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 24px;
}

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

.hero-subtitle {
    font-size: clamp(15px, 2vw, 20px);
    color: rgba(255, 255, 255, 0.85);
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: #fff;
}

.hero-stat-plus {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--accent);
}

.hero-stat-label {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
    font-weight: 500;
}

.hero-stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mouse {
    width: 28px;
    height: 44px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.mouse-wheel {
    width: 4px;
    height: 10px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll-wheel {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(8px); opacity: 0.3; }
}

/* ===== About ===== */
.about {
    background: var(--light-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--gradient);
    color: #fff;
    padding: 24px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.experience-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
}

.experience-text {
    font-size: 13px;
    font-weight: 600;
    opacity: 0.9;
    line-height: 1.3;
}

.about-content .section-tag {
    display: inline-flex;
}

.about-text {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.about-feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.about-feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}

.about-feature h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.about-feature p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ===== Services ===== */
.services {
    background: var(--card-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(27, 77, 122, 0.08), rgba(42, 157, 143, 0.08));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--gradient);
    color: #fff;
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.service-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== Why Us ===== */
.why-us {
    position: relative;
    overflow: hidden;
}

.why-us-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.why-us-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.why-us-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(13, 27, 42, 0.95) 0%,
        rgba(19, 34, 56, 0.92) 50%,
        rgba(27, 77, 122, 0.9) 100%
    );
    z-index: 1;
}

.why-us .container {
    position: relative;
    z-index: 2;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.why-us-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
}

.why-us-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.2);
}

.why-us-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    transition: var(--transition);
}

.why-us-card:hover .why-us-icon {
    transform: scale(1.1) rotate(-5deg);
}

.why-us-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
}

.why-us-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 48px 32px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-number::after {
    content: '+';
    font-size: 32px;
}

.stat-label {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* ===== Gallery ===== */
.gallery {
    background: var(--light-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item-large {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:not(.gallery-item-large) img {
    height: 240px;
}

.gallery-item-large img {
    height: 100%;
    min-height: 500px;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(27, 77, 122, 0.8), rgba(42, 157, 143, 0.8));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    transition: var(--transition);
    color: #fff;
}

.gallery-overlay i {
    font-size: 28px;
}

.gallery-overlay span {
    font-size: 16px;
    font-weight: 600;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* ===== Contact ===== */
.contact {
    background: var(--card-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.contact-info-card {
    background: var(--dark-bg);
    border-radius: var(--radius-lg);
    padding: 40px;
    height: 100%;
    color: #fff;
}

.contact-info-card h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
}

.contact-item h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.7);
}

.contact-item a,
.contact-item p {
    font-size: 15px;
    color: #fff;
    line-height: 1.6;
}

.contact-item a:hover {
    color: var(--accent);
}

.contact-socials {
    display: flex;
    gap: 12px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--gradient);
    transform: translateY(-3px);
}

.contact-form-wrapper {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 28px;
    color: var(--text-primary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-primary);
    background: var(--light-bg);
    transition: var(--transition);
    outline: none;
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: var(--card-bg);
    box-shadow: 0 0 0 4px rgba(27, 77, 122, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236C757D' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.contact-form .btn {
    margin-top: 8px;
    font-size: 16px;
    padding: 18px 36px;
}

.map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-wrapper iframe {
    display: block;
    border-radius: var(--radius-lg);
}

/* ===== Footer ===== */
.footer {
    background: var(--dark-bg);
    color: #fff;
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

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

.footer-brand p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    margin-bottom: 24px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    transition: var(--transition);
}

.footer-socials a:hover {
    background: var(--gradient);
    color: #fff;
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #fff;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links ul li a::before {
    content: '›';
    font-size: 18px;
    color: var(--secondary);
}

.footer-links ul li a:hover {
    color: #fff;
    transform: translateX(4px);
}

.working-hours {
    margin-bottom: 24px;
}

.working-hour {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.working-hour:last-child {
    border-bottom: none;
}

.footer-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient);
    color: #fff;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition);
}

.footer-phone:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(27, 77, 122, 0.4);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
}

/* ===== WhatsApp Button ===== */
.whatsapp-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 32px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

@keyframes whatsapp-pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6), 0 0 0 15px rgba(37, 211, 102, 0.1); }
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 48px;
    height: 48px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
}

/* ===== Animations ===== */
.animate-fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.animate-slide-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.animate-slide-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* ===== Tablet Landscape (1024px) ===== */
@media (max-width: 1024px) {
    .about-grid {
        gap: 40px;
    }

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

    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 36px 28px;
    }

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

    .gallery-item:not(.gallery-item-large) img {
        height: 200px;
    }
}

/* ===== Tablet Portrait (768px) ===== */
@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .container {
        padding: 0 16px;
    }

    .section-subtitle {
        font-size: 15px;
        margin-bottom: 40px;
    }

    /* Mobile Navigation */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 360px;
        height: 100vh;
        height: 100dvh;
        background: var(--dark-bg);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 28px 40px;
        gap: 4px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
        overflow-y: auto;
        z-index: 1000;
    }

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

    .nav-menu .nav-link {
        color: rgba(255, 255, 255, 0.85);
        font-size: 18px;
        padding: 14px 16px;
        width: 100%;
        border-radius: var(--radius-sm);
    }

    .nav-menu .nav-link:hover,
    .nav-menu .nav-link:active {
        background: rgba(255, 255, 255, 0.08);
        color: #fff;
    }

    .nav-cta {
        display: none;
    }

    .nav-container {
        padding: 0 16px;
    }

    .lang-switcher {
        margin-right: 4px;
        margin-left: auto;
        padding: 3px;
    }

    .lang-btn {
        padding: 5px 8px;
        font-size: 12px;
    }

    .lang-flag {
        width: 18px;
        height: 13px;
    }

    .lang-btn span {
        display: none;
    }

    .hamburger {
        display: flex;
        margin-left: 8px;
    }

    /* Hero Mobile */
    .hero {
        min-height: 100vh;
        min-height: 100dvh;
    }

    .hero-content {
        padding: 0 16px;
    }

    .hero-title {
        font-size: clamp(28px, 8vw, 44px);
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 15px;
        margin-bottom: 28px;
        line-height: 1.7;
    }

    .hero-badge {
        font-size: 11px;
        padding: 8px 16px;
        margin-bottom: 20px;
        letter-spacing: 0.5px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 40px;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 28px;
        font-size: 15px;
    }

    .hero-stats {
        gap: 20px;
    }

    .hero-stat-number {
        font-size: 28px;
    }

    .hero-stat-plus {
        font-size: 22px;
    }

    .hero-stat-label {
        font-size: 12px;
    }

    .hero-stat-divider {
        display: none;
    }

    .hero-scroll {
        bottom: 20px;
    }

    /* About Mobile */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-image img {
        height: 300px;
    }

    .about-experience-badge {
        bottom: -16px;
        right: 16px;
        padding: 16px 20px;
    }

    .experience-number {
        font-size: 32px;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .about-feature {
        padding: 14px;
    }

    .about-feature-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
        font-size: 16px;
    }

    /* Services Mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-card {
        padding: 28px 20px;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .service-card h3 {
        font-size: 18px;
    }

    /* Why Us Mobile */
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 40px;
    }

    .why-us-card {
        padding: 28px 20px;
    }

    .why-us-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
        padding: 28px 20px;
        gap: 20px;
    }

    .stat-number {
        font-size: 32px;
    }

    .stat-number::after {
        font-size: 22px;
    }

    .stat-label {
        font-size: 13px;
    }

    /* Gallery Mobile */
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .gallery-item-large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .gallery-item-large img {
        height: 220px;
        min-height: unset;
    }

    .gallery-item:not(.gallery-item-large) img {
        height: 180px;
    }

    .gallery-overlay i {
        font-size: 22px;
    }

    .gallery-overlay span {
        font-size: 13px;
    }

    /* Contact Mobile */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 40px;
    }

    .contact-info-card {
        padding: 28px 20px;
    }

    .contact-info-card h3 {
        font-size: 24px;
        margin-bottom: 24px;
    }

    .contact-item {
        gap: 12px;
        margin-bottom: 20px;
    }

    .contact-item-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
        font-size: 16px;
    }

    .contact-item a,
    .contact-item p {
        font-size: 14px;
    }

    .contact-socials {
        margin-top: 24px;
        padding-top: 20px;
        flex-wrap: wrap;
    }

    .social-link {
        width: 40px;
        height: 40px;
    }

    .contact-form-wrapper {
        padding: 28px 20px;
    }

    .contact-form h3 {
        font-size: 24px;
        margin-bottom: 20px;
    }

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

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 14px;
        font-size: 16px;
    }

    .contact-form .btn {
        padding: 16px 28px;
    }

    .map-wrapper {
        border-radius: var(--radius);
    }

    .map-wrapper iframe {
        height: 300px;
        border-radius: var(--radius);
    }

    /* Footer Mobile */
    .footer {
        padding: 60px 0 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-bottom: 40px;
    }

    .footer-logo {
        font-size: 24px;
    }

    .footer-brand p {
        font-size: 13px;
    }

    .footer-links h4,
    .footer-contact h4 {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .footer-phone {
        padding: 10px 20px;
        font-size: 14px;
    }

    .footer-bottom {
        padding: 20px 0;
    }

    .footer-bottom p {
        font-size: 12px;
    }

    /* Fixed buttons mobile */
    .whatsapp-btn {
        width: 54px;
        height: 54px;
        font-size: 28px;
        bottom: 20px;
        right: 16px;
    }

    .back-to-top {
        width: 42px;
        height: 42px;
        font-size: 16px;
        bottom: 20px;
        left: 16px;
    }
}

/* ===== Small Mobile (480px) ===== */
@media (max-width: 480px) {
    .section {
        padding: 50px 0;
    }

    .container {
        padding: 0 14px;
    }

    .section-title {
        font-size: clamp(24px, 6vw, 32px);
    }

    .section-subtitle {
        font-size: 14px;
        margin-bottom: 32px;
    }

    .nav-logo {
        font-size: 22px;
    }

    .nav-logo i {
        font-size: 20px;
    }

    /* Hero Small */
    .hero-title {
        font-size: clamp(26px, 8vw, 36px);
    }

    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .hero-badge {
        font-size: 10px;
        padding: 6px 14px;
    }

    .hero-buttons .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .hero-stats {
        gap: 16px;
    }

    .hero-stat-number {
        font-size: 24px;
    }

    .hero-stat-plus {
        font-size: 18px;
    }

    .hero-stat-label {
        font-size: 11px;
    }

    /* About Small */
    .about-image img {
        height: 240px;
    }

    .about-text {
        font-size: 14px;
    }

    .about-feature h4 {
        font-size: 14px;
    }

    .about-feature p {
        font-size: 12px;
    }

    /* Services Small */
    .service-card {
        padding: 24px 16px;
    }

    .service-icon {
        width: 56px;
        height: 56px;
        font-size: 22px;
    }

    .service-card h3 {
        font-size: 16px;
    }

    .service-card p {
        font-size: 13px;
    }

    /* Why Us Small */
    .why-us-card {
        padding: 24px 16px;
    }

    .why-us-icon {
        width: 56px;
        height: 56px;
        font-size: 22px;
    }

    .why-us-card h3 {
        font-size: 17px;
    }

    .why-us-card p {
        font-size: 13px;
    }

    .stats-row {
        padding: 24px 16px;
        gap: 16px;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-number::after {
        font-size: 18px;
    }

    .stat-label {
        font-size: 12px;
    }

    /* Gallery Small */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .gallery-item-large {
        grid-column: span 1;
    }

    .gallery-item-large img,
    .gallery-item:not(.gallery-item-large) img {
        height: 200px;
        min-height: unset;
    }

    /* Contact Small */
    .contact-info-card {
        padding: 24px 16px;
    }

    .contact-info-card h3 {
        font-size: 22px;
    }

    .contact-form-wrapper {
        padding: 24px 16px;
    }

    .contact-form h3 {
        font-size: 22px;
    }

    .map-wrapper iframe {
        height: 250px;
    }

    /* Footer Small */
    .working-hour {
        font-size: 13px;
        padding: 8px 0;
    }

    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 26px;
        bottom: 16px;
        right: 12px;
    }

    .back-to-top {
        width: 38px;
        height: 38px;
        font-size: 14px;
        bottom: 16px;
        left: 12px;
    }
}

/* ===== Extra Small (360px) ===== */
@media (max-width: 360px) {
    .hero-title {
        font-size: 24px;
    }

    .hero-badge {
        font-size: 9px;
        padding: 5px 12px;
    }

    .hero-stat-number {
        font-size: 22px;
    }

    .nav-logo {
        font-size: 20px;
    }

    .stat-number {
        font-size: 24px;
    }

    .stat-number::after {
        font-size: 16px;
    }
}

/* ===== Touch device optimizations ===== */
@media (hover: none) and (pointer: coarse) {
    .service-card:hover {
        transform: none;
        box-shadow: none;
    }

    .why-us-card:hover {
        transform: none;
    }

    .about-feature:hover {
        transform: none;
    }

    .gallery-item:hover img {
        transform: none;
    }

    .gallery-overlay {
        opacity: 0;
    }

    .gallery-item:active .gallery-overlay {
        opacity: 1;
    }

    .btn-primary:hover {
        transform: none;
    }

    .btn-outline:hover {
        transform: none;
    }

    .btn-primary:active {
        transform: scale(0.98);
    }

    .btn-outline:active {
        transform: scale(0.98);
    }
}

/* ===== Print styles ===== */
@media print {
    .navbar,
    .whatsapp-btn,
    .back-to-top,
    .hero-scroll {
        display: none !important;
    }

    .hero {
        min-height: auto;
        padding: 40px 0;
    }

    .section {
        padding: 30px 0;
    }

    .animate-fade-up,
    .animate-slide-left,
    .animate-slide-right {
        opacity: 1;
        transform: none;
    }
}

/* ===== Landscape phone ===== */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        min-height: 100dvh;
    }

    .hero-content {
        padding-top: 80px;
    }

    .hero-stats {
        display: none;
    }

    .hero-scroll {
        display: none;
    }

    .hero-buttons {
        margin-bottom: 20px;
    }
}