/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
}

/* Scroll offset for fixed navbar */
section[id] {
    scroll-margin-top: 80px;
}

body {
    font-family: 'Arial', sans-serif;
    overflow-x: hidden;
    background: #000;
    color: #fff;
}

/* Video Background */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.video-background video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 20, 40, 0.8) 100%);
    z-index: -1;
}

/* Main Container */
.main-container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.75rem 0;
    transition: all 0.3s ease;
}

.navbar {
    padding: 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
}

.logo-img {
    width: 35px;
    height: 35px;
    margin-right: 8px;
    border-radius: 5px;
}

.logo-text {
    font-size: 1.3rem;
    font-weight: bold;
    color: #fff;
}

.navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 500;
    margin: 0 0.25rem;
    padding: 0.5rem 0.75rem !important;
    border-radius: 5px;
    position: relative;
    white-space: nowrap;
    font-size: 0.9rem;
}

.navbar-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.navbar-toggler {
    border: none;
    color: #fff;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Language Selection Buttons */
.language-buttons {
    position: fixed;
    right: 1rem;
    top: 1rem;
    display: flex;
    gap: 0.5rem;
    z-index: 1002;
    pointer-events: auto;
}

.language-btn {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    min-width: 40px;
}

.language-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.language-btn.active {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Main Content */
.main-content {
    padding-top: 100px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* AI Head Container */
.ai-head-container {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.ai-head {
    position: relative;
    width: 250px;
    height: 300px;
    background: transparent;
}

.ai-head::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(0, 150, 255, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(0, 200, 255, 0.2) 0%, transparent 50%);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: aiGlow 3s ease-in-out infinite alternate;
}

.ai-head::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 20%;
    width: 60%;
    height: 60%;
    background: linear-gradient(45deg, transparent 30%, rgba(0, 150, 255, 0.1) 50%, transparent 70%);
    border-radius: 50%;
    animation: aiPulse 2s ease-in-out infinite;
}

@keyframes aiGlow {
    0% {
        box-shadow: 0 0 20px rgba(0, 150, 255, 0.3),
                    0 0 40px rgba(0, 150, 255, 0.2),
                    0 0 60px rgba(0, 150, 255, 0.1);
    }
    100% {
        box-shadow: 0 0 30px rgba(0, 150, 255, 0.5),
                    0 0 60px rgba(0, 150, 255, 0.3),
                    0 0 90px rgba(0, 150, 255, 0.2);
    }
}

@keyframes aiPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.6;
    }
}

/* Content Text */
.content-text {
    text-align: center;
    padding: 2rem;
}

.descriptive-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-weight: 300;
}

.main-headline {
    font-size: 3rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 2rem;
    text-shadow: 0 0 20px rgba(0, 150, 255, 0.5);
    animation: textGlow 2s ease-in-out infinite alternate;
}

@keyframes textGlow {
    0% {
        text-shadow: 0 0 20px rgba(0, 150, 255, 0.5);
    }
    100% {
        text-shadow: 0 0 30px rgba(0, 150, 255, 0.8),
                     0 0 40px rgba(0, 150, 255, 0.6);
    }
}

.cta-container {
    margin-top: 2rem;
}

.cta-button {
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    color: #333 !important;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background: linear-gradient(45deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.9));
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Binary Animation removed */

/* AI Head Particles */
.ai-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(0, 150, 255, 0.8);
    border-radius: 50%;
    animation: particleFloat 4s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20px) scale(1.2);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .navbar-nav .nav-link {
        font-size: 0.85rem;
        padding: 0.4rem 0.6rem !important;
        margin: 0 0.2rem;
    }
}

@media (max-width: 992px) {
    .navbar-nav .nav-link {
        font-size: 0.8rem;
        padding: 0.3rem 0.5rem !important;
        margin: 0 0.1rem;
    }
}

@media (max-width: 768px) {
    .header {
        background: rgba(0, 0, 0, 0.4);
        padding: 0.5rem 0;
    }
    
    .navbar {
        padding: 0;
        flex-direction: row;
        align-items: center;
        position: relative;
    }
    
    .navbar-brand {
        order: 2;
        flex: 1;
        text-align: center;
        margin: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .navbar-brand .logo-img {
        height: 30px;
        margin-right: 0.5rem;
    }
    
    .navbar-brand .logo-text {
        font-size: 1.1rem;
    }
    
    .navbar-toggler {
        order: 1;
        margin-right: auto;
        margin-left: 0;
        border: 2px solid rgba(255, 255, 255, 0.3);
        padding: 0.4rem 0.6rem;
    }
    
    .language-buttons {
        position: fixed;
        right: 1rem;
        top: 0.8rem;
        display: flex;
        gap: 0.3rem;
        z-index: 1002;
        pointer-events: auto;
    }
    
    .language-btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
        min-width: 35px;
    }
    
    .navbar-collapse {
        order: 3;
        width: 100%;
        margin-top: 1rem;
    }
    
    .main-headline {
        font-size: 2rem;
    }
    
    .descriptive-text {
        font-size: 1rem;
    }
    
    .ai-head-container {
        height: 250px;
        margin-bottom: 1rem;
    }
    
    .ai-head {
        width: 180px;
        height: 200px;
    }
    
    .navbar-nav {
        background: rgba(0, 0, 0, 0.9);
        padding: 1rem;
        border-radius: 10px;
        margin-top: 1rem;
        backdrop-filter: blur(10px);
    }
    
    .navbar-nav .nav-link {
        font-size: 0.9rem;
        padding: 0.5rem 1rem !important;
        margin: 0.2rem 0;
        text-align: center;
        border-radius: 5px;
        transition: background-color 0.2s ease;
    }
    
    .navbar-nav .nav-link:hover {
        background: rgba(255, 255, 255, 0.1);
    }
    
    .navbar-nav .btn {
        margin: 0.2rem 0;
        width: 100%;
        justify-content: center;
    }
    
    .navbar-toggler {
        border: 2px solid rgba(255, 255, 255, 0.3);
        padding: 0.5rem;
    }
    
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
}

