/* ===== Base Styles ===== */

body {
    margin: 0;
    font-family: Arial, sans-serif
}

a {
    text-decoration: none
}


/* ===== Navbar ===== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #1a1a1a;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .3)
}

.logo img {
    height: 50px
}

nav {
    flex: 1;
    display: flex;
    justify-content: center
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0
}

nav ul li {
    margin: 0 20px
}

nav ul li a {
    color: #fff;
    font-weight: 600;
    transition: color .3s
}

nav ul li a:hover {
    color: #8B0000
}


/* Hamburger */

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1100
}

.menu-toggle .bar {
    height: 3px;
    width: 25px;
    background: #fff;
    margin: 4px 0;
    transition: all .3s
}

.menu-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px)
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0
}

.menu-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px)
}


/* ===== Mobile Navbar ===== */

@media(max-width:768px) {
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100%;
        background: #111;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right .3s;
        z-index: 1000
    }
    nav ul {
        flex-direction: column;
        text-align: center
    }
    nav ul li {
        margin: 20px 0
    }
    nav.active {
        right: 0
    }
    .menu-toggle {
        display: flex;
        position: fixed;
        top: 15px;
        right: 30px
    }
}


/* ===== Social Bar ===== */

.social-bar {
    position: fixed;
    top: 65px;
    left: 0;
    width: 100%;
    background: #121212;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
    z-index: 999;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .3);
    border-bottom: 2px solid #006400
}

.social-bar .social-links {
    display: flex;
    gap: 30px
}

.social-bar .social-links a {
    color: #fff;
    font-size: 1.5rem;
    padding: 8px;
    border-radius: 50%;
    transition: all .3s
}

.social-bar .social-links a:hover {
    transform: scale(1.25);
    box-shadow: 0 0 10px rgba(255, 255, 255, .3)
}

.facebook:hover {
    color: #1877f2
}

.instagram:hover {
    color: #e4405f
}

.tiktok:hover {
    color: #69c9d0
}

.twitter:hover {
    color: #1da1f2
}

.linkedin:hover {
    color: #0077b5
}


/* Mobile Social */

@media(max-width:768px) {
    .social-bar {
        top: 60px;
        padding: 12px 0;
        flex-wrap: wrap;
        border-bottom: 1px solid #333
    }
    .social-bar .social-links {
        gap: 22px;
        flex-wrap: wrap;
        justify-content: center
    }
    .social-bar .social-links a {
        font-size: 1.3rem;
        padding: 10px
    }
}

@media(max-width:480px) {
    .social-bar {
        top: 55px;
        padding: 10px 0
    }
    .social-bar .social-links {
        gap: 18px
    }
    .social-bar .social-links a {
        font-size: 1.2rem
    }
}


/* ===== Hero Section ===== */

.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    padding-top: 80px
}

.slides {
    height: 100%;
    width: 100%;
    position: relative
}

.slide {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%
}

.slide.active {
    display: block
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
    background: #000;
    filter: brightness(.7);
    z-index: 1
}

.slide .content {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    z-index: 2;
    background: rgba(0, 0, 0, .4);
    padding: 30px 40px;
    border-radius: 15px
}

.slide .content h2 {
    font-size: 3em;
    margin-bottom: 15px
}

.slide .content p {
    font-size: 1.2em;
    margin-bottom: 20px
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 16px;
    transition: all .3s;
    cursor: pointer
}

.btn.primary {
    background: linear-gradient(135deg, #ffcc00, #ff9900);
    color: #000;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .3)
}

.btn.primary:hover {
    background: linear-gradient(135deg, #ff9900, #ffcc00);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .4)
}

.btn.primary:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(0, 0, 0, .3)
}

@media(max-width:600px) {
    .btn.primary {
        padding: 10px 22px;
        font-size: 14px
    }
}

.controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 40px;
    z-index: 3;
    font-size: 2rem;
    color: #8B0000;
    cursor: pointer
}


/* Curved Divider */

.curve {
    position: absolute;
    bottom: -1px;
    width: 100%;
    height: 120px;
    overflow: hidden;
}

.curve svg {
    width: 133%;
    height: 120px;
}

.curve .shape-fill {
    fill: #8B0000;
}


/* ===== Sections ===== */

.about,
.vision-mission,
.services,
.news,
.goals-values {
    padding: 80px 20px;
    text-align: center;
    background: #f9f9f9
}

.about .container,
.vision-mission .container,
.services .cards,
.news .container,
.goals-values .container {
    max-width: 1000px;
    margin: 0 auto
}

.about h2,
.vision-mission h2,
.services h2,
.news h2,
.goals-values h2 {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 30px;
    position: relative;
    font-weight: 700
}

.about h2::after,
.vision-mission h2::after,
.services h2::after,
.news h2::after,
.goals-values h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: #8B0000;
    margin: 10px auto 0;
    border-radius: 2px
}

.vm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    align-items: start
}

.vm-card {
    background: #fff;
    padding: 30px 25px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
    transition: transform .3s, box-shadow .3s;
    text-align: left
}

.vm-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, .12)
}

.vm-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #1a1a1a
}

.vm-card p {
    font-size: 1rem;
    color: #555;
    line-height: 1.8
}

.card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .1);
    transition: transform .3s, box-shadow .3s;
    text-align: left
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, .15)
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1a1a1a
}

