/* css/custom.css - COMPLETE REWRITE */

/* ===== VARIABLES ===== */
:root {
    --sl-green: #1E4D2B;
    --sl-dark-green: #0C3C26;
    --sl-white: #ffffff;
    --sl-blue: #0072C6;
    --sl-gold: #FCD116;
    --sl-light-gray: #f8f9fa;
    --sl-medium-gray: #e0e0e0;
    --sl-text: #333333;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--sl-text);
    background-color: var(--sl-light-gray);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===== TOP HEADER ===== */
.top-header {
    background-color: var(--sl-green);
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

.top-contact-info {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
}

.top-contact-info i {
    color: var(--sl-gold);
    margin-right: 8px;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.social-icons a:hover {
    opacity: 0.8;
}

/* ===== MAIN HEADER ===== */
.main-header {
    background-color: var(--sl-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-bottom: 4px solid var(--sl-blue);
}

.logo-container {
    display: flex;
    align-items: center;
    padding: 10px 0;
}

.logo-container img {
    height: 80px;
    width: auto;
    margin-right: 15px;
}

/* ===== NAVIGATION ===== */
.nav-container {
    background: var(--sl-white);
    padding: 10px 0;
}

.navbar {
    padding: 0;
}

.navbar-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin-right: 2px;
}

.nav-link {
    color: var(--sl-text);
    font-weight: 600;
    padding: 12px 18px;
    text-decoration: none;
    display: block;
    background-color: rgba(30, 77, 43, 0.05);
    border-radius: 4px 4px 0 0;
    transition: all 0.3s;
}

.nav-link:hover,
.nav-link.active {
    background-color: var(--sl-green);
    color: white !important;
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    background: var(--sl-white);
    min-width: 220px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: none;
    border-top: 3px solid var(--sl-green);
    display: none;
    z-index: 1000;
    padding: 0;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-item {
    padding: 12px 20px;
    color: var(--sl-text);
    text-decoration: none;
    display: block;
    border-bottom: 1px solid var(--sl-light-gray);
    transition: all 0.3s;
}

.dropdown-item:hover,
.dropdown-item.active {
    background-color: var(--sl-green);
    color: white;
}

/* Mobile Menu Toggle */
.navbar-toggler {
    display: none;
    background: var(--sl-green);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
}

/* ===== QUICK ACCESS BUTTONS ===== */
.quick-access-menu {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.quick-access-btn {
    background-color: var(--sl-blue);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 600;
    font-size: 14px;
}

.quick-access-btn:hover {
    background-color: var(--sl-dark-green);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.quick-access-btn.youtube {
    background-color: #FF0000;
}

.quick-access-btn.youtube:hover {
    background-color: #CC0000;
}

/* ===== HERO SLIDER ===== */
.hero-slider {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.carousel {
    height: 100%;
}

.carousel-inner {
    height: 100%;
}

.carousel-item {
    height: 100%;
    position: relative;
}

.hero-slide {
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 77, 43, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.slide-content {
    color: white;
    max-width: 800px;
}

.slide-content h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: opacity 0.3s;
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.7);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 30px;
    height: 30px;
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    list-style: none;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.carousel-indicators button.active {
    background-color: white;
}

/* ===== SERVICES SECTION ===== */
.services-section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    color: var(--sl-green);
    margin-bottom: 40px;
    font-size: 2.5rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background-color: var(--sl-blue);
    margin: 15px auto 0;
}

.service-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
    height: 100%;
    border-top: 4px solid var(--sl-green);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card .card-body {
    padding: 30px;
    text-align: center;
}

.service-icon {
    font-size: 48px;
    color: var(--sl-green);
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--sl-green);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* ===== CONSULAR SERVICES ===== */
.consular-section {
    background: white;
    border-radius: 8px;
    padding: 50px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin: 60px 0;
    border-top: 4px solid var(--sl-blue);
}

.consular-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.consular-option {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--sl-green);
    transition: background-color 0.3s;
}

.consular-option:hover {
    background-color: #f0f0f0;
}

.consular-option h3 {
    color: var(--sl-green);
    margin-bottom: 15px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.consular-option i {
    color: var(--sl-blue);
    font-size: 24px;
}

/* ===== NEWS SECTION ===== */
.news-section {
    padding: 60px 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.news-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
    height: 100%;
    border-top: 4px solid var(--sl-blue);
}

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

.news-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: var(--sl-medium-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sl-green);
}

.news-content {
    padding: 25px;
}

.news-date {
    color: #777;
    font-size: 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-title {
    color: var(--sl-green);
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.news-summary {
    color: var(--sl-text);
    margin-bottom: 15px;
    line-height: 1.6;
}

.news-read-more {
    color: var(--sl-green);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}

.news-read-more:hover {
    color: var(--sl-blue);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--sl-green);
    color: white;
}

.btn-primary:hover {
    background-color: var(--sl-dark-green);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-outline-primary {
    background-color: transparent;
    color: var(--sl-green);
    border: 2px solid var(--sl-green);
}

.btn-outline-primary:hover {
    background-color: var(--sl-green);
    color: white;
}

.btn-lg {
    padding: 15px 40px;
    font-size: 18px;
}

/* ===== FOOTER ===== */
.main-footer {
    background-color: var(--sl-green);
    color: white;
    padding: 60px 0 20px;
    margin-top: 60px;
}

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

.footer-links h5 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--sl-blue);
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    color: var(--sl-gold);
    margin-right: 10px;
    min-width: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s;
}

.social-links a:hover {
    background-color: white;
    color: var(--sl-green);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #ddd;
    font-size: 14px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .hero-slider {
        height: 400px;
    }
    
    .slide-content h1 {
        font-size: 2.5rem;
    }
    
    .slide-content p {
        font-size: 1.1rem;
    }
    
    .consular-section {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .navbar-toggler {
        display: block;
    }
    
    .navbar-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        margin-top: 10px;
    }
    
    .navbar-nav.show {
        display: flex;
    }
    
    .nav-item {
        width: 100%;
        margin-right: 0;
        margin-bottom: 2px;
    }
    
    .nav-link {
        border-radius: 4px;
        text-align: left;
    }
    
    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        border: none;
        border-left: 3px solid var(--sl-green);
        margin-left: 20px;
    }
    
    .hero-slider {
        height: 350px;
    }
    
    .slide-content h1 {
        font-size: 2rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .quick-access-menu {
        justify-content: center;
    }
    
    .top-contact-info {
        flex-direction: column;
        gap: 5px;
        align-items: flex-start;
    }
    
    .social-icons {
        margin-top: 10px;
    }
}

@media (max-width: 576px) {
    .hero-slider {
        height: 300px;
    }
    
    .slide-content h1 {
        font-size: 1.75rem;
    }
    
    .slide-content p {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .quick-access-btn {
        width: 100%;
        justify-content: center;
    }
    
    .consular-section {
        padding: 20px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    .carousel-control-prev {
        left: 10px;
    }
    
    .carousel-control-next {
        right: 10px;
    }
}
/* ===== FOOTER CONTACT INFORMATION ===== */
.contact-info p {
    color: #ddd;
    margin-bottom: 10px;
}

.contact-info .fw-bold {
    color: white;
    font-size: 0.95rem;
}

.contact-info .ms-3 {
    color: #bbb;
    font-size: 0.9rem;
    line-height: 1.4;
}

.contact-info i {
    color: var(--sl-gold);
    width: 20px;
}
/* ===== UPDATED STYLES ===== */

/* Welcome Section */
.welcome-section {
    background-color: white;
    padding: 80px 0;
}

.welcome-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.welcome-text {
    line-height: 1.8;
    color: var(--sl-text);
    text-align: left;
}

.welcome-text p {
    margin-bottom: 1.5rem;
}

/* Consular Services Section */
.consular-services-section {
    background-color: var(--sl-light-gray);
    padding: 80px 0;
}

.consular-service-card {
    background: white;
    border-radius: 8px;
    padding: 30px;
    height: 100%;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.consular-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--sl-green);
}

.consular-service-card:hover::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-color: var(--sl-blue);
}

.consular-service-icon {
    font-size: 48px;
    color: var(--sl-green);
    margin-bottom: 20px;
}

.consular-service-card h3 {
    color: var(--sl-green);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.consular-service-card p {
    color: var(--sl-text);
    margin-bottom: 20px;
    line-height: 1.6;
}

.consular-service-actions {
    margin-top: 20px;
}

/* Mission News Section */
.mission-news {
    background-color: white;
    padding: 80px 0;
}

/* Footer Updates */
.footer-section {
    margin-bottom: 20px;
}

.footer-section h5 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.1rem;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--sl-blue);
}

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

.footer-section li {
    margin-bottom: 10px;
}

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

.footer-section a:hover {
    color: white;
}

.contact-info p {
    color: #ddd;
    margin-bottom: 10px;
    line-height: 1.5;
}

.contact-info .fw-bold {
    color: white;
    font-size: 0.95rem;
    margin-top: 15px;
    margin-bottom: 5px;
}

.contact-info .ms-3 {
    color: #bbb;
    font-size: 0.9rem;
    line-height: 1.4;
    display: block;
    margin-left: 0;
}

.contact-info i {
    color: var(--sl-gold);
    width: 20px;
    text-align: center;
}

.contact-bar {
    background-color: rgba(255, 255, 255, 0.05);
    margin: 20px 0;
    padding: 15px 0;
}

/* Thank You Page */
.thank-you-message {
    background: white;
    border-radius: 10px;
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive Updates */
@media (max-width: 768px) {
    .welcome-section,
    .consular-services-section,
    .mission-news {
        padding: 60px 0;
    }
    
    .consular-service-card {
        padding: 20px;
    }
    
    .contact-bar .col-md-4 {
        margin-bottom: 15px;
    }
}
/* ===== AMBASSADOR PAGE STYLES ===== */
.ambassador-photo {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 5px solid white;
}

/* Ensure the image container has proper dimensions */
.commissioner-photo img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border: 4px solid var(--sl-green);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* For the index.html commissioner photo */
.commissioner-photo {
    text-align: center;
    margin-bottom: 30px;
}

.commissioner-photo img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border: 4px solid var(--sl-green);
}

.commissioner-photo h4 {
    margin-top: 15px;
    color: var(--sl-green);
}

.commissioner-photo .text-muted {
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ambassador-photo {
        max-width: 300px;
    }
    
    .commissioner-photo img {
        width: 200px;
        height: 200px;
    }
}