* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-white: #000000;
    --text-dark: #ffffff;
    --text-gray: #d1d5db;
    --water-blue: #2563eb;
    --water-blue-light: #60a5fa;
    --water-blue-dark: #1e40af;
    --water-teal: #0891b2;
    --water-cyan: #06b6d4;
    --water-green: #0d9488;
    --accent-blue: #1d4ed8;
    --light-bg: #1a1a1a;
    --border-light: #333333;
    --shadow: rgba(37, 99, 235, 0.2);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif;
    background-color: #000000;
    color: #ffffff;
    line-height: 1.7;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

html[dir="rtl"] {
    direction: rtl;
}

html[dir="ltr"] {
    direction: ltr;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    box-sizing: border-box;
}

/* Language Switcher in Header */
.header-lang {
    display: flex;
    gap: 10px;
    align-items: center;
}

.lang-btn-header {
    width: 40px;
    height: 40px;
    padding: 0;
    background-color: rgba(26, 26, 26, 0.95);
    color: var(--text-gray);
    border: 2px solid rgba(37, 99, 235, 0.3);
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(255, 255, 255, 0.08);
}

.lang-btn-header:hover {
    color: var(--water-blue-light);
    border-color: var(--water-blue);
    background-color: rgba(26, 26, 26, 1);
    transform: scale(1.1);
    box-shadow: 0 3px 10px rgba(37, 99, 235, 0.3);
}

.lang-btn-header.active {
    color: white;
    background: linear-gradient(135deg, var(--water-blue-dark) 0%, var(--water-teal) 100%);
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
    transform: scale(1.05);
}

.lang-text {
    display: block;
    line-height: 1;
}

/* Header */
.header {
    background-color: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(10px);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 1px 3px rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid var(--border-light);
}

.header .container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    flex-wrap: wrap;
}

html[dir="ltr"] .header-top {
    flex-direction: row;
}

.logo-text {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    order: 1;
}

.logo-text h1 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    white-space: nowrap;
}

.logo-text a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo-text a:hover {
    opacity: 0.8;
}

.menu-toggle {
    display: none;
}

.nav {
    flex: 1;
    display: flex;
    justify-content: center;
    order: 2;
    min-width: 0;
}

.header-lang {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
    order: 3;
}

.header-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    order: 4;
}

.header-logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.header-logo img:hover {
    transform: scale(1.05);
}

.menu-toggle {
    display: none;
}

.header-bottom {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-lang {
    display: flex;
    gap: 10px;
    align-items: center;
}

.header-search {
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-input {
    padding: 8px 16px;
    border: 2px solid var(--border-light);
    border-radius: 24px;
    font-size: 14px;
    width: 180px;
    transition: all 0.3s ease;
    background-color: rgba(26, 26, 26, 0.95);
    color: #ffffff;
}

.search-input:focus {
    outline: none;
    border-color: var(--water-blue);
    width: 220px;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.search-input::placeholder {
    color: #999999;
    opacity: 0.6;
}

.search-btn {
    padding: 8px 12px;
    background: linear-gradient(135deg, var(--water-blue-dark) 0%, var(--water-teal) 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
}

.search-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.search-btn:active {
    transform: scale(0.95);
}

.login-btn {
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--water-blue-dark) 0%, var(--water-teal) 100%);
    color: white;
    border: none;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.login-btn:active {
    transform: translateY(0);
}

.logo h1 {
    font-size: 22px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--water-blue-dark) 0%, var(--water-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.nav {
    display: flex;
    justify-content: center;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav > ul > li {
    position: relative;
}

.nav a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
    display: block;
}

.nav a:hover {
    color: var(--water-blue-dark);
}

.nav > ul > li > a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--water-blue) 0%, var(--water-teal) 100%);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav > ul > li > a:hover::after {
    width: 100%;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    position: relative;
}

.dropdown-toggle::after {
    content: ' ▼';
    font-size: 9px;
    margin-right: 6px;
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    vertical-align: middle;
}

html[dir="ltr"] .dropdown-toggle::after {
    margin-right: 0;
    margin-left: 6px;
}

.dropdown:hover .dropdown-toggle {
    color: var(--water-blue-dark);
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.98) 0%, rgba(26, 26, 26, 0.95) 100%);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.2), 0 4px 12px rgba(255, 255, 255, 0.1);
    min-width: 280px;
    list-style: none;
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    border: 1.5px solid rgba(37, 99, 235, 0.15);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

html[dir="ltr"] .dropdown-menu {
    right: auto;
    left: 0;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--water-blue-dark) 0%, var(--water-teal) 100%);
}

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

.dropdown-menu li {
    margin: 0;
    position: relative;
    width: 100%;
    display: block;
}

.dropdown-menu li::before {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--water-blue);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.2s ease;
}

html[dir="ltr"] .dropdown-menu li::before {
    right: auto;
    left: 20px;
}

.dropdown-menu a {
    padding: 14px 24px 14px 40px;
    display: block;
    width: 100%;
    color: var(--text-gray);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: none;
    position: relative;
    line-height: 1.5;
    box-sizing: border-box;
}

html[dir="ltr"] .dropdown-menu a {
    padding: 14px 40px 14px 24px;
}

.dropdown-menu a::after {
    display: none;
}

.dropdown-menu li:hover::before {
    opacity: 1;
    transform: translateY(-50%) scale(1.2);
}

.dropdown-menu a:hover {
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.12) 0%, rgba(8, 145, 178, 0.08) 100%);
    color: var(--water-blue-dark);
    padding-right: 32px;
    transform: translateX(-4px);
}

html[dir="ltr"] .dropdown-menu a:hover {
    padding-right: 32px;
    padding-left: 32px;
    transform: translateX(4px);
}

.dropdown-menu li:first-child a {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.dropdown-menu li:last-child a {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom: none;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    overflow: hidden;
    padding: 80px 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(8, 145, 178, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.4;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 100px, rgba(37, 99, 235, 0.04) 100px, rgba(37, 99, 235, 0.04) 200px);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 40px 20px;
    max-width: 800px;
}

.hero-logo {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInDown 0.8s ease;
}

.hero-logo-img {
    height: 120px;
    width: auto;
    max-width: 100%;
    filter: drop-shadow(0 8px 20px rgba(37, 99, 235, 0.3));
    transition: transform 0.3s ease;
}

.hero-logo-img:hover {
    transform: scale(1.05);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h2 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--text-dark);
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 19px;
    max-width: 640px;
    margin: 0 auto;
    color: var(--text-gray);
    line-height: 1.7;
}

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

.section-header h2 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-gray);
    max-width: 600px;
    margin: 24px auto 0;
    line-height: 1.6;
}

.underline {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--water-blue-dark) 0%, var(--water-teal) 100%);
    margin: 0 auto;
    border-radius: 2px;
}

/* About Section */
.about {
    padding: 96px 0;
    background-color: var(--bg-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 56px;
}

.about-text {
    max-width: 780px;
    margin: 0 auto;
}

.about-text p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 24px;
    color: var(--text-gray);
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.about-image-item {
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
    transition: all 0.3s ease;
    border: 1.5px solid rgba(37, 99, 235, 0.2);
}

.about-image-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.25);
    border-color: var(--water-blue);
}