.card p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px
}

.card .btn {
    padding: 10px 20px;
    background: #8B0000;
    color: #fff;
    border-radius: 8px;
    font-weight: 600
}

.card .btn:hover {
    background: #8B0000
}

.news-list article {
    background: #fff;
    padding: 30px 25px;
    margin-bottom: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
    transition: transform .3s, box-shadow .3s
}

.news-list article:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, .12)
}

.news-list h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #1a1a1a
}

.news-list p {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px
}

.news .btn {
    margin-top: 20px;
    padding: 12px 25px;
    background: #8B0000;
    color: #fff;
    border-radius: 8px;
    font-weight: 600
}

.news .btn:hover {
    background: #8B0000
}


/* ===== Partnership ===== */

.partnership {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 60px 20px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .2);
    margin: 60px auto;
    max-width: 1100px
}

.partnership h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 1px
}

.partnership p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.7;
    color: #f0f0f0
}

.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px
}

.partner-logo {
    width: 160px;
    border-radius: 15px;
    transition: transform .3s, box-shadow .3s;
    background: #fff;
    padding: 10px
}

.partner-logo:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .3)
}

@media(max-width:768px) {
    .partnership h2 {
        font-size: 1.8rem
    }
    .partner-logo {
        width: 120px
    }
}


/* ===== Back to Top ===== */

#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: none;
    background: #8B0000;
    color: #fff;
    border: none;
    padding: 12px 16px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .2);
    transition: background .3s, transform .3s
}

#backToTop:hover {
    transform: scale(1.1)
}


/* ===== Dark Mode ===== */

#themeToggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1200;
    /* above navbar */
    background-color: #8B0000;
    color: #fff;
    border: none;
    padding: 10px 14px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
}

#themeToggle:hover {
    background-color: #a10000;
}


/* Dark mode */

body.dark-mode {
    background-color: #1a1a1a;
    color: #f0f0f0;
}

body.dark-mode a {
    color: #8B0000;
}

body.dark-mode .card,
body.dark-mode .vm-card,
body.dark-mode .news-list article {
    background-color: #2c2c2c;
    color: #f0f0f0;
}

body.dark-mode .btn {
    background-color: #8B0000;
    color: #fff;
}


/* Adjust theme toggle for mobile */

@media (max-width: 768px) {
    #themeToggle {
        top: 20px;
        /* same distance from top */
        right: 70px;
        /* move left so it doesn't cover hamburger */
        z-index: 1200;
        /* still above navbar */
    }
}


/* ===== Google Translate Widget ===== */

.translate-widget {
    display: inline-block;
    background: #8B0000;
    padding: 8px 12px;
    border-radius: 8px;
    font-family: Segoe UI, Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    margin-top: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .5);
    transition: transform .3s, box-shadow .3s
}

.translate-widget:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, .6)
}

.translate-widget select {
    background: #111;
    color: #8B0000;
    border: 1px solid #8B0000;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 14px;
    outline: none;
    cursor: pointer;
    transition: all .3s
}

.translate-widget select:hover {
    background: #222;
    color: #8B0000;
    border-color: #8B0000
}

@media(max-width:600px) {
    .translate-widget {
        padding: 6px 10px;
        font-size: 13px
    }
    .translate-widget select {
        padding: 5px 8px;
        font-size: 13px
    }
}


/* ===== Contact Buttons ===== */

.contact-stack {
    position: fixed;
    bottom: 25px;
    left: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000
}

.phone-button,
.whatsapp-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 6px 15px rgba(0, 0, 0, .25);
    cursor: pointer;
    transition: all .3s ease
}

.phone-button {
    background: linear-gradient(135deg, #007bff, #0056b3)
}

.phone-button img {
    width: 28px;
    height: 28px
}

.phone-button:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .35)
}

.whatsapp-button {
    background: linear-gradient(135deg, #25D366, #1ebe5d);
    border: none
}

.whatsapp-button img {
    width: 28px;
    height: 28px
}

.whatsapp-button:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .35)
}

.whatsapp-popup {
    position: fixed;
    bottom: 100px;
    left: 25px;
    width: 320px;
    max-width: 90%;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .3);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 1000;
    font-family: Arial, sans-serif;
    animation: slideUp .3s forwards
}

@keyframes slideUp {
    0% {
        transform: translateY(20px);
        opacity: 0
    }
    100% {
        transform: translateY(0);
        opacity: 1
    }
}

.whatsapp-header {
    background: #25D366;
    color: #fff;
    padding: 12px 18px;
    font-weight: bold;
    font-size: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.whatsapp-header .close-chat {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer
}

.whatsapp-body {
    padding: 18px;
    text-align: center
}

.whatsapp-body p {
    margin-bottom: 18px;
    font-size: 14px;
    color: #333
}

.start-chat {
    display: inline-block;
    padding: 12px 25px;
    background: #25D366;
    color: #fff;
    border-radius: 30px;
    font-weight: bold;
    font-size: 14px;
    transition: background .3s, transform .3s
}

.start-chat:hover {
    background: #1ebe5d;
    transform: scale(1.05)
}

@media(max-width:480px) {
    .contact-stack {
        bottom: 18px;
        left: 18px;
        gap: 12px
    }
    .whatsapp-popup {
        width: 90%;
        bottom: 90px;
        left: 5%
    }
}