/* style.css */
/* Make footer stick to bottom */
html,
body {
    height: 100%;
    overflow-x: hidden;
    width: 100%;
}

/* Body styles */
body {
    background-color: #FDFBD4;
    color: #c7e840;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
}
/* Fullscreen splash */
#splash {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Background image with gradient overlay */
  background: 
    linear-gradient(
        rgba(128, 0, 0, 0.2), /* maroon tint */
    rgba(43, 48, 61, 1.6),  

    rgba(128, 48, 61, 1.8) /* dark blueish */), 
    url('../resources/images/image.png') center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: fadeOut 3s forwards;
  animation-delay: 2.5s;
}

/* Splash content styling */
.splash-content {
  text-align: center;
  color: #fff7f0;
  animation: zoomIn 1.5s ease-in-out;
}

.splash-logo {
  width: 140px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
}

/* Base Styles (Desktop) */
.splash-text {
  font-size: 3.5rem; /* Increased for desktop impact */
  color: #FFD700;
  font-weight: 800;
  font-family: 'Courier New', Courier, monospace;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); /* Adds depth */
}

.splash-subtext {
  font-size: 1.5rem; /* Slightly larger for readability */
  margin-top: 15px;
  color: #fff7f0;
  font-weight: 600;
  font-family: 'Courier New', Courier, monospace;
}

/* Tablet Devices (Up to 992px) */
@media (max-width: 992px) {
  .splash-text {
    font-size: 2.8rem;
  }
  .splash-subtext {
    font-size: 1.3rem;
  }
}

/* Mobile Devices (Up to 576px) */
@media (max-width: 576px) {
  .splash-text {
    font-size: 2rem; /* Scaled down for small screens */
    letter-spacing: -1px; /* Tighter fit for mobile */
  }
  
  .splash-subtext {
    font-size: 1rem;
    margin-top: 10px;
    padding: 0 10px; /* Prevents text from hitting screen edges */
  }
}