.about-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

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

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.stat-item {
    text-align: center;
    padding: 32px 24px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(8, 145, 178, 0.08) 100%);
    border-radius: 16px;
    border: 1px solid rgba(37, 99, 235, 0.25);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.25);
    border-color: var(--water-blue-dark);
}

.stat-item h3 {
    font-size: 44px;
    font-weight: 800;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--water-blue-dark) 0%, var(--water-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item p {
    font-size: 15px;
    color: var(--text-gray);
    font-weight: 500;
}

/* About Page Styles */
.about-hero {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    padding: 50px 0 35px;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 60%);
}

.about-hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 20px 0;
}

.about-hero-content h1 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-dark);
    letter-spacing: -1px;
}

.about-hero-content p {
    font-size: 15px;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.about-main {
    padding: 80px 0;
    background-color: var(--bg-white);
}

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

.about-text-section {
    margin-bottom: 64px;
}

.about-text-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--text-dark);
}

.about-text-section p {
    font-size: 18px;
    line-height: 1.9;
    color: var(--text-gray);
    margin-bottom: 24px;
}

.mission-vision {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--light-bg) 100%);
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.mission-card,
.vision-card {
    background-color: rgba(26, 26, 26, 0.95);
    padding: 48px 40px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.08);
    border: 1.5px solid var(--border-light);
    transition: all 0.3s ease;
    text-align: center;
}

.mission-card:hover,
.vision-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.2);
    border-color: var(--water-blue);
}

.card-icon {
    font-size: 56px;
    margin-bottom: 24px;
    filter: drop-shadow(0 4px 8px rgba(37, 99, 235, 0.2));
}

.mission-card h3,
.vision-card h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.mission-card p,
.vision-card p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-gray);
}

.values-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.value-item {
    text-align: center;
    padding: 40px 32px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.06) 0%, rgba(8, 145, 178, 0.04) 100%);
    border-radius: 18px;
    border: 1.5px solid rgba(37, 99, 235, 0.2);
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.2);
    border-color: var(--water-blue-dark);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(8, 145, 178, 0.08) 100%);
}

.value-icon {
    font-size: 48px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(37, 99, 235, 0.25));
}

.value-item h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.value-item p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-gray);
}

/* About Company Sections with Images */
.about-company-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.about-company-section.reverse {
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--light-bg) 100%);
}

.company-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

html[dir="ltr"] .company-content-wrapper {
    grid-template-columns: 1fr 1fr;
}

.company-image {
    position: relative;
    width: 100%;
}

.company-section-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
    transition: all 0.3s ease;
    display: block;
}

.company-section-image:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.25);
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(8, 145, 178, 0.08) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(37, 99, 235, 0.2);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
    max-width: 100%;
    box-sizing: border-box;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(8, 145, 178, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-placeholder:hover::before {
    opacity: 1;
}

.image-placeholder:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.25);
    border-color: var(--water-blue-dark);
}

.image-placeholder span {
    font-size: 120px;
    opacity: 0.6;
    z-index: 1;
    position: relative;
}

.company-text {
    padding: 20px 0;
}

.company-text h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 28px;
    color: var(--text-dark);
    line-height: 1.3;
}

.company-text p {
    font-size: 17px;
    line-height: 1.9;
    color: var(--text-gray);
    margin-bottom: 24px;
}

.company-text p:last-child {
    margin-bottom: 0;
}

/* Services Page Styles */
.services-page {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.services-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    margin-top: 64px;
}

.service-page-card {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(26, 26, 26, 0.95) 100%);
    padding: 48px 40px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(37, 99, 235, 0.15);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.service-page-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.2);
    border-color: var(--water-blue);
    background: linear-gradient(135deg, rgba(0, 0, 0, 1) 0%, rgba(26, 26, 26, 1) 100%);
}

.service-page-icon {
    font-size: 64px;
    text-align: center;
    filter: drop-shadow(0 4px 8px rgba(37, 99, 235, 0.2));
    margin-bottom: 8px;
}

.service-page-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    text-align: center;
    line-height: 1.4;
}

.service-page-card p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 8px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-features li {
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.06) 0%, rgba(8, 145, 178, 0.04) 100%);
    border-radius: 10px;
    border-right: 3px solid var(--water-blue);
    font-size: 15px;
    color: var(--text-gray);
    transition: all 0.2s ease;
    position: relative;
    padding-right: 32px;
}

html[dir="ltr"] .service-features li {
    border-right: none;
    border-left: 3px solid var(--water-blue);
    padding-right: 16px;
    padding-left: 32px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    right: 12px;
    color: var(--water-blue-dark);
    font-weight: 700;
    font-size: 16px;
}

html[dir="ltr"] .service-features li::before {
    right: auto;
    left: 12px;
}

.service-features li:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(8, 145, 178, 0.08) 100%);
    transform: translateX(-4px);
    border-right-color: var(--water-blue-dark);
}

html[dir="ltr"] .service-features li:hover {
    transform: translateX(4px);
    border-left-color: var(--water-blue-dark);
}

/* Services Section */
.services {
    padding: 96px 0;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--light-bg) 100%);
}

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

.service-card {
    background-color: var(--bg-white);
    padding: 40px 32px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1.5px solid var(--border-light);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.3);
    border-color: var(--water-blue-light);
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
}

.service-icon {
    font-size: 52px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(37, 99, 235, 0.25));
}

.service-image {
    width: 100%;
    height: 200px;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    background: #f3f4f6;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text-dark);
}

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

/* Contact Page Styles */
.contact-page {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.contact-page-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: start;
}

html[dir="ltr"] .contact-page-wrapper {
    grid-template-columns: 1.2fr 1fr;
}

.contact-page-info {
    position: sticky;
    top: 120px;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-card {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.06) 0%, rgba(8, 145, 178, 0.04) 100%);
    padding: 32px 28px;
    border-radius: 16px;
    border: 1.5px solid rgba(37, 99, 235, 0.15);
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateX(-4px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
    border-color: var(--water-blue);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(8, 145, 178, 0.08) 100%);
}

html[dir="ltr"] .contact-info-card:hover {
    transform: translateX(4px);
}

.contact-icon {
    font-size: 36px;
    margin-bottom: 16px;
    filter: drop-shadow(0 2px 4px rgba(37, 99, 235, 0.2));
}

.contact-info-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.contact-info-card p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 8px;
}

.contact-info-card p:last-child {
    margin-bottom: 0;
}

.contact-info-card a {
    color: var(--water-blue-dark);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-info-card a:hover {
    color: var(--water-teal);
    transform: translateX(-2px);
}

html[dir="ltr"] .contact-info-card a:hover {
    transform: translateX(2px);
}

.contact-item a {
    color: var(--water-blue-dark);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-item a:hover {
    color: var(--water-teal);
    text-decoration: underline;
}

.contact-page-form {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(26, 26, 26, 0.95) 100%);
    padding: 48px 40px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(37, 99, 235, 0.15);
}

.contact-form-wrapper h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.form-subtitle {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 32px;
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    padding: 14px 18px;
    border: 1.5px solid rgba(37, 99, 235, 0.2);
    border-radius: 12px;
    font-size: 15px;
    color: #ffffff;
    background-color: rgba(26, 26, 26, 0.95);
    transition: all 0.3s ease;
    font-family: inherit;
    width: 100%;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--water-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

.submit-btn {
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--water-blue-dark) 0%, var(--water-teal) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    background: linear-gradient(135deg, var(--water-blue) 0%, var(--water-teal-dark) 100%);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Terms Page Styles */
.terms-page {
    padding: 80px 0;
    background-color: var(--bg-white);
}

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

.terms-section {
    margin-bottom: 64px;
}

.terms-section:last-of-type {
    margin-bottom: 48px;
}

.terms-section h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.terms-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--water-blue-dark) 0%, var(--water-teal) 100%);
    border-radius: 2px;
    margin-bottom: 32px;
}

