/* --- Global Setup & Variables --- */
:root {
    --primary-color: #2085a7;
    --secondary-color: #e8634a;
    --dark-text: #333;
    --light-text: #555;
    --bg-light: #FFFFFF;
    --bg-soft-gray: #F8F9FA;
    --font-family: 'Poppins', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-family); color: var(--dark-text); line-height: 1.6; background: var(--bg-light); }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.section-title { text-align: center; font-size: 2.5rem; color: var(--primary-color); margin-bottom: 50px; font-weight: 600; }

.btn { display: inline-block; padding: 12px 28px; border-radius: 50px; text-decoration: none; font-weight: 600; transition: all 0.3s ease; }
.btn-primary { background-color: var(--secondary-color); color: white; }
.btn-primary:hover { background-color: #b3397c; transform: translateY(-2px); }
.btn-secondary { background-color: white; color: var(--dark-text); }
.btn-secondary:hover { background-color: #f1f1f1; transform: translateY(-2px); }

.learn-more { color: var(--secondary-color); text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.learn-more:hover { text-decoration: underline; }

/* --- Top Bar --- */
.top-bar { background: var(--primary-color); padding: 8px 0; color: white; font-size: 0.8rem; }
.top-bar .container { display: flex; justify-content: center; align-items: center; }
.top-bar-content { display: flex; align-items: center; gap: 30px; flex-direction: row; flex-wrap: nowrap; }
.top-bar a { color: white; text-decoration: none; margin-right: 10px; display: flex; align-items: center; transition: opacity 0.3s ease;}
.top-bar a:hover { text-decoration: underline; opacity: 0.8; }
.top-bar i { margin-right: 5px; }

/* --- Header & Navigation --- */
.header { background: white; padding: 15px 0; position: sticky; top: 0; width: 100%; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.header .container { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 50px; }
.main-nav ul { list-style: none; display: flex; }
.main-nav ul li { margin-left: 30px; }
.main-nav ul li a { text-decoration: none; color: var(--dark-text); font-weight: 500; position: relative; padding-bottom: 5px; }
.main-nav ul li a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background-color: var(--primary-color); transition: width 0.3s ease; }
.main-nav ul li a:hover::after { width: 100%; }
.btn-contact { border: 1px solid var(--dark-text); color: var(--dark-text); padding: 8px 24px; }
.btn-contact:hover { background-color: var(--dark-text); color: white; }
.menu-toggle { display: none; }

/* --- Hero Slider Section --- */
.hero-slider { height: 85vh; position: relative; overflow: hidden; color: white; }
.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; display: flex; justify-content: center; align-items: center; text-align: center; opacity: 0; transition: opacity 1.5s ease; }
.slide.active { opacity: 1; z-index: 1; }
.slide::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.45); }
.hero-content { z-index: 2; padding: 20px; }
.hero-content h1 { font-size: 2.8rem; font-weight: 700; max-width: 700px; margin-bottom: 20px; line-height: 1.3; }
.hero-content p { font-size: 1.2rem; margin-bottom: 25px; }

/* --- Intro Section --- */
.intro-section { padding: 100px 0; background: white; }
.intro-text h2 { font-size: 2.8rem; color: var(--primary-color); margin-bottom: 20px; line-height: 1.2; font-weight: 600; }
.intro-text h3 { font-size: 2rem; color: var(--primary-color); margin-bottom: 20px; line-height: 1.2; font-weight: 600; }
.intro-text p { font-size: 1rem; color: var(--light-text); }
.intro-images { position: relative; height: 450px; }
.intro-images img { position: absolute; border-radius: 5px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); object-fit: cover; transition: transform 0.3s ease; border: 12px solid white; }
.intro-images img:hover { transform: scale(1.05) !important; z-index: 10 !important; }
.intro-images .img-1 { width: 60%; height: 250px; top: 0; left: 0; transform: rotate(-4deg); z-index: 1; }
.intro-images .img-2 { width: 60%; height: 250px; bottom: 0; right: 0; transform: rotate(5deg); z-index: 2;}

/* --- Services Section --- */
.services-section { padding: 80px 0; background: var(--bg-soft-gray); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; justify-content: center; }
.service-card { background: white; padding: 40px; text-align: center; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); display: flex; flex-direction: column; }
.service-card img { height: 120px; object-fit: contain; align-self: center;}
.service-card h3 { font-size: 1.5rem; color: var(--dark-text); margin-bottom: 10px; font-weight: 600; }
.service-card p { color: var(--light-text); margin-bottom: 20px; }
.service-card .learn-more { margin-top: auto; padding-top: 15px; color: #f06a6a;}

/* --- Office Gallery --- */
.resource { padding: 40px 0; text-align: center; }
.resource-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 40px; }
.resource-grid img { width: 100%; border-radius: 10px; object-fit: cover; }

