/* General Styling */
:root { --primary-blue: #0A2540; --secondary-gray: #F6F9FC; --text-color: #525F7F; --border-color: #E6E6E6; --yellow-accent: #FFC107; --white-color: #FFFFFF; --shadow-color: rgba(10, 37, 64, 0.05); }

/* Reset and Base Styles */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: 'Inter', sans-serif; line-height: 1.6; color: var(--text-color); background-color: var(--white-color); overflow-x: hidden; padding-top: 72px; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
h2 { font-size: 28px; font-weight: 600; color: var(--primary-blue); margin-bottom: 24px; }

/* Header and Navigation */
header { background-color: var(--white-color); border-bottom: 1px solid var(--border-color); padding: 16px 0; position: fixed; top: 0; width: 100%; z-index: 999; }
header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; font-weight: 600; font-size: 18px; color: var(--primary-blue); }
.logo-img { height: 40px; margin-right: 12px; }
nav ul { list-style-type: none; display: flex; gap: 8px; }
nav ul li a { text-decoration: none; color: var(--text-color); padding: 8px 16px; border: 1px solid var(--border-color); border-radius: 4px; transition: all 0.2s ease-in-out; font-weight: 500; font-size: 14px; }
nav ul li a:hover { background-color: var(--secondary-gray); color: var(--primary-blue); border-color: #d6d6d6; }
nav ul li a.active { background-color: var(--primary-blue); color: var(--white-color); border-color: var(--primary-blue); }

/* Hamburger Menu for Mobile */
.hamburger-menu { display: none; background: none; border: none; cursor: pointer; padding: 0; z-index: 1010; }
.hamburger-menu .bar { display: block; width: 25px; height: 3px; margin: 5px auto; background-color: var(--primary-blue); transition: all 0.3s ease-in-out; }

/* Hamburger to X Animation */
.hamburger-menu.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger-menu.active .bar:nth-child(2) { opacity: 0; }
.hamburger-menu.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }


/* Main Content & Sections */
main section { padding: 80px 0; border-bottom: 1px solid var(--border-color); }
main section:last-child { border-bottom: none; }