.terms-item {
    margin-bottom: 32px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.03) 0%, rgba(8, 145, 178, 0.02) 100%);
    border-radius: 12px;
    border-right: 4px solid var(--water-blue);
    transition: all 0.3s ease;
}

html[dir="ltr"] .terms-item {
    border-right: none;
    border-left: 4px solid var(--water-blue);
}

.terms-item:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.06) 0%, rgba(8, 145, 178, 0.04) 100%);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.terms-item h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.terms-item p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-gray);
}

.terms-contact {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(8, 145, 178, 0.06) 100%);
    padding: 32px 40px;
    border-radius: 16px;
    border: 1.5px solid rgba(37, 99, 235, 0.2);
    margin-top: 48px;
    margin-bottom: 32px;
}

.terms-contact p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 12px;
}

.terms-contact p:last-child {
    margin-bottom: 0;
}

.terms-contact strong {
    color: var(--text-dark);
    font-weight: 600;
}

.terms-update {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border-light);
}

.terms-update p {
    font-size: 14px;
    color: var(--text-gray);
    font-style: italic;
}

/* Login Page Styles */
.login-page {
    padding: 80px 0;
    background-color: var(--bg-white);
    min-height: calc(100vh - 200px);
}

.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.login-card {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.98) 0%, rgba(26, 26, 26, 0.95) 100%);
    border-radius: 24px;
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.15), 0 4px 12px rgba(255, 255, 255, 0.1);
    padding: 48px 40px;
    max-width: 480px;
    width: 100%;
    border: 1.5px solid rgba(37, 99, 235, 0.15);
    position: relative;
    overflow: hidden;
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--water-blue-dark) 0%, var(--water-teal) 100%);
}

.login-header {
    text-align: center;
    margin-bottom: 36px;
}

.login-header h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.login-header p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.6;
}

.login-form {
    width: 100%;
}

.login-form .form-group {
    margin-bottom: 24px;
}

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

.login-form input[type="text"],
.login-form input[type="email"],
.login-form input[type="password"] {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    background-color: rgba(26, 26, 26, 0.95);
    color: #ffffff;
    box-sizing: border-box;
}

.login-form input:focus {
    outline: none;
    border-color: var(--water-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.login-form input::placeholder {
    color: var(--text-gray);
    opacity: 0.6;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 12px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
}

.remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--water-blue-dark);
}

.remember-me label {
    font-size: 14px;
    color: var(--text-gray);
    cursor: pointer;
    font-weight: 400;
    margin: 0;
}

.forgot-password {
    color: var(--water-blue-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.forgot-password:hover {
    color: var(--water-teal);
    text-decoration: underline;
}

.login-submit-btn {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--water-blue-dark) 0%, var(--water-teal) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.login-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.login-submit-btn:active {
    transform: translateY(0);
}

.login-footer {
    margin-top: 32px;
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
}

.login-footer p {
    font-size: 14px;
    color: var(--text-gray);
    margin: 0;
}

.login-footer a {
    color: var(--water-blue-dark);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.login-footer a:hover {
    color: var(--water-teal);
    text-decoration: underline;
}

.login-message {
    margin-top: 20px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

/* Register Page Styles */
.register-page {
    padding: 60px 0 80px;
    background: linear-gradient(180deg, var(--light-bg) 0%, var(--bg-white) 100%);
    min-height: calc(100vh - 400px);
}

.register-card {
    max-width: 540px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.98) 0%, rgba(26, 26, 26, 0.98) 100%);
    padding: 48px 40px;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.12);
    border: 1.5px solid rgba(37, 99, 235, 0.15);
}

.register-header {
    text-align: center;
    margin-bottom: 36px;
}

.register-header h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--water-blue-dark) 0%, var(--water-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.register-header p {
    font-size: 15px;
    color: var(--text-gray);
}

.register-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.register-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.register-form .form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.register-form .form-group input,
.register-form .form-group select {
    padding: 14px 16px;
    border: 1.5px solid rgba(37, 99, 235, 0.2);
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    color: #ffffff;
    background-color: rgba(26, 26, 26, 0.95);
    transition: all 0.3s ease;
}

.register-form .form-group input:focus,
.register-form .form-group select:focus {
    outline: none;
    border-color: var(--water-blue-dark);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.register-form .form-group select {
    cursor: pointer;
}

.register-form .checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
}

.register-form .checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--water-blue-dark);
}

.register-form .checkbox-group label {
    font-weight: 400;
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    cursor: pointer;
}

.register-form .checkbox-group label a {
    color: var(--water-blue-dark);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.register-form .checkbox-group label a:hover {
    color: var(--water-teal);
    text-decoration: underline;
}

.register-submit-btn {
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--water-blue-dark) 0%, var(--water-teal) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    margin-top: 8px;
}

.register-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.register-submit-btn:active {
    transform: translateY(0);
}

.register-footer {
    margin-top: 28px;
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(37, 99, 235, 0.15);
}

.register-footer p {
    font-size: 14px;
    color: var(--text-gray);
}

.register-footer a {
    color: var(--water-blue-dark);
    text-decoration: none;
    font-weight: 600;
    margin-right: 4px;
    transition: color 0.3s ease;
}

.register-footer a:hover {
    color: var(--water-teal);
    text-decoration: underline;
}

.register-message {
    margin-top: 20px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

.register-message.success {
    background-color: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.register-message.error {
    background-color: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Department Page Styles */
.department-page {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.department-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.department-service-card {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.98) 0%, rgba(26, 26, 26, 0.95) 100%);
    padding: 40px 32px;
    border-radius: 20px;
    border: 1.5px solid rgba(37, 99, 235, 0.15);
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
    text-align: center;
}

.department-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.2);
    border-color: var(--water-blue);
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
}

.department-service-icon {
    font-size: 56px;
    margin-bottom: 24px;
    filter: drop-shadow(0 4px 8px rgba(37, 99, 235, 0.25));
}

.department-service-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.department-service-card p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-gray);
}

.department-requirements {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--light-bg) 100%);
}

.requirements-content {
    max-width: 900px;
    margin: 0 auto;
}

.requirements-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 48px;
}

.requirement-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(26, 26, 26, 0.95) 100%);
    padding: 28px 32px;
    border-radius: 16px;
    border: 1.5px solid rgba(37, 99, 235, 0.15);
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.04);
    transition: all 0.3s ease;
}

