/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: #333;
    overflow-x: hidden;
    font-size: 18px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 25px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    flex: 0 0 auto;
}

.logo img {
    height: 70px;
    width: auto;
}

.navigation {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 40px;
}

.nav-menu li {
    margin: 0;
}

.navigation a {
    color: #2A3E76;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    padding: 15px 25px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navigation a:hover {
    background: #2A3E76;
    color: white;
    transform: translateY(-2px);
}

/* BIP Menu Item */
.bip-menu-item a {
    padding: 8px 15px !important;
    background: none !important;
}

.bip-menu-item a:hover {
    background: #f8f9fa !important;
    color: inherit !important;
    transform: translateY(-2px);
}

.bip-logo {
    height: 35px;
    width: auto;
    transition: transform 0.3s ease;
}

.bip-menu-item:hover .bip-logo {
    transform: scale(1.1);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: #2A3E76;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Hero Section with Parallax */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    z-index: -1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    will-change: transform;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 3rem;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.8);
    color: white;
    animation: fadeInUp 1s ease-out;
    line-height: 1.2;
}

.nowrap {
    white-space: nowrap;
}

.cta-button {
    background: #2A3E76;
    color: white;
    border: none;
    padding: 20px 40px;
    font-size: 1.4rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.cta-button:hover {
    background: #1a2952;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(42, 62, 118, 0.4);
}

/* About Section */
.about {
    padding: 120px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-align: justify;
    color: #555;
    line-height: 1.8;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.15);
}

/* Slider Section */
.slider-section {
    padding: 120px 0;
    background: #f8f9fa;
}

.slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f8f9fa;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(42, 62, 118, 0.8);
    color: white;
    border: none;
    padding: 20px 25px;
    font-size: 1.4rem;
    cursor: pointer;
    transition: background 0.3s ease;
    z-index: 10;
    border-radius: 8px;
}

.slider-btn:hover {
    background: rgba(42, 62, 118, 1);
}

.prev-btn {
    left: 30px;
}

.next-btn {
    right: 30px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
}

.dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active,
.dot:hover {
    background: white;
}

/* Recruitment Section */
.recruitment {
    padding: 120px 0;
    background: #2A3E76;
    color: white;
    text-align: center;
}

.recruitment h2 {
    font-size: 3.5rem;
    margin-bottom: 3rem;
    font-weight: 700;
}

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

.recruitment-content p {
    font-size: 1.4rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.recruitment-content p:first-child {
    font-size: 1.6rem;
    margin-bottom: 2rem;
}

.recruitment-fees {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    backdrop-filter: blur(10px);
}

.recruitment-fees h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 600;
}

.recruitment-fees ul {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 800px;
    margin: 0 auto;
}

.recruitment-fees li {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    text-align: left;
}

.recruitment-fees li:before {
    content: "•";
    color: white;
    font-size: 1.5rem;
    position: absolute;
    left: 0.5rem;
    top: -0.1rem;
}

/* Gallery Section */
.gallery {
    padding: 120px 0;
    background: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(42, 62, 118, 0.9));
    color: white;
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
}

/* Map Section */
.map {
    padding: 120px 0 0 0;
    background: #f8f9fa;
}

.map h2 {
    text-align: center;
    color: #2A3E76;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
}

/* Contact Information */
.contact-info {
    margin-bottom: 40px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.contact-item {
    background: #2A3E76;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(42, 62, 118, 0.3);
    text-align: center;
    transition: transform 0.3s ease;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-item h3 {
    color: white;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.contact-item p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.contact-item .phone-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 2px 4px;
    border-radius: 4px;
}

.contact-item .phone-link:hover {
    color: white;
    text-decoration: underline;
    background: rgba(255, 255, 255, 0.1);
}

.map-container {
    width: 100%;
    margin: 40px 0 0 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
    display: block;
}

/* Footer */
.footer {
    background: #2A3E76;
    color: white;
    padding: 40px 0;
}

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

.copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.5;
}

.footer-section h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: 600;
    color: white;
}