/* Welcome Section */
#welcome.container { display: flex; align-items: center; gap: 40px; padding-top: 80px; padding-bottom: 80px; }
.welcome-text { flex: 1; }
.welcome-text h2 { font-size: 32px; font-weight: 700; }
.welcome-text p { font-size: 16px; color: #8898AA; }
.welcome-placeholder { flex: 1.5; border-radius: 8px; height: 350px; display: flex; justify-content: center; align-items: center; color: #ccc; background-color: var(--secondary-gray); overflow: hidden; }
.welcome-placeholder img { width: 100%; height: 100%; object-fit: cover; }

/* About Us Brief Section */
#about-us-brief { background-color: var(--secondary-gray); }
.about-us-btn-container { text-align: center; }

/* Headquarters Section */
#headquarters { background-color: var(--secondary-gray); }
#headquarters h2, #portfolio h2 { text-align: left; }
.city-container { display: flex; justify-content: space-around; margin-top: 30px; }
.city-item { text-align: center; }
.city-circle { width: 140px; height: 140px; border-radius: 50%; margin: 0 auto 15px; transition: transform 0.3s ease, box-shadow 0.3s ease; background-size: cover; background-position: center; }
.city-circle:hover { transform: scale(1.05); box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.city-item p { font-weight: 600; color: var(--primary-blue); }

/* Message Us Section */
.form-section { display: flex; gap: 30px; margin-top: 20px; }
#message-form { flex: 1.2; border: 1px solid var(--border-color); border-radius: 6px; padding: 30px; box-shadow: 0 4px 15px var(--shadow-color); }
.form-output { flex: 1; border: 1px solid var(--border-color); padding: 24px; height: fit-content; background-color: var(--secondary-gray); border-radius: 6px; box-shadow: 0 4px 15px var(--shadow-color); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; font-size: 14px; color: var(--primary-blue); }
input[type="text"], input[type="date"], textarea { width: 100%; padding: 10px; border: 1px solid var(--border-color); border-radius: 4px; font-family: 'Inter', sans-serif; font-size: 15px; transition: border-color 0.2s, box-shadow 0.2s; }
input[type="text"]:focus, input[type="date"]:focus, textarea:focus { outline: none; border-color: var(--primary-blue); box-shadow: 0 0 0 3px rgba(10, 37, 64, 0.1); }
.radio-group input { margin-right: 5px; }
.radio-group label { display: inline-block; margin-right: 15px; font-weight: 400; font-size: 15px; }
button[type="submit"] { width: 100%; padding: 12px; background-color: var(--primary-blue); color: var(--white-color); border: none; border-radius: 4px; cursor: pointer; font-size: 15px; font-weight: 600; transition: background-color 0.2s; }
button[type="submit"]:hover { background-color: #081c33; }
.form-output p { margin-bottom: 12px; font-size: 14px; }
.form-output span { color: var(--text-color); }

/* Portfolio Section */
.portfolio-container { display: flex; justify-content: space-between; gap: 30px; margin-top: 20px; }
.portfolio-card { background-color: var(--white-color); border: 1px solid var(--border-color); border-radius: 6px; padding: 20px; box-shadow: 0 4px 15px var(--shadow-color); flex-basis: 31%; display: flex; flex-direction: column; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.portfolio-card:hover { transform: translateY(-8px); box-shadow: 0 8px 25px rgba(10, 37, 64, 0.1); }
.portfolio-card img { width: 100%; height: 200px; object-fit: cover; border-radius: 4px; margin-bottom: 15px; }
.portfolio-card h3 { font-size: 20px; font-weight: 600; color: var(--primary-blue); margin-bottom: 10px; }
.portfolio-card p { font-size: 15px; margin-bottom: 20px; flex-grow: 1; }
.portfolio-btn { display: inline-block; padding: 10px 15px; background-color: var(--primary-blue); color: var(--white-color); text-decoration: none; border-radius: 4px; text-align: center; font-weight: 500; transition: background-color 0.2s; margin-top: auto; }
.portfolio-btn:hover { background-color: #081c33; }

/* Partners Section */
#partners { background-color: var(--secondary-gray); }
.logo-slider { overflow: hidden; position: relative; width: 100%; margin-top: 30px; }
.logo-slider::before, .logo-slider::after { content: ''; position: absolute; top: 0; width: 100px; height: 100%; z-index: 2; }
.logo-slider::before { left: 0; background: linear-gradient(to left, rgba(246, 249, 252, 0), var(--secondary-gray)); }
.logo-slider::after { right: 0; background: linear-gradient(to right, rgba(246, 249, 252, 0), var(--secondary-gray)); }
.logo-track { display: flex; width: calc(250px * 14); animation: scroll 40s linear infinite; }
.logo-track:hover { animation-play-state: paused; }
.logo-track img { height: 60px; width: auto; margin: 0 45px; filter: grayscale(100%); opacity: 0.7; transition: filter 0.3s ease, opacity 0.3s ease; }
.logo-track img:hover { filter: grayscale(0%); opacity: 1; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-250px * 7)); } }

/* Name Input Modal Styling */
#name-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(10, 37, 64, 0.7); display: none; justify-content: center; align-items: center; z-index: 1000; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
#name-modal { background: var(--white-color); padding: 30px 35px; border-radius: 8px; box-shadow: 0 5px 25px var(--shadow-color); width: 90%; max-width: 400px; text-align: center; animation: fadeIn 0.3s ease-out; }
@keyframes fadeIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
#name-modal h3 { color: var(--primary-blue); font-size: 22px; margin-bottom: 10px; }
#name-modal p { margin-bottom: 20px; font-size: 15px; color: var(--text-color); }
#modal-name-input { width: 100%; padding: 12px; border: 1px solid var(--border-color); border-radius: 4px; font-family: 'Inter', sans-serif; font-size: 16px; margin-bottom: 20px; text-align: center; }
#modal-name-input:focus { outline: none; border-color: var(--primary-blue); box-shadow: 0 0 0 3px rgba(10, 37, 64, 0.1); }
#modal-submit-btn { width: 100%; padding: 12px; background-color: var(--primary-blue); color: var(--white-color); border: none; border-radius: 4px; cursor: pointer; font-size: 16px; font-weight: 600; transition: background-color 0.2s; }
#modal-submit-btn:hover { background-color: #081c33; }

/* Footer */
footer { background-color: var(--primary-blue); color: #a9b4c9; padding: 50px 0 0; border-top: none; }
.footer-content { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; padding-bottom: 40px; }
.footer-column { flex: 1; min-width: 220px; }
.footer-about .logo { margin-bottom: 15px; }
.footer-about .logo-text { color: var(--white-color); }
.footer-about .about-text { font-size: 14px; line-height: 1.7; }
.footer-column h3 { font-size: 18px; color: var(--white-color); margin-bottom: 20px; font-weight: 600; }
.footer-links ul { list-style-type: none; }
.footer-links ul li { margin-bottom: 12px; }
.footer-links ul li a { text-decoration: none; color: #a9b4c9; transition: color 0.2s ease-in-out, padding-left 0.2s ease-in-out; font-size: 15px; border: none; padding: 0; background: none; }
.footer-links ul li a:hover { color: var(--white-color); padding-left: 5px; }
.footer-contact p { margin-bottom: 10px; font-size: 15px; }
.footer-contact a { color: #a9b4c9; text-decoration: none; }
.footer-contact a:hover { color: var(--white-color); text-decoration: underline; }
.social-icons { display: flex; gap: 15px; }
.social-icons a { display: inline-block; width: 40px; height: 40px; background-color: rgba(255, 255, 255, 0.1); border-radius: 50%; display: flex; justify-content: center; align-items: center; transition: background-color 0.2s ease, transform 0.2s ease; font-size: 18px; }
.social-icons a:hover { background-color: rgba(255, 255, 255, 0.2); transform: scale(1.1); }
.social-icons a i { color: #a9b4c9; transition: color 0.2s ease; }
.social-icons a:hover i { color: var(--white-color); }
.footer-bottom { border-top: 1px solid #2c4a6b; text-align: center; padding: 20px 0; }
.footer-bottom p { font-size: 14px; color: #a9b4c9; }
.footer-bottom a { color: inherit; text-decoration: underline; transition: color 0.2s ease-in-out; }
.footer-bottom a:hover { color: var(--white-color); }

/* Services Section */
.section-title { text-align: center; margin-bottom: 15px; }
.section-subtitle { text-align: center; max-width: 600px; margin: 0 auto 40px auto; color: #8898AA; font-size: 16px; }
#services { background-color: var(--secondary-gray); }
.services-container { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.service-card { background-color: var(--white-color); border: 1px solid var(--border-color); border-radius: 8px; padding: 35px 30px; flex-basis: 31%; text-align: center; box-shadow: 0 4px 15px var(--shadow-color); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 10px 25px rgba(10, 37, 64, 0.1); }
.service-icon { font-size: 40px; color: var(--primary-blue); margin-bottom: 20px; }
.service-card h3 { font-size: 20px; color: var(--primary-blue); margin-bottom: 15px; }

/* Testimonials Section */
#testimonials { background-color: var(--white-color); }
.testimonials-container { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.testimonial-card { background-color: var(--secondary-gray); border-left: 5px solid var(--primary-blue); border-radius: 8px; padding: 30px; flex-basis: 48%; }
.testimonial-text { font-style: italic; color: var(--text-color); margin-bottom: 25px; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; }
.testimonial-author img { width: 60px; height: 60px; border-radius: 50%; margin-right: 15px; object-fit: cover; }
.author-info h4 { color: var(--primary-blue); margin-bottom: 3px; font-weight: 600; }
.author-info span { font-size: 14px; color: #8898AA; }

/* Back to Top Button */
.back-to-top { position: fixed; bottom: 35px; right: 35px; display: flex; justify-content: center; align-items: center; width: 45px; height: 45px; background-color: var(--primary-blue); color: var(--white-color); border-radius: 50%; text-decoration: none; font-size: 20px; opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s, background-color 0.3s; z-index: 1000; }
.back-to-top.active { opacity: 1; visibility: visible; }
.back-to-top:hover { background-color: #081c33; }

/* Profile Page Styles */
.profile-header { position: relative; text-align: center; color: white; padding: 0; }
.profile-banner-image { width: 100%; height: 400px; object-fit: cover; filter: brightness(0.5); }
.profile-banner-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; }
.profile-banner-overlay h1 { font-size: 52px; font-weight: 700; color: var(--white-color); margin: 0; text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5); }
.profile-content { padding-top: 80px; }
.profile-card { background-color: var(--white-color); border: 1px solid var(--border-color); border-radius: 6px; padding: 30px; margin-bottom: 30px; box-shadow: 0 4px 15px var(--shadow-color); }
.profile-card h2 { margin-top: 0; }
.profile-card ul { list-style-position: inside; padding-left: 5px; }
.profile-card ul li { margin-bottom: 8px; }

/* Vision & Mission Section */
.vision-mission-card { padding: 0; background: none; border: none; box-shadow: none; }
.vision-mission-container { display: flex; gap: 30px; flex-wrap: wrap; }
.vision-column, .mission-column { background-color: var(--white-color); border: 1px solid var(--border-color); border-radius: 6px; padding: 30px; box-shadow: 0 4px 15px var(--shadow-color); }
.vision-column { flex: 1; min-width: 300px; }
.mission-column { flex: 1.5; min-width: 300px; }
.vision-mission-container h3 { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 600; color: var(--primary-blue); margin-top: 0; margin-bottom: 20px; }
.vision-mission-container h3 i { color: var(--primary-blue); }

/* Values Section */
.values-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; margin-top: 20px; text-align: center; }
.value-icon { font-size: 36px; color: var(--primary-blue); margin-bottom: 15px; }
.value-item h4 { font-size: 18px; color: var(--primary-blue); margin-bottom: 8px; }
.value-item p { font-size: 14px; color: var(--text-color); line-height: 1.6; }

/* Responsive Design */
@media (max-width: 768px) {
    .container { padding: 0 15px; }
    h2 { font-size: 24px; }
    main section { padding: 40px 0; }
    nav { position: relative; }
    header .container { flex-direction: row; justify-content: space-between; gap: 15px; }
    .logo-text { display: none; }
    .hamburger-menu { display: block; }
    nav ul { display: flex; position: fixed; top: 0; left: -100%; width: 70%; height: 100vh; background-color: var(--white-color); flex-direction: column; align-items: flex-start; padding: 80px 20px 20px 20px; box-shadow: 2px 0 5px rgba(0,0,0,0.1); transition: left 0.3s ease-in-out; z-index: 1001; }
    nav ul.nav-active { left: 0; }
    nav ul li { width: 100%; text-align: left; }
    nav ul li a { padding: 15px; display: block; width: 100%; border: none; border-bottom: 1px solid var(--border-color); }
    nav ul li:last-child a { border-bottom: none; }
    #welcome.container { flex-direction: column; text-align: center; gap: 25px; padding-top: 40px; padding-bottom: 40px; }
    .welcome-text h2 { font-size: 28px; }
    .welcome-placeholder { height: 250px; width: 100%; }
    #headquarters h2, #portfolio h2 { text-align: center; }
    .city-container { flex-direction: column; align-items: center; gap: 30px; }
    .city-circle { width: 120px; height: 120px; }
    #message-us h2 { text-align: center; }
    .form-section { flex-direction: column; }
    #message-form { padding: 20px; }
    .portfolio-container, .testimonials-container { flex-direction: column; align-items: center; }
    .service-card, .testimonial-card { flex-basis: 100%; }
    .logo-track img { height: 45px; margin: 0 25px; }
    .footer-content { flex-direction: column; text-align: center; }
    .footer-about .logo, .social-icons { justify-content: center; }
    
    /* Profile Page Responsive */
    .profile-banner-image { height: 250px; }
    .profile-banner-overlay h1 { font-size: 36px; }
    .profile-content { padding-top: 40px; }
    .profile-card { padding: 20px; }
    .vision-mission-card { padding: 0; margin-bottom: 30px; border: none; box-shadow: none; background: none; }
    .vision-mission-container { flex-direction: column; gap: 30px; }
    .vision-column, .mission-column { padding: 20px; }

    /* Back to Top Button Responsive */
    .back-to-top { width: 50px; height: 50px; font-size: 24px; right: 30px; bottom: 30px; }
}

@media (max-width: 480px) {
    .welcome-text h2 { font-size: 24px; }
    .profile-banner-overlay h1 { font-size: 28px; }
    .welcome-placeholder { height: 200px; }
    nav ul { width: 80%; }
}