.requirement-item:hover {
    transform: translateX(-4px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
    border-color: var(--water-blue);
}

html[dir="ltr"] .requirement-item:hover {
    transform: translateX(4px);
}

.requirement-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--water-blue-dark) 0%, var(--water-teal) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.requirement-text {
    flex: 1;
}

.requirement-text h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.requirement-text p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-gray);
    margin: 0;
}

.department-application {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.application-card {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(8, 145, 178, 0.06) 100%);
    padding: 48px 40px;
    border-radius: 24px;
    border: 1.5px solid rgba(37, 99, 235, 0.2);
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.15);
}

.application-content {
    text-align: center;
}

.application-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.application-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 32px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.application-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.application-btn {
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.application-btn.primary {
    background: linear-gradient(135deg, var(--water-blue-dark) 0%, var(--water-teal) 100%);
    color: white;
}

.application-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.application-btn.secondary {
    background: rgba(26, 26, 26, 0.95);
    color: var(--water-blue-light);
    border: 2px solid var(--water-blue-dark);
}

.application-btn.secondary:hover {
    background: var(--water-blue-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.application-btn:active {
    transform: translateY(0);
}

/* Contact Section */
.contact {
    padding: 96px 0;
    background-color: var(--bg-white);
}

.contact-content {
    max-width: 900px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.contact-item {
    text-align: center;
    padding: 36px 28px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(8, 145, 178, 0.06) 100%);
    border-radius: 18px;
    border: 1px solid rgba(37, 99, 235, 0.2);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25);
    border-color: var(--water-blue-dark);
}

.contact-item h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.contact-item p {
    font-size: 15px;
    color: var(--text-gray);
}

/* Footer */
.footer {
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--light-bg) 100%);
    padding: 36px 0;
    text-align: center;
    border-top: 1px solid var(--border-light);
    margin-top: 64px;
    width: 100%;
    max-width: 100%;
}

@media (max-width: 768px) {
    .header-top {
        flex-wrap: nowrap;
        gap: 12px;
        align-items: center;
    }
    
    .logo-text {
        order: 1;
        flex: 1 1 auto;
        min-width: 0;
    }
    
    .logo-text h1 {
        font-size: 14px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .menu-toggle {
        display: block;
        order: 2;
        background: none;
        border: none;
        color: white;
        font-size: 24px;
        cursor: pointer;
        padding: 8px;
        margin-left: 12px;
        flex: 0 0 auto;
        z-index: 1001;
    }
    
    .nav {
        order: 5;
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.98);
        padding: 20px;
        z-index: 1000;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        margin-top: 8px;
    }
    
    .nav.active {
        display: block;
    }
    
    .nav ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    
    .nav li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav li:last-child {
        border-bottom: none;
    }
    
    .nav a {
        display: block;
        padding: 12px 16px;
        width: 100%;
        font-size: 15px;
    }
    
    .dropdown-menu {
        position: static !important;
        display: none;
        box-shadow: none;
        background: rgba(26, 26, 26, 0.95);
        margin-top: 0;
        padding-right: 20px;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .header-lang {
        order: 3;
        flex: 0 0 auto;
    }
    
    .header-logo {
        order: 4;
        flex: 0 0 auto;
    }
    
    .header-logo img {
        height: 45px !important;
    }
    
    .header {
        position: relative;
    }
    
    .header-bottom {
        padding-top: 8px;
    }
    
    .search-input {
        width: 140px;
        font-size: 13px;
    }
    
    .login-btn {
        padding: 6px 16px;
        font-size: 13px;
    }
    
    .footer {
        margin-top: 48px;
    }

    .footer .container {
        padding: 0 12px;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .footer .container {
        padding: 0 16px;
    }
}

.footer p {
    color: var(--text-gray);
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.footer-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(26, 26, 26, 0.9) 100%);
    border: 1.5px solid rgba(37, 99, 235, 0.2);
    border-radius: 12px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(255, 255, 255, 0.05);
}

.footer-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
    border-color: var(--water-blue);
    background: linear-gradient(135deg, rgba(0, 0, 0, 1) 0%, rgba(26, 26, 26, 1) 100%);
}

.footer-link.whatsapp:hover {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.1) 0%, rgba(37, 211, 102, 0.05) 100%);
    border-color: #25d366;
    color: #25d366;
}

.footer-link.phone:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(37, 99, 235, 0.05) 100%);
    border-color: var(--water-blue-dark);
    color: var(--water-blue-dark);
}

.footer-link.facebook:hover {
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.1) 0%, rgba(24, 119, 242, 0.05) 100%);
    border-color: #1877f2;
    color: #1877f2;
}

.footer-link.terms:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-color: #8b5cf6;
    color: #8b5cf6;
}

.footer-icon {
    font-size: 18px;
    display: inline-block;
    line-height: 1;
}

.footer-text {
    display: inline-block;
}