/* Animations */
@keyframes zoomIn {
  from { transform: scale(0.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}



@keyframes fadeOut {
  to { opacity: 0; visibility: hidden; }
}


/* Navbar styles */


/* Container padding */
main {
    flex: 1;
}

.container {
    padding-top: 25px;
}

/*about us*/
.about-header {
    margin-top: -20px;
    text-align: center;
    padding: 40px;
    background: #4e2929ff;
    color: #f4d03f;
    font-size: 2rem;
    letter-spacing: 2px;
}
.about-intro {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin: 0 auto;
    padding: 20px;
    max-width: 1100px;
    box-sizing: border-box;
    overflow-x: hidden; /* Prevent extra space */
}

.about-text {
    flex: 1 1 500px;
    min-width: 280px;
    max-width: 100%;
    word-wrap: break-word;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #4e2929ff;
    line-height: 1.3;
}

.about-text p {
    font-size: 1.1rem;
    color: #4e2929ff;
    line-height: 1.6;
    margin: 0;
}

.about-image {
    flex: 1 1 400px;
    display: flex;
    justify-content: center;
}

.about-image img {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

/* Mobile responsiveness */
@media (max-width: 992px) {
    .about-intro {
        flex-direction: column;
        text-align: center;
        padding: 10px;
    }

    .about-text {
        max-width: 90%;
    }

    .about-image img {
        max-width: 90%;
    }
}

@media (max-width: 600px) {
    .about-text h2 {
        font-size: 1.6rem;
    }

    .about-text p {
        font-size: 1rem;
    }
}


        /* Mission & Vision */
        .mission-vision {
            display: flex;
            gap: 20px;
            margin:50px;
        }

        .mission-vision .card {
            flex: 1;
            background: rgba(32, 1, 1, 0.922);
            padding: 20px;
            border-radius: 12px;
            text-align: center;
            color: white;
        }
         .mission-vision .card:hover {
            transform: translateY(-3px) scale(1.05);
            background: rgba(32, 1, 1, 0.922);
            color: rgb(245, 245, 245);
           
        }

        .mission-vision h3 {
            color: #ffd700;
            margin-bottom: 10px;
        }

        /* What We Do */
  .what-we-do-section {
    background-color: #fffaf5; /* Very light cream to contrast with the dark brown text */
    padding: 80px 0;
}


.mission-card {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(78, 41, 41, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    border: 5px solid rgb(27, 12, 12);
}

.mission-card:hover {
    transform: translateY(-10px);
    border-color: #c9a227;
    box-shadow: 0 15px 40px rgba(201, 162, 39, 0.15);
}

.icon-circle {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.mission-card:hover .icon-circle {
    transform: scale(1.2);
}

.mission-card h5 {
    color: #4e2929;
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
}


       

        /* Animations */
        .fade-in {
            opacity: 0;
            transform: translateY(20px);
            animation: fadeIn 1.2s forwards;
        }

        .slide-up {
            opacity: 0;
            transform: translateY(50px);
            animation: slideUp 1.2s forwards;
        }

.zoom-in {
            opacity: 0;
            transform: scale(0.8);
            animation: zoomIn 1.2s forwards;
        }
/* --- Contact Hero --- */
.contact-hero {
    position: relative;
    background: url('./resources/images/contactusPageImage.jpg') center/cover no-repeat;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(78, 39, 39, 0.8), rgba(26, 6, 1, 0.9));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.text-gold { color: #f4d03f; }

.hero-line {
    width: 100px;
    height: 5px;
    background: #f4d03f;
    margin: 20px auto;
}

/* --- Info Section --- */
/* --- Contact Page Styles --- */

/* Hero Section */
.contact-hero {
    position: relative;
    background: url('../resources/images/contactusPageImage.jpg') center/cover no-repeat;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 0 !important; /* Fixes gap with Navbar */
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(78, 39, 39, 0.8), rgba(26, 6, 1, 0.95));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.text-gold { color: #f4d03f !important; }

.hero-line {
    width: 80px;
    height: 4px;
    background: #f4d03f;
    margin: 20px auto;
    border-radius: 2px;
}

/* Info Section Card */
.contact-info-section {
    background: linear-gradient(145deg, #4e2727, #2a0a0a);
    border-radius: 20px;
    color: white;
    transition: transform 0.3s ease;
}

.contact-info-section:hover {
    transform: translateY(-5px);
}

.contact-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #f4d03f;
    margin-bottom: 10px;
}

.contact-divider {
    width: 60px;
    height: 3px;
    background: rgba(244, 208, 63, 0.3);
    margin-bottom: 30px;
}

/* Icon Box Design */
.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.icon-box {
    width: 55px;
    height: 55px;
    background: rgba(244, 208, 63, 0.1);
    border: 1px solid rgba(244, 208, 63, 0.4);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f4d03f;
    font-size: 1.4rem;
    transition: 0.3s;
}

.contact-item:hover .icon-box {
    background: #f4d03f;
    color: #4e2727;
}

/* Social Buttons */
.social-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: 0.3s;
}

.social-btn:hover {
    background: #f4d03f;
    color: #4e2727;
    transform: rotate(360deg);
}

/* Form Styling */
.form-card {
    border-top: 6px solid #f4d03f !important;
}

.letter-spacing-2 { letter-spacing: 2px; }

/* Animation */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-title {
    animation: fadeInUp 1s ease-out forwards;
}

.main-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Keeps the whole logo visible without stretching */
}

  .main-logo {
  width: 280px;
  height: 280px;
 
  margin-bottom:0%;
  margin-left: 0%;
  /* 1. Make it a circle */
  border-radius: 50%;
  
  /* 2. Add the brown border (using a hex color that matches your logo) */
  border: 4px solid #5d1a1d; 
  
  /* 3. Center the logo inside */
  display: flex;
  align-items: center;
  justify-content: center;
  
  /* 4. This is the fix for the "S"! */
  padding: 25px; 
  box-sizing: border-box; /* Important so padding doesn't increase size */
  
  /* 5. Keep it visible */
  overflow: visible;
  background-color: white; /* Ensures the circle looks clean */

}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Mobile: show only central logo */
@media (max-width: 768px) {
  .contact-icon {
    display: none;
  }

  .main-logo {
  width: 280px;
  height: 280px;
 
  margin-bottom:0%;
  margin-left: 0%;
  /* 1. Make it a circle */
  border-radius: 50%;
  
  /* 2. Add the brown border (using a hex color that matches your logo) */
  border: 4px solid #5d1a1d; 
  
  /* 3. Center the logo inside */
  display: flex;
  align-items: center;
  justify-content: center;
  
  /* 4. This is the fix for the "S"! */
  padding: 25px; 
  box-sizing: border-box; /* Important so padding doesn't increase size */
  
  /* 5. Keep it visible */
  overflow: visible;
  background-color: white; /* Ensures the circle looks clean */

}
.main-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Keeps the whole logo visible without stretching */
}
 .contact-info-section {
  width:450px;
  margin: auto;
 }

}


        @keyframes fadeIn {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes slideUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes zoomIn {
            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        /* Responsive */
        

        @media (max-width: 768px) {
         

            .mission-vision {
                flex-direction: column;
            }
            .contact-section {
                min-height: auto;}
        }

               
        
/* Message Section Styling */
    .message-card {
        background-color: #fdfaf0;
        transition: all 0.3s ease;
    }
    
    .message-card:hover {
        transform: scale(1.01);
        box-shadow: 0 10px 20px rgba(0,0,0,0.05) !important;
    }

    .bi-quote {
        display: inline-block;
        margin-right: 5px;
        vertical-align: middle;
    }
/* Ensure cards in slider are same height */
.carousel-item .row {
    display: flex;
}
.carousel-item .col-md-4 {
    display: flex;
    flex-direction: column;
}

/* Modal Styling */
#messageModal .modal-content {
    background-color: #fdfaf0;
    border-top: 5px solid var(--secondary-gold) !important;
}

/* Control buttons styling */
.btn-outline-dark {
    border-color: var(--secondary-gold) !important;
    color: var(--primary-brown) !important;
}
.btn-outline-dark:hover {
    background-color: var(--secondary-gold) !important;
    color: white !important;
}