.footer-section p {
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

/* Phone Link Styling */
.phone-link {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.phone-link:hover {
    color: white;
    text-decoration: underline;
}

/* Mobile phone link enhancement */
@media (max-width: 768px) {
    .phone-link {
        font-size: 1.2rem;
        font-weight: 700;
        padding: 4px 8px;
        border-radius: 6px;
        background: rgba(255, 255, 255, 0.15);
        color: white !important;
        text-decoration: none;
        display: inline-block;
        margin: 2px 0;
    }
    
    .phone-link:hover {
        background: rgba(255, 255, 255, 0.25);
        color: white !important;
        text-decoration: none;
        transform: scale(1.05);
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 15px 0;
    }
    
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .logo img {
        height: 45px;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .navigation {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        box-shadow: 2px 0 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        transition: left 0.3s ease;
        padding-top: 80px;
    }
    
    .navigation.active {
        left: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0;
        padding: 20px;
    }
    
    .nav-menu li {
        margin-bottom: 10px;
    }
    
    .navigation a {
        display: block;
        padding: 15px 20px;
        font-size: 1.1rem;
        border-radius: 8px;
        color: #2A3E76;
        border: 1px solid transparent;
    }
    
    .navigation a:hover {
        background: #f8f9fa;
        border-color: #2A3E76;
        transform: none;
    }
    
    .bip-logo {
        height: 30px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-text p {
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
        padding: 15px;
    }
    
    .slider {
        max-width: 95%;
    }
    
    .slider-wrapper {
        height: 400px;
    }
    
    .slider-btn {
        padding: 15px 18px;
        font-size: 1.2rem;
    }
    
    .prev-btn {
        left: 15px;
    }
    
    .next-btn {
        right: 15px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 100%;
    }
    
    .contact-item {
        padding: 25px;
        margin: 0 auto;
        max-width: 400px;
        min-height: 140px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .contact-item h3 {
        font-size: 1.2rem;
    }
    
    .contact-item p {
        font-size: 1.1rem;
    }
    
    .map h2 {
        font-size: 2.5rem;
    }
    
    .recruitment h2 {
        font-size: 2rem;
    }
    
    .recruitment-content p {
        font-size: 1.1rem;
    }
    
    .recruitment-content p:first-child {
        font-size: 1.3rem;
    }
    
    .recruitment-fees {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .recruitment-fees h3 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    .recruitment-fees li {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
}

/* Tablet Responsiveness */
@media (max-width: 1024px) and (min-width: 769px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .contact-item {
        padding: 25px;
    }
    
    .map-container iframe {
        height: 400px;
    }
}

/* Small tablet / Large mobile */
@media (max-width: 768px) and (min-width: 481px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .contact-item {
        padding: 25px;
        min-height: 130px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .map-container iframe {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo img {
        height: 40px;
    }
    
    .mobile-menu-btn {
        width: 35px;
        height: 35px;
    }
    
    .hamburger-line {
        width: 20px;
        height: 2px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 5px;
    }
    
    .contact-item {
        padding: 20px 15px;
        margin: 0;
        max-width: 100%;
        min-height: 120px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .contact-item h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .contact-item p {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .map-container {
        margin: 20px 0 0 0;
    }
    
    .map-container iframe {
        height: 300px;
    }
    
    .navigation {
        width: 85%;
        max-width: 280px;
    }
    
    .about-text p {
        text-align: center;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .cta-button {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .floating-social {
        left: 0;
        bottom: 20px;
        top: auto;
        transform: none;
    }
    
    .facebook-btn {
        width: 50px;
        height: 60px;
        border-radius: 0 8px 8px 0;
    }
    
    .facebook-f {
        font-size: 24px;
    }
}

/* Floating Social Button */
.floating-social {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
}

.facebook-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1877F2;
    color: white;
    text-decoration: none;
    width: 60px;
    height: 80px;
    border-radius: 0 10px 10px 0;
    box-shadow: 2px 0 15px rgba(24, 119, 242, 0.3);
    transition: all 0.3s ease;
    border: none;
}

.facebook-btn:hover {
    background: #166FE5;
    transform: translateX(5px);
    box-shadow: 2px 0 20px rgba(24, 119, 242, 0.4);
}

.facebook-f {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: white;
    line-height: 1;
}

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

/* Loading animation for hero text */
.hero-title,
.cta-button {
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

.cta-button {
    animation-delay: 0.5s;
}