@media (max-width: 768px) {
    .footer-links {
        gap: 12px;
    }

    .footer-link {
        padding: 8px 14px;
        font-size: 13px;
    }

    .footer-icon {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .footer-links {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .footer-link {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 10px 16px;
        font-size: 13px;
    }
}

/* Responsive Design */

/* Extra Small Devices (phones, less than 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .header .container {
        padding: 0 12px;
    }
    
    .header-top {
        gap: 6px;
    }
    
    .logo-text h1 {
        font-size: 10px !important;
        letter-spacing: 0.2px !important;
    }
    
    .menu-toggle {
        font-size: 18px;
        padding: 5px;
        margin-left: 6px;
    }
    
    .header-lang .lang-btn-header {
        width: 30px;
        height: 30px;
        font-size: 11px;
    }
    
    .header-logo img {
        height: 35px !important;
    }
    
    .nav {
        padding: 12px;
    }
    
    .nav a {
        font-size: 13px;
        padding: 10px;
    }
    
    .search-input {
        width: 100px;
        font-size: 11px;
        padding: 5px 8px;
    }
    
    .login-btn {
        padding: 5px 10px;
        font-size: 11px;
    }

    .hero {
        min-height: 60vh;
        padding: 40px 0;
        margin: 0;
        width: 100%;
        max-width: 100%;
    }

    .hero .container {
        padding: 0 12px;
    }

    .hero-content {
        padding: 20px 0;
        max-width: 100%;
    }

    .hero-logo-img {
        height: 80px;
    }
    
    .hero-content h2 {
        font-size: 28px;
        line-height: 1.3;
        padding: 0 4px;
    }
    
    .hero-content p {
        font-size: 15px;
        padding: 0 4px;
    }

    .header {
        padding: 12px 0;
        margin: 0;
        width: 100%;
        max-width: 100%;
    }

    .logo h1 {
        font-size: 18px;
    }

    .header-top {
        flex-wrap: nowrap;
        gap: 8px;
    }
    
    .logo-text {
        order: 1;
        flex: 1 1 auto;
        min-width: 0;
    }
    
    .logo-text h1 {
        font-size: 11px !important;
    }
    
    .menu-toggle {
        order: 2;
        font-size: 20px;
        padding: 6px;
    }
    
    .header-lang {
        order: 3;
    }
    
    .header-logo {
        order: 4;
    }
    
    .header-logo img {
        height: 38px !important;
    }
    
    .nav {
        order: 5;
    }

    .nav ul {
        gap: 8px;
    }

    .nav a {
        font-size: 13px;
        padding: 8px 10px;
    }

    .header-search {
        max-width: 100%;
    }

    .search-input {
        max-width: 100%;
        font-size: 13px;
        padding: 6px 14px;
    }

    .search-input:focus {
        max-width: 100%;
    }

    .search-btn {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .login-btn {
        padding: 6px 14px;
        font-size: 12px;
    }

    .lang-btn-header {
        width: 34px;
        height: 34px;
        font-size: 12px;
    }

    .section-header h2 {
        font-size: 26px;
    }

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

    .about, .services, .contact, .what-we-offer, .testimonials {
        padding: 48px 0;
        margin: 0;
        width: 100%;
        max-width: 100%;
    }

    .about .container,
    .services .container,
    .contact .container,
    .what-we-offer .container,
    .testimonials .container {
        padding: 0 12px;
    }

    .about-hero {
        padding: 40px 0 24px;
        margin: 0;
        width: 100%;
        max-width: 100%;
    }

    .about-hero .container {
        padding: 0 12px;
    }

    .about-hero-content h1 {
        font-size: 24px;
    }

    .about-hero-content p {
        font-size: 13px;
    }

    .about-main {
        padding: 48px 0;
        margin: 0;
        width: 100%;
        max-width: 100%;
    }

    .about-main .container {
        padding: 0 12px;
    }

    .about-text-section h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .about-text-section p {
        font-size: 15px;
    }

    .about-stats {
        gap: 16px;
        margin: 0;
        width: 100%;
    }

    .about-images {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 32px;
    }

    .about-image {
        height: 300px;
    }

    .stat-item {
        padding: 24px 16px;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .stat-item h3 {
        font-size: 36px;
    }

    .stat-item p {
        font-size: 14px;
    }

    .mission-vision {
        padding: 48px 0;
        margin: 0;
        width: 100%;
        max-width: 100%;
    }

    .mission-vision .container {
        padding: 0 12px;
    }

    .mission-card,
    .vision-card {
        padding: 28px 18px;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .card-icon {
        font-size: 48px;
        margin-bottom: 20px;
    }

    .mission-card h3,
    .vision-card h3 {
        font-size: 24px;
    }

    .mission-card p,
    .vision-card p {
        font-size: 15px;
    }

    .about-company-section {
        padding: 48px 0;
        margin: 0;
        width: 100%;
        max-width: 100%;
    }

    .about-company-section .container {
        padding: 0 12px;
    }

    .company-content-wrapper {
        gap: 32px;
        margin: 0;
        width: 100%;
    }

    .company-text h2 {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .company-text p {
        font-size: 15px;
    }

    .image-placeholder span {
        font-size: 60px;
    }

    .services-grid {
        gap: 20px;
        margin: 0;
        width: 100%;
    }

    .service-card {
        padding: 32px 20px;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .service-icon {
        font-size: 44px;
    }

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

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

    .services-page {
        padding: 48px 0;
        margin: 0;
        width: 100%;
        max-width: 100%;
    }

    .services-page .container {
        padding: 0 12px;
    }

    .services-page-grid {
        gap: 24px;
        margin: 0;
        width: 100%;
    }

    .service-page-card {
        padding: 28px 18px;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .service-page-icon {
        font-size: 48px;
    }

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

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

    .service-features li {
        font-size: 13px;
        padding: 8px 12px;
        padding-right: 24px;
    }

    html[dir="ltr"] .service-features li {
        padding-left: 24px;
        padding-right: 12px;
    }

    .offer-item {
        padding: 20px 16px;
        gap: 12px;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .offer-icon {
        width: 28px;
        height: 28px;
        font-size: 16px;
    }

    .offer-content h3 {
        font-size: 18px;
    }

    .offer-content p {
        font-size: 14px;
    }

    .testimonials-grid {
        gap: 20px;
        margin: 0;
        width: 100%;
    }

    .testimonial-card {
        padding: 32px 20px;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .testimonial-text {
        font-size: 15px;
    }

    .contact-page {
        padding: 48px 0;
        margin: 0;
        width: 100%;
        max-width: 100%;
    }

    .contact-page .container {
        padding: 0 12px;
    }

    .contact-page-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

        html[dir="ltr"] .contact-page-wrapper {
            grid-template-columns: 1fr;
        }

    .contact-page-info {
        position: static;
    }

    .contact-page-form {
        padding: 32px 20px;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .contact-form-wrapper h2 {
        font-size: 26px;
    }

    .contact-info-card {
        padding: 24px 18px;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .terms-page {
        padding: 48px 0;
        margin: 0;
        width: 100%;
        max-width: 100%;
    }

    .terms-page .container {
        padding: 0 12px;
    }

    .terms-section h2 {
        font-size: 24px;
    }

    .terms-item {
        padding: 16px;
    }

    .terms-item h3 {
        font-size: 18px;
    }

    .terms-item p {
        font-size: 14px;
    }

    .terms-contact {
        padding: 20px 24px;
    }

    .login-page {
        padding: 48px 0;
        margin: 0;
        width: 100%;
        max-width: 100%;
    }

    .login-page .container {
        padding: 0 12px;
    }

    .login-card {
        padding: 32px 20px;
        margin: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .login-header h2 {
        font-size: 26px;
    }

    .register-card {
        padding: 32px 20px;
        margin: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .register-header h2 {
        font-size: 26px;
    }

    .department-page {
        padding: 48px 0;
        margin: 0;
        width: 100%;
        max-width: 100%;
    }

    .department-page .container {
        padding: 0 12px;
    }

    .department-services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin: 0;
        width: 100%;
    }

    .department-service-card {
        padding: 32px 20px;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .department-service-icon {
        font-size: 48px;
    }

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

    .requirement-item {
        padding: 20px 16px;
        gap: 16px;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .requirement-icon {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }

    .requirement-text h4 {
        font-size: 18px;
    }

    .requirement-text p {
        font-size: 14px;
    }

    .application-card {
        padding: 32px 20px;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .application-content h2 {
        font-size: 26px;
    }

    .application-content p {
        font-size: 15px;
    }

    .application-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .application-btn {
        width: 100%;
        text-align: center;
    }

    .contact-info {
        gap: 16px;
        margin: 0;
        width: 100%;
    }

    .contact-item {
        padding: 28px 18px;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }
}

/* Small Devices (phones, 481px to 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .header .container {
        padding: 0 16px;
    }

    .hero .container {
        padding: 0 16px;
    }

    .about .container,
    .services .container,
    .contact .container,
    .what-we-offer .container,
    .testimonials .container,
    .about-hero .container,
    .about-main .container,
    .about-company-section .container,
    .services-page .container,
    .contact-page .container,
    .terms-page .container,
    .login-page .container,
    .department-page .container,
    .mission-vision .container {
        padding: 0 16px;
    }

    .hero {
        min-height: 65vh;
        padding: 50px 0;
        margin: 0;
        width: 100%;
        max-width: 100%;
    }

    .hero-logo-img {
        height: 100px;
    }
    
    .hero-content h2 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 16px;
    }

    .header-top {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
    }
    
    .logo-text {
        order: 1;
    }
    
    .nav {
        order: 3;
        width: 100%;
    }
    
    .header-lang {
        order: 2;
    }
    
    .header-logo {
        order: 4;
    }

    .nav ul {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
        width: 100%;
    }
    
    .nav > ul > li {
        width: 100%;
    }
    
    .nav a {
        font-size: 14px;
        padding: 10px 12px;
        display: block;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .nav a:hover {
        background-color: rgba(37, 99, 235, 0.05);
    }
    
    .nav > ul > li > a::after {
        display: none;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 8px;
        margin-right: 16px;
        box-shadow: none;
        border: none;
        background: rgba(37, 99, 235, 0.05);
        border-radius: 8px;
        min-width: auto;
    }

    html[dir="ltr"] .dropdown-menu {
        margin-right: 0;
        margin-left: 16px;
    }

    .dropdown-toggle::after {
        transform: rotate(0deg);
    }

    .header {
        padding: 14px 0;
        margin: 0;
        width: 100%;
        max-width: 100%;
    }

    .header-bottom {
        justify-content: center;
        padding-top: 12px;
        border-top: 1px solid var(--border-light);
    }

    .header-actions {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
        width: 100%;
    }

    .header-search {
        width: 100%;
        max-width: 320px;
    }

    .search-input {
        flex: 1;
        width: 100%;
        max-width: 240px;
    }

    .search-input:focus {
        width: 100%;
        max-width: 280px;
    }

    .login-btn {
        padding: 8px 18px;
        font-size: 13px;
    }

    .section-header h2 {
        font-size: 30px;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .about, .services, .contact, .what-we-offer, .testimonials {
        padding: 64px 0;
        margin: 0;
        width: 100%;
        max-width: 100%;
    }

    .about-hero {
        padding: 50px 0 30px;
        margin: 0;
        width: 100%;
        max-width: 100%;
    }

    .about-hero-content h1 {
        font-size: 28px;
    }

    .about-hero-content p {
        font-size: 14px;
    }

    .about-main {
        padding: 60px 0;
        margin: 0;
        width: 100%;
        max-width: 100%;
    }

    .about-text-section h2 {
        font-size: 28px;
    }

    .about-text-section p {
        font-size: 16px;
    }

    .mission-vision {
        padding: 60px 0;
    }

    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .mission-card,
    .vision-card {
        padding: 36px 28px;
    }

    .values-section {
        padding: 60px 0;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .about-company-section {
        padding: 60px 0;
        margin: 0;
        width: 100%;
        max-width: 100%;
    }

    .company-content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .company-image {
        order: -1;
    }

    .about-company-section.reverse .company-image {
        order: -1;
    }

    .image-placeholder span {
        font-size: 80px;
    }

    .company-text h2 {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .company-text p {
        font-size: 16px;
    }

    .services-page {
        padding: 60px 0;
        margin: 0;
        width: 100%;
        max-width: 100%;
    }

    .services-page-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-top: 48px;
    }

    .service-page-card {
        padding: 36px 28px;
    }

    .service-page-icon {
        font-size: 56px;
    }

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

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

    .service-features li {
        font-size: 14px;
        padding: 10px 14px;
        padding-right: 28px;
    }

    html[dir="ltr"] .service-features li {
        padding-left: 28px;
        padding-right: 14px;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-images {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .about-image {
        height: 300px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .terms-page {
        padding: 60px 0;
    }

    .terms-section {
        margin-bottom: 48px;
    }

    .terms-section h2 {
        font-size: 28px;
    }

    .terms-divider {
        width: 60px;
        margin-bottom: 24px;
    }

    .terms-item {
        padding: 20px;
        margin-bottom: 24px;
    }

    .terms-item h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .terms-item p {
        font-size: 15px;
    }

    .terms-contact {
        padding: 24px 28px;
        margin-top: 36px;
    }

    .terms-contact p {
        font-size: 15px;
    }

    .contact-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .testimonials, .what-we-offer {
        padding: 64px 0;
        margin: 0;
        width: 100%;
        max-width: 100%;
    }

    .offer-item {
        flex-direction: column;
        gap: 16px;
        padding: 24px;
    }

    .offer-item:hover {
        transform: translateY(-4px);
    }

    html[dir="ltr"] .offer-item:hover {
        transform: translateY(-4px);
    }

    .header-lang {
        justify-content: center;
    }

    .lang-btn-header {
        width: 38px;
        height: 38px;
        font-size: 13px;
    }

    .contact-page-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    html[dir="ltr"] .contact-page-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-page-info {
        position: static;
    }
}

/* Medium Devices (tablets, 769px to 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 32px;
        max-width: 960px;
    }

    .hero-logo-img {
        height: 110px;
    }
    
    .hero-content h2 {
        font-size: 42px;
    }
    
    .hero-content p {
        font-size: 18px;
    }

    .header-top {
        gap: 24px;
        flex-wrap: wrap;
    }
    
    .logo-text {
        flex: 0 0 auto;
    }
    
    .nav {
        flex: 1 1 auto;
        min-width: 300px;
    }

    .nav ul {
        gap: 24px;
    }

    .nav a {
        font-size: 14px;
    }

    .section-header h2 {
        font-size: 34px;
    }

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

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

    .mission-vision-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-page-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    html[dir="ltr"] .contact-page-wrapper {
        grid-template-columns: 1fr 1fr;
    }

    .company-content-wrapper {
        gap: 48px;
    }

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

/* Large Devices (desktops, 1025px to 1440px) */
@media (min-width: 1025px) and (max-width: 1440px) {
    .container {
        max-width: 1200px;
        padding: 0 40px;
    }

    .hero-content h2 {
        font-size: 48px;
    }

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

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

    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Student CV Styles */
.student-cv {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin: 30px 0;
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cv-header {
    background: linear-gradient(135deg, var(--water-blue-dark) 0%, var(--water-teal) 100%);
    padding: 40px;
    color: white;
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
    overflow: hidden;
}

.cv-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.cv-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-30%, 30%);
}

.cv-photo-header {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.cv-header-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, 0.3);
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.cv-header-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.cv-name {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 12px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cv-department {
    font-size: 18px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.95;
}

.dept-icon {
    font-size: 20px;
}

.cv-status {
    margin-top: 16px;
}

.status-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.status-complete {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 2px solid rgba(16, 185, 129, 0.3);
}

.status-pending {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    border: 2px solid rgba(245, 158, 11, 0.3);
}

.status-rejected {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 2px solid rgba(239, 68, 68, 0.3);
}

.cv-body {
    padding: 40px;
}

.cv-section {
    margin-bottom: 35px;
}

.cv-section:last-child {
    margin-bottom: 0;
}

.cv-section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--water-blue-dark);
    margin: 0 0 25px 0;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--water-teal);
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-icon {
    font-size: 28px;
}

.cv-section-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cv-section-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-right: 4px solid var(--water-blue);
}