@media (max-width: 576px) {
    .main-headline {
        font-size: 1.5rem;
    }
    
    .content-text {
        padding: 1rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .content-block {
        padding: 3rem 0;
        margin: 1rem 0;
    }
    
    .content-block:nth-child(even) .row {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 2.2rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .section-description {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .content-text-block {
        padding: 2rem 1.5rem;
        text-align: center;
        margin-top: 1rem;
    }
    
    .content-image {
        margin-bottom: 1rem;
    }
    
    .content-image img {
        height: 280px;
    }
}

/* Loading Animation */
.loading {
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Content Sections */
.content-sections {
    position: relative;
    background: url('../image/background_2.jpg') center center/cover no-repeat;
    min-height: 100vh;
    overflow: hidden;
}

.content-sections::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 20, 40, 0.3) 50%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}



/* Content Blocks */
.content-block {
    position: relative;
    padding: 3rem 0;
    z-index: 2;
    margin: 1rem 0;
}

.content-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(0, 150, 255, 0.8), transparent);
    border-radius: 2px;
}

.content-block:nth-child(even) .row {
    flex-direction: row-reverse;
}

.content-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.content-image:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 150, 255, 0.3), 0 0 0 1px rgba(0, 150, 255, 0.3);
}

.content-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: all 0.4s ease;
    filter: brightness(0.9) contrast(1.1);
}

.content-image:hover img {
    transform: scale(1.08);
    filter: brightness(1) contrast(1.2);
}

.content-text-block {
    padding: 3rem 2rem;
    color: #fff;
    position: relative;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2rem;
    position: relative;
    text-shadow: 0 0 30px rgba(0, 150, 255, 0.5);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, rgba(0, 150, 255, 1), rgba(0, 200, 255, 0.8), transparent);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(0, 150, 255, 0.5);
}

.section-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0;
    font-weight: 300;
    letter-spacing: 0.01em;
}



/* Partners Section */
.partners-section {
    background: #f8f9fa;
    padding: 5rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.partners-title {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    position: relative;
}

.partners-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, rgba(0, 150, 255, 1), rgba(0, 200, 255, 0.8));
    border-radius: 2px;
}

.partners-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 0;
    font-weight: 300;
}

.partner-block {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.partner-block:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.partner-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.partner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.partner-block:hover .partner-image img {
    transform: scale(1.05);
}

.partner-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.partner-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.partner-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
    flex-grow: 1;
}

/* Responsive Design for Partners */
@media (max-width: 768px) {
    .partners-section {
        padding: 3rem 0;
    }
    
    .partners-title {
        font-size: 2.2rem;
    }
    
    .partners-subtitle {
        font-size: 1.1rem;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .partner-content {
        padding: 1.5rem;
    }
    
    .partner-title {
        font-size: 1.3rem;
    }
    
    .partner-description {
        font-size: 0.95rem;
    }
}

/* Smart System Section */
.smart-system-section {
    background: #1a1a1a;
    padding: 5rem 0;
    position: relative;
    color: #fff;
}

.smart-system-section .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.system-title {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    position: relative;
}

.system-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, rgba(0, 150, 255, 1), rgba(0, 200, 255, 0.8));
    border-radius: 2px;
}

.system-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    font-weight: 300;
}

.system-blocks {
    max-width: 1200px;
    margin: 0 auto;
}

.system-block {
    margin-bottom: 4rem;
    padding: 2rem 0;
}

.system-block:last-child {
    margin-bottom: 0;
}

.system-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.system-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(0, 150, 255, 0.2);
}

.system-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.system-image:hover img {
    transform: scale(1.05);
}