/* --- About Teaser --- */
.about-teaser-section { padding: 80px 0; background: var(--bg-soft-gray); }
.about-image img { width: 60%; border-radius: 10px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); align-content: center; align-self: center; }
.about-text h2 { font-size: 2.8rem; color: var(--dark-text); margin-bottom: 20px; font-weight: 600; }
.about-text p { font-size: 1.1rem; color: var(--light-text); margin-bottom: 20px; }

/* --- CTA Section --- */
.cta-section { background: var(--primary-color); color: white; padding: 60px 0; text-align: center; position: relative; background-image: linear-gradient(rgba(33, 196, 164, 0.0), rgba(33, 196, 164, 0.0)), url('/images/background-2.png');
background-size: cover; background-position: center center; background-repeat: no-repeat; }
.cta-section h2 { font-size: 2.5rem; margin-bottom: 30px; font-weight: 600; }
.btn-cta { margin: 0 10px; background: white; color: var(--dark-text); border: 1px solid white; }
.btn-cta:hover { background: transparent; color: white; }
.btn-cta i { margin-right: 8px; }

/* --- Footer --- */
.footer { background: #fdfdfd; color: var(--light-text); padding: 60px 0 20px; border-top: 1px solid #eee; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-bottom: 40px; }
.footer-grid > *:not(:first-child):not(:last-child) { border-left: 1px solid #eee; padding-left: 40px; margin-bottom: 40px; }
.footer-logo { height: 200px; margin-bottom: 10px; }
.footer-tagline { font-size: 0.9rem; }
.footer-address { border-left: 1px solid #eee; padding-left: 40px; }
.footer-address h4 { color: var(--dark-text); font-size: 1.2rem; margin-bottom: 15px; font-weight: 600; }
.footer-address p, .footer-address a { font-size: 0.9rem; margin-bottom: 10px; text-decoration: none; color: var(--light-text); }
.footer-address a:hover { color: var(--secondary-color); }
.footer-address i { color: var(--primary-color); margin-right: 10px; width: 20px; }
.footer-col h4 { color: var(--dark-text); font-size: 1.2rem; margin-bottom: 15px; font-weight: 600; }
.footer-col p, .footer-col a { font-size: 0.9rem; margin-bottom: 10px; text-decoration: none; color: var(--light-text); }
.footer-col a:hover { color: var(--secondary-color); }
.footer-col i { color: var(--primary-color); margin-right: 10px; width: 20px; }
.footer-social a { display: block; }
.footer-bottom { grid-column: 1 /-1; display: flex; justify-content: center; align-items: center; font-size: 0.8rem; color: #888; text-align: center;}
.footer-bottom a { color: var(--secondary-color); text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }

/* --- Responsiveness --- */
@media (max-width: 992px) {
    .top-bar .contact-info, .top-bar .social-links { font-size: 0.7rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    h1 { font-size: 2.2rem !important; }
    h2 { font-size: 2rem !important; }
    .grid, .services-grid, .gallery-grid, .footer-grid { grid-template-columns: 1fr; }
    .top-bar { display: none; }
    
    .main-nav { position: absolute; top: 80px; left: 0; width: 100%; background: white; max-height: 0; overflow: hidden; transition: max-height 0.5s ease-out; box-shadow: 0 5px 10px rgba(0,0,0,0.1); }
    .main-nav.active { max-height: 300px; }
    .main-nav ul { flex-direction: column; }
    .main-nav ul li { margin: 15px 20px; }
    .header .btn-contact { display: none; }
    .menu-toggle { display: block; cursor: pointer; }
    .hamburger { width: 25px; height: 3px; background: var(--dark-text); position: relative; transition: all 0.3s ease; }
    .hamburger::before, .hamburger::after { content: ''; position: absolute; width: 25px; height: 3px; background: var(--dark-text); left: 0; transition: all 0.3s ease; }
    .hamburger::before { top: -8px; }
    .hamburger::after { bottom: -8px; }

    .intro-images { height: auto; margin-top: 30px; }
    .intro-images img { position: relative; width: 100%; height: auto; margin-bottom: 15px; }
    .about-image { order: 2; text-align: center; }
    .about-text { order: 1; text-align: center; }
    .about-image img { margin: 0 auto; display: block; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-grid > *:not(:first-child):not(:last-child) { text-align: center; border-left: none; padding-left: 0;}
    .footer-col i { display: inline-flex; } /* Hide icons for cleaner mobile view */
    .footer-img, .footer-col { text-align: center;}
    .footer-logo { margin: 0 auto;height: auto ;max-width: 100%; }
    .footer-bottom { flex-direction: column; gap: 10px; }
}