.cv-section-item:hover {
    transform: translateX(-5px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.15);
}

.cv-item-icon {
    font-size: 28px;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--water-blue-dark) 0%, var(--water-teal) 100%);
    border-radius: 12px;
    color: white;
}

.cv-item-content {
    flex: 1;
}

.cv-item-label {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cv-item-value {
    font-size: 18px;
    color: var(--text-dark);
    font-weight: 500;
}

.cv-item-value a {
    color: var(--water-blue-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.cv-item-value a:hover {
    color: var(--water-teal);
    text-decoration: underline;
}

/* Photos and Documents Section */
.cv-photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.cv-photo-item {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.cv-photo-label {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 12px;
    font-weight: 600;
    text-align: center;
}

.cv-photo-container {
    width: 100%;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    background: #1a1a1a;
    border: 2px solid #000000;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cv-photo-container:hover {
    transform: scale(1.02);
}

.cv-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cv-photo:hover {
    transform: scale(1.1);
}

.cv-document-item {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

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

.cv-document-label {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 12px;
    font-weight: 600;
}

.cv-document-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--water-blue-dark) 0%, var(--water-teal) 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.cv-document-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.cv-document-icon {
    font-size: 20px;
}

/* Image Modal */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.image-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.image-modal-content {
    position: relative;
    z-index: 10001;
    max-width: 90%;
    max-height: 90vh;
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.image-modal-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    display: block;
}

.image-modal-close {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--water-blue-dark);
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 10002;
}

.image-modal-close:hover {
    transform: rotate(90deg) scale(1.1);
    background: var(--water-teal);
}

/* Professional Profile Page Styles */
.profile-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

@media (min-width: 769px) {
    .profile-container {
        padding: 0;
        margin: 0;
    }
}

.profile-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    animation: fadeInUp 0.6s ease;
    min-height: 100vh;
}

@media (max-width: 768px) {
    .profile-card {
        border-radius: 24px;
        margin: 20px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
        min-height: auto;
    }
    
    .profile-container {
        padding: 0 10px;
    }
}

.profile-header {
    position: relative;
    background: linear-gradient(135deg, var(--water-blue-dark) 0%, var(--water-teal) 100%);
    padding: 0;
}

.profile-cover {
    height: 200px;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

.profile-cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.profile-main-info {
    position: relative;
    padding: 40px;
    padding-top: 0;
    margin-top: -100px;
    display: flex;
    align-items: flex-end;
    gap: 30px;
    flex-wrap: wrap;
    background-color: #000000;
}

.profile-avatar-container {
    position: relative;
    flex-shrink: 0;
}

.profile-avatar {
    width: 180px;
    height: 180px;
    border-radius: 20px;
    border: 6px solid white;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.profile-avatar:hover {
    transform: scale(1.05);
}

.profile-avatar-placeholder {
    width: 180px;
    height: 180px;
    border-radius: 20px;
    border: 6px solid white;
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.avatar-icon {
    font-size: 80px;
    color: #9ca3af;
}

.profile-status-badge {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.profile-status-badge.status-complete {
    background: rgba(16, 185, 129, 0.95);
    color: white;
}

.profile-status-badge.status-pending {
    background: rgba(245, 158, 11, 0.95);
    color: white;
}

.profile-status-badge.status-rejected {
    background: rgba(239, 68, 68, 0.95);
    color: white;
}

.status-icon {
    margin-left: 5px;
    font-size: 16px;
}

.profile-name-section {
    flex: 1;
    min-width: 200px;
    padding-bottom: 20px;
}

.profile-name {
    font-size: 42px;
    font-weight: 700;
    color: white;
    margin: 0 0 12px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.profile-title {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.title-icon {
    font-size: 24px;
}

.profile-body {
    padding: 50px 40px;
    background: #000000;
    color: #ffffff;
}

@media (min-width: 769px) {
    .profile-body {
        padding: 60px 80px;
    }
}

.profile-section {
    margin-bottom: 50px;
}

.profile-section:last-child {
    margin-bottom: 0;
}

.profile-section-header {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--water-teal);
}

.profile-section-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.profile-section-header {
    border-bottom: 3px solid var(--water-teal);
}

.section-icon {
    font-size: 32px;
}

.profile-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.profile-info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(37, 99, 235, 0.1) 100%);
    border-radius: 16px;
    border: 2px solid rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
}

.profile-info-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
    border-color: var(--water-blue);
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(37, 99, 235, 0.15) 100%);
}

.profile-info-icon {
    font-size: 32px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--water-blue-dark) 0%, var(--water-teal) 100%);
    border-radius: 12px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.profile-info-content {
    flex: 1;
}

.profile-info-content label {
    display: block;
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-info-content .info-value {
    display: block;
    font-size: 18px;
    color: #ffffff;
    font-weight: 500;
    word-break: break-word;
}

.profile-info-content .info-value a {
    color: var(--water-blue-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.profile-info-content .info-value a:hover {
    color: var(--water-teal);
    text-decoration: underline;
}

/* Documents Grid */
.profile-documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.profile-document-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(37, 99, 235, 0.1) 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 2px solid rgba(37, 99, 235, 0.3);
}

.profile-document-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.4);
    border-color: var(--water-blue);
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(37, 99, 235, 0.2) 100%);
}

.document-card-header {
    padding: 20px;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(37, 99, 235, 0.1) 100%);
    border-bottom: 2px solid rgba(37, 99, 235, 0.3);
    display: flex;
    align-items: center;
    gap: 12px;
}