.system-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.system-block-title {
    font-size: 2.2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.system-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.system-btn {
    background: transparent;
    border: 2px solid rgba(0, 150, 255, 0.8);
    color: rgba(0, 150, 255, 0.8);
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.system-btn:hover {
    background: rgba(0, 150, 255, 0.8);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 150, 255, 0.3);
}

/* Responsive Design for Smart System */
@media (max-width: 768px) {
    .smart-system-section {
        padding: 3rem 0;
    }
    
    .system-title {
        font-size: 2.2rem;
    }
    
    .system-subtitle {
        font-size: 1.1rem;
    }
    
    .system-block {
        margin-bottom: 3rem;
        padding: 1rem 0;
    }
    
    .system-content {
        padding: 1.5rem;
        text-align: center;
    }
    
    .system-block-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .system-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .system-btn {
        align-self: center;
    }
    
    .system-image img {
        height: 250px;
    }
}

/* Products and Services Section */
.products-section {
    background: #fff;
    padding: 5rem 0;
    position: relative;
    color: #333;
}

.products-section .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.products-title {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    position: relative;
}

.products-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, rgba(0, 150, 255, 1), rgba(0, 200, 255, 0.8));
    border-radius: 2px;
}

.products-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 0;
    font-weight: 300;
}

.products-blocks {
    max-width: 1200px;
    margin: 0 auto;
}

.product-block {
    margin-bottom: 2.5rem;
    padding: 1.5rem 0;
}

.product-block:last-child {
    margin-bottom: 0;
}

.product-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.product-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.product-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.product-image:hover img {
    transform: scale(1.05);
}

.product-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.product-title {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.product-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Responsive Design for Products */
@media (max-width: 768px) {
    .products-section {
        padding: 3rem 0;
    }
    
    .products-title {
        font-size: 2.2rem;
    }
    
    .products-subtitle {
        font-size: 1.1rem;
    }
    
    .product-block {
        margin-bottom: 3rem;
        padding: 1rem 0;
    }
    
    .product-content {
        padding: 1.5rem;
        text-align: center;
    }
    
    .product-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .product-description {
        font-size: 1rem;
    }
    
    .product-image img {
        height: 200px;
    }
}

/* Vision Section */
.vision-section {
    background: #2c2c2c;
    padding: 4rem 0;
    position: relative;
}

.vision-block {
    margin-bottom: 4rem;
    padding: 2rem 0;
}

.vision-block:last-child {
    margin-bottom: 0;
}

.vision-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.vision-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.vision-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.vision-image:hover img {
    transform: scale(1.05);
}

.vision-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.vision-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    position: relative;
    line-height: 1.2;
}

.vision-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, rgba(0, 150, 255, 1), rgba(0, 200, 255, 0.8));
    border-radius: 2px;
}

.vision-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 0;
    font-weight: 300;
}

/* Responsive Design for Vision Section */
@media (max-width: 768px) {
    .vision-section {
        padding: 3rem 0;
    }
    
    .vision-block {
        margin-bottom: 3rem;
        padding: 1.5rem 0;
    }
    
    .vision-content {
        padding: 1.5rem;
        text-align: center;
    }
    
    .vision-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .vision-description {
        font-size: 1rem;
    }
    
    .vision-image img {
        height: 250px;
    }
}

/* Contact Section */
.contact-section {
    background: #fff;
    padding: 5rem 0;
    position: relative;
}

.contact-section .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-title {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    position: relative;
}

.contact-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, rgba(0, 150, 255, 1), rgba(0, 200, 255, 0.8));
    border-radius: 2px;
}

.contact-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 0;
    font-weight: 300;
}

/* Contact Form */
.contact-form-container {
    padding: 2rem;
}

.contact-form {
    max-width: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
    font-size: 1rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
}

.form-control:focus {
    outline: none;
    border-color: rgba(0, 150, 255, 0.8);
    box-shadow: 0 0 0 3px rgba(0, 150, 255, 0.1);
}

.form-control::placeholder {
    color: #999;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.contact-submit {
    background: linear-gradient(45deg, rgba(0, 150, 255, 0.9), rgba(0, 200, 255, 0.8));
    border: none;
    color: #fff;
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-submit:hover {
    background: linear-gradient(45deg, rgba(0, 150, 255, 1), rgba(0, 200, 255, 0.9));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 150, 255, 0.3);
}

/* Map */
.contact-map-container {
    padding: 2rem;
}

.map-info {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.map-icon {
    margin-right: 1rem;
    color: rgba(0, 150, 255, 0.8);
    font-size: 1.2rem;
}

.map-address {
    font-size: 1rem;
    color: #333;
    font-weight: 500;
}

.map-wrapper {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.map-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.map-wrapper iframe {
    display: block;
    border-radius: 15px;
}

/* Responsive Design for Contact */
@media (max-width: 768px) {
    .contact-section {
        padding: 3rem 0;
    }
    
    .contact-title {
        font-size: 2.2rem;
    }
    
    .contact-subtitle {
        font-size: 1.1rem;
    }
    
    .contact-form-container,
    .contact-map-container {
        padding: 1rem;
    }
    
    .map-info {
        flex-direction: column;
        text-align: center;
    }
    
    .map-icon {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .map-wrapper iframe {
        height: 300px;
    }
}

/* Footer */
.footer {
    background: #1a1a1a;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    text-align: center;
}

.footer-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
    font-weight: 300;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 150, 255, 0.6);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 150, 255, 0.8);
}
