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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Hero Language Selector with Flags */
.hero-language-selector {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.language-flag {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.language-flag .flag {
    font-size: 2rem;
    line-height: 1;
}

.language-flag:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.language-flag.active {
    background: rgba(255, 215, 0, 0.3);
    border-color: #ffd700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

/* Header */
.header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-image {
    height: 50px;
    width: auto;
    filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(288deg) brightness(102%) contrast(102%);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo h2 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
}

.tagline {
    color: #ffd700;
    font-size: 0.9rem;
    font-weight: 300;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #ffd700;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding-top: 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 20%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: url('images/hero1.webp') center center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.hero::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 20%;
    transform: translate(50%, -50%);
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: url('images/hero2.webp') center center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

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

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-transform: uppercase;
}

.hero-content h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
    color: #ffd700;
}

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

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: #ffd700;
    color: #1e3c72;
}

.btn-primary:hover {
    background: #ffed4e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #1e3c72;
    transform: translateY(-2px);
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.1);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.feature .icon {
    font-size: 1.5rem;
}

/* Sections */
section {
    padding: 5rem 0;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e3c72;
    font-weight: 700;
}

/* Services Section */
.services {
    background: #f8f9fa;
}

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

.service-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: #1e3c72;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    margin-bottom: 1.5rem;
    color: #666;
}

.service-card ul {
    list-style: none;
    text-align: left;
}

.service-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 1.5rem;
}

.service-card li:before {
    content: "✓";
    color: #ffd700;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Areas Section */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.area-card {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

.area-card:hover {
    transform: translateY(-5px);
}

.area-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #ffd700;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info h3,
.contact-form h3 {
    color: #1e3c72;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.contact-item .icon {
    font-size: 1.5rem;
    min-width: 30px;
}

.contact-item a {
    color: #1e3c72;
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    color: #ffd700;
}

/* Map Styles */
.map-container {
    position: relative;
    margin: 2rem 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.map-container {
    height: 100%;
    display: flex;
    align-items: stretch;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
    min-height: 400px;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #1e3c72;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ffd700;
}

/* Footer */
.footer {
    background: #1e3c72;
    color: #fff;
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    color: #ffd700;
    margin-bottom: 1rem;
}

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

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

.footer-section a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ffd700;
}

/* Custom footer icons for better contrast */
.footer-section .phone-icon::before {
    content: "📞";
    margin-right: 0.5rem;
    color: transparent;
    text-shadow: 0 0 0 #ffffff;
}

.footer-section .email-icon::before {
    content: "✉️";
    margin-right: 0.5rem;
}

.footer-section .location-icon::before {
    content: "📍";
    margin-right: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #2a5298;
}

@media (max-width: 1979px) {
    .hero::before {
        left: 15%;
    }

    .hero::after {
        right: 15%;
    }
}

/* Responsive Design */
@media (max-width: 1399px) {
    .hero::before,
    .hero::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-language-selector {
        gap: 0.8rem;
        margin-bottom: 1.5rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .nav-menu a {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        display: block;
        width: 100%;
        text-align: center;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .hero {
        padding-top: 120px;
    }
    
    .hero::before,
    .hero::after {
        display: none;
    }
    

    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.4rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid,
    .areas-grid {
        grid-template-columns: 1fr;
    }
    
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 1rem;
    }
    
    .hero-language-selector {
        gap: 0.6rem;
        margin-bottom: 1rem;
    }
    
    .language-flag {
        width: 50px;
        height: 50px;
    }
    
    .language-flag .flag {
        font-size: 1.2rem;
    }
    
    .hero::before,
    .hero::after {
        display: none;
    }

    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.2rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    section h2 {
        font-size: 2rem;
    }
}

/* iPhone 13 and similar devices */
@media (max-width: 390px) {
    .nav-container {
        padding: 0.7rem 0.8rem;
    }
    
    .logo h2 {
        font-size: 1.05rem;
    }
    
    .tagline {
        font-size: 0.65rem;
    }
    
    .hero-language-selector {
        gap: 0.5rem;
        margin-bottom: 1.5rem;
        margin-top: 0.5rem;
    }
}

/* Very small devices (iPhone SE, iPhone 13 mini) */
@media (max-width: 375px) {
    .nav-container {
        padding: 0.8rem 1rem;
    }
    
    .logo h2 {
        font-size: 1.1rem;
    }
    
    .tagline {
        font-size: 0.7rem;
    }
    

    
    .hero-language-selector {
        gap: 0.5rem;
        margin-bottom: 1.5rem;
        margin-top: 0.5rem;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .hero-content h2 {
        font-size: 1.1rem;
        line-height: 1.3;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
}

/* Extra small devices (iPhone SE 1st gen) */
@media (max-width: 320px) {

    
    .hero-language-selector {
        gap: 0.4rem;
        margin-bottom: 1rem;
    }
    
    .hero-content h1 {
        font-size: 1.6rem;
    }
    
    .hero-content h2 {
        font-size: 1rem;
    }
    
    .hero-content p {
        font-size: 0.85rem;
    }
}

/* Landscape mode on mobile devices */
@media (max-height: 500px) and (orientation: landscape) {
    .nav-container {
        padding: 0.5rem 0.8rem;
    }
    
    .logo h2 {
        font-size: 0.95rem;
    }
    
    .tagline {
        font-size: 0.6rem;
    }
    
    .hero {
        padding-top: 80px; /* Reduced padding for landscape */
    }
    
    .hero-language-selector {
        gap: 0.4rem;
        margin-bottom: 1rem;
        margin-top: 0.3rem;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-content h2 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-content p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
}

/* Very small landscape devices */
@media (max-height: 400px) and (orientation: landscape) {
    .nav-container {
        padding: 0.4rem 0.6rem;
    }
    
    .logo h2 {
        font-size: 0.85rem;
    }
    
    .tagline {
        font-size: 0.55rem;
    }
    
    .hero {
        padding-top: 70px;
    }
    
    .hero-language-selector {
        gap: 0.3rem;
        margin-bottom: 0.8rem;
        margin-top: 0.2rem;
    }
    
    .hero-content h1 {
        font-size: 1.3rem;
        margin-bottom: 0.3rem;
    }
    
    .hero-content h2 {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }
    
    .hero-content p {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
    }
}

/* Performance Optimizations */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .header,
    .nav,
    .hero-buttons,
    .contact-form {
        display: none;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .service-card,
    .area-card {
        break-inside: avoid;
    }
} 