.document-icon {
    font-size: 28px;
}

.document-card-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.document-card-body {
    padding: 25px;
}

.document-image-container {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(26, 26, 26, 0.5);
    cursor: pointer;
    border: 2px solid #000000;
}

.document-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.document-image-container:hover .document-image {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.document-image-container:hover .image-overlay {
    opacity: 1;
}

.view-image-btn {
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--water-blue-dark) 0%, var(--water-teal) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.view-image-btn:hover {
    background: linear-gradient(135deg, var(--water-teal) 0%, var(--water-blue-dark) 100%);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.document-file-card .document-card-body {
    text-align: center;
}

.document-file-info {
    padding: 20px 0;
}

.file-icon-large {
    font-size: 64px;
    margin-bottom: 20px;
}

.file-description {
    font-size: 15px;
    color: #9ca3af;
    margin-bottom: 25px;
    line-height: 1.6;
}

.document-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--water-blue-dark) 0%, var(--water-teal) 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.document-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-icon {
    font-size: 20px;
}

/* Responsive Profile */
@media (max-width: 768px) {
    .profile-main-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
        margin-top: -80px;
    }
    
    .profile-avatar,
    .profile-avatar-placeholder {
        width: 140px;
        height: 140px;
    }
    
    .profile-name {
        font-size: 32px;
    }
    
    .profile-title {
        font-size: 18px;
        justify-content: center;
    }
    
    .profile-body {
        padding: 30px 20px;
    }
    
    .profile-section-header h2 {
        font-size: 24px;
    }
    
    .profile-info-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-documents-grid {
        grid-template-columns: 1fr;
    }
    
    .document-image-container {
        height: 250px;
    }
}

@media (min-width: 769px) {
    .contact-page-wrapper {
        max-width: 100%;
        grid-template-columns: 1fr;
    }
    
    .contact-page-info {
        display: none;
    }
    
    .contact-page-form {
        max-width: 100%;
        width: 100%;
    }
    
    .contact-form-wrapper {
        max-width: 100%;
    }
    
    #inquiry-result,
    #search-results {
        max-width: 100%;
        width: 100%;
        padding: 0;
        margin: 0;
    }
}

@media (max-width: 480px) {
    .profile-container {
        padding: 0 10px;
        margin: 20px auto;
    }
    
    .profile-cover {
        height: 150px;
    }
    
    .profile-main-info {
        margin-top: -60px;
    }
    
    .profile-avatar,
    .profile-avatar-placeholder {
        width: 120px;
        height: 120px;
    }
    
    .profile-name {
        font-size: 28px;
    }
    
    .profile-body {
        padding: 25px 15px;
    }
    
    .profile-section-header h2 {
        font-size: 20px;
    }
    
    .profile-info-item {
        padding: 20px;
    }
    
    .profile-info-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .info-value {
        font-size: 16px;
    }
}

/* Responsive CV */
@media (max-width: 768px) {
    .cv-header {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .cv-header-photo {
        width: 120px;
        height: 120px;
    }
    
    .cv-name {
        font-size: 28px;
    }
    
    .cv-department {
        font-size: 16px;
        justify-content: center;
    }
    
    .cv-body {
        padding: 25px 20px;
    }
    
    .cv-section-title {
        font-size: 20px;
    }
    
    .cv-section-item {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
    
    .cv-item-icon {
        width: 45px;
        height: 45px;
        font-size: 24px;
    }
    
    .cv-photos-grid {
        grid-template-columns: 1fr;
    }
    
    .cv-photo-container {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .cv-header {
        padding: 25px 15px;
    }
    
    .cv-header-photo {
        width: 100px;
        height: 100px;
    }
    
    .cv-name {
        font-size: 24px;
    }
    
    .cv-body {
        padding: 20px 15px;
    }
    
    .cv-section-title {
        font-size: 18px;
    }
    
    .cv-item-value {
        font-size: 16px;
    }
}

/* Extra Large Devices (large desktops, 1441px and up) */
@media (min-width: 1441px) {
    .container {
        max-width: 1400px;
        padding: 0 60px;
    }

    .hero-content h2 {
        font-size: 56px;
    }

    .hero-content p {
        font-size: 20px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive Tables */
table {
    width: 100%;
    border-collapse: collapse;
    overflow-x: auto;
    display: block;
}

@media (min-width: 768px) {
    table {
        display: table;
    }
}

/* Prevent horizontal scroll on main elements */
body,
header,
main,
section,
footer,
div,
article,
aside {
    max-width: 100%;
    box-sizing: border-box;
}

/* Full width on mobile */
@media (max-width: 768px) {
    body {
        margin: 0;
        padding: 0;
        width: 100vw;
        overflow-x: hidden;
    }

    html {
        width: 100%;
        overflow-x: hidden;
    }

    section,
    header,
    footer {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}

/* Ensure all inputs are responsive */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="url"],
input[type="search"],
textarea,
select {
    max-width: 100%;
    box-sizing: border-box;
}

/* Responsive video and iframe */
video,
iframe,
embed {
    max-width: 100%;
    height: auto;
}

/* Selection */
::selection {
    background-color: rgba(37, 99, 235, 0.3);
    color: #ffffff;
}

/* What We Offer Section */
.what-we-offer {
    padding: 96px 0;
    background-color: var(--bg-white);
}

    .offer-list {
        max-width: 100%;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 24px;
        width: 100%;
    }

.offer-item {
    display: flex;
    gap: 20px;
    padding: 28px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(8, 145, 178, 0.03) 100%);
    border-radius: 16px;
    border: 1.5px solid rgba(37, 99, 235, 0.15);
    transition: all 0.3s ease;
    align-items: flex-start;
}

.offer-item:hover {
    transform: translateX(-4px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
    border-color: var(--water-blue);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(8, 145, 178, 0.05) 100%);
}

html[dir="ltr"] .offer-item:hover {
    transform: translateX(4px);
}

.offer-image {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    background: #f3f4f6;
    flex-shrink: 0;
    margin-left: 20px;
}

.offer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.offer-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--water-blue-dark) 0%, var(--water-teal) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 2px;
}

.offer-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.offer-content p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-gray);
}

/* Testimonials Section */
.testimonials {
    padding: 96px 0;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--light-bg) 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.testimonial-card {
    background-color: var(--bg-white);
    padding: 40px 32px;
    border-radius: 20px;
    border: 1.5px solid var(--border-light);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.2);
    border-color: var(--water-blue);
}

.testimonial-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    background: #f3f4f6;
    border: 3px solid var(--water-blue-dark);
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-icon {
    font-size: 32px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 28px;
    font-style: italic;
}

.testimonial-author {
    border-top: 1px solid var(--border-light);
    padding-top: 20px;
}

.testimonial-author h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.testimonial-author span {
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 500;
}

/* Inquiry Steps Styles */
.inquiry-step {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
}

.btn-back {
    background-color: transparent;
    color: var(--water-blue-light);
    border: 2px solid var(--water-blue-light);
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-back:hover {
    background-color: var(--water-blue-light);
    color: #000000;
    transform: translateY(-2px);
}

.btn-back:active {
    transform: translateY(0);
}

.student-info {
    text-align: right;
    direction: rtl;
}

html[dir="ltr"] .student-info {
    text-align: left;
    direction: ltr;
}

.student-info p {
    margin-bottom: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
}

.student-info p:last-child {
    border-bottom: none;
}

.student-info strong {
    color: var(--water-blue-light);
    margin-left: 10px;
}

html[dir="ltr"] .student-info strong {
    margin-left: 0;
    margin-right: 10px;
}

/* Search Results Table Styles */
.search-results-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.search-results-table thead tr {
    background: linear-gradient(135deg, #1e40af 0%, #0891b2 100%);
    color: white;
}

.search-results-table th {
    padding: 12px 16px;
    text-align: right;
    font-weight: 600;
    font-size: 0.95em;
}

html[dir="ltr"] .search-results-table th {
    text-align: left;
}

.search-results-table tbody tr {
    border-bottom: 1px solid #e5e7eb;
    transition: background-color 0.2s;
}

.search-results-table tbody tr:hover {
    background-color: #f0f9ff !important;
}

.search-results-table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

.search-results-table tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

.search-results-table td {
    padding: 12px 16px;
    text-align: right;
    font-size: 0.9em;
}

html[dir="ltr"] .search-results-table td {
    text-align: left;
}

.search-results-table td small {
    display: block;
    color: #6b7280;
    font-size: 0.85em;
    margin-top: 4px;
}

.search-results-table .status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: 500;
}

.search-results-table .status-completed {
    background-color: #d1fae5;
    color: #065f46;
}

.search-results-table .status-pending {
    background-color: #fef3c7;
    color: #92400e;
}

.search-results-table .action-link {
    display: inline-block;
    padding: 6px 12px;
    background: linear-gradient(135deg, #1e40af 0%, #0891b2 100%);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9em;
    transition: transform 0.2s, box-shadow 0.2s;
}

.search-results-table .action-link:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
}

@media (max-width: 768px) {
    .search-results-table {
        font-size: 0.85em;
    }
    
    .search-results-table th,
    .search-results-table td {
        padding: 8px 12px;
    }
    
    .search-results-table .action-link {
        padding: 4px 8px;
        font-size: 0.8em;
    }
}
