
/* ========================
   GLOBAL STYLES
======================== */
#Mobile{
    display: none;
}

html {
  scroll-behavior: smooth;
}

.center {
   display: block;
  margin-left: auto;
  margin-right: auto;
  width: auto;
  height: 20em;

}

.Headings h1{
    text-align:center;
    font-size: 2.5rem;
    color: #800000;
    margin-bottom: 15px;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Archivo', sans-serif;
}

body {
    font-family: "Archivo", sans-serif;
    background-color: #fff;
    color: #000;
    line-height: 1.6;
}

/* Container */
.container,
.container2 {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Headings */
h1, h2, h3, h4 {
    color: #800000; /* Maroon */
    margin-bottom: 15px;
    letter-spacing: 1.5px;
}

p {
    margin-bottom: 15px;
    color: #333;
}

/* ========================
   HEADER
======================== */
header {
    background: #00000084;
    color: #fff;
    padding: 2px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom-right-radius: 150px ;
    border-bottom-left-radius: 150px ;
    
    
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    margin-right: 10em;
    height: 40px;
}

header nav ul {
    display: flex;
    list-style: none;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    font-size: 1.25em;
    color: #ffffff;
    text-decoration: none;
    /* -webkit-text-stroke: 0.50px rgb(255, 255, 255); */
    font-weight: 600;
    padding: 5px 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

header nav ul li a:hover {
  color: #800000;
}


/* ========================
   HERO SECTION
======================== */
.hero {
    display: flex;
    flex-direction: column; /* Stack the top-row and button */
    align-items: center;
    background: linear-gradient(to bottom, #00000000, #0000004a, #000000bb);
    color: #fff;
    padding: 0px 10px; /* Reduced padding to shrink container */
    border-radius: 0 0 120px 0;
    margin: 0 auto; /* Centers the whole hero section */
}

.top-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0px; /* Space between text and logo */
    width: 100%;
    margin-top: -2.5em;
}

.hero-text {
    flex: 1;
    text-align: left;
    margin-left: 70px;
}

.hero-text h1 {
    color: whitesmoke;
    font-size: 4rem; /* Reduced size */
    line-height: 1.1;
    font-family: "Archivo", sans-serif;
    text-shadow: 0 0 50px rgba(0, 0, 0, 0.4), 0 0 50px rgb(0, 0, 0), 0 0 80px rgb(0, 0, 0);
    margin-bottom: 0px;
}

.hero-text h2 {
    font-family: "Archivo", sans-serif;
    font-size: 2.5rem;
    color: #fff;
    text-shadow: 0 0 50px rgba(0, 0, 0, 0.575), 0 0 50px rgb(0, 0, 0);
    margin-bottom: 0px;
}

.hero-text h3 {
    font-family: "Archivo", Helvetica;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.819);
}

.hero-image img {
    max-width: 400px; /* Resize the logo */
    height: auto;
    filter: drop-shadow(0 0 15px rgb(255, 255, 255));
    margin-right: 125px;

}

.hero-btn {
    text-align: center;
    margin-top: -75px;
    margin-bottom: 15px;
}

.hero-btn .btn {
    background: #151515;
    color: #ffffff;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.hero-btn .btn:hover {
    background: #800000;
    color: #fff;
}


/* ========================
   SERVICES SECTION
======================== */
.offerings {
    background: #ffffff;
    padding: 50px 20px;
}

/* Main container - text on left, image on right */
.main {
    display: flex;
    flex-direction: row; /* ← changed from column */
    justify-content: space-between;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap; /* Makes it responsive */
    
}

#info {
    margin-left: 100px;
}

/* LEFT SIDE: Services + Products in two columns */
.container {
    display: flex;
    flex: 1; /* Takes up less space than the image */
    gap: 40px;
    min-width: 300px;
}

/* Services and Products share space equally */
.services,
.products {
    flex: 1;
    margin-left: -70px;
    margin-right: 70px;
}

.services, 
.products p{
    text-align:left;
}

.services a, 
.products a{
     color: #800000;
}

.services a:hover, 
.products a:hover{
     color: #f20000;
}

.services h2,
.products h2 {
    text-align: left;
    font-size: 2rem;
    color: #800000;
    margin-bottom: 20px;
}

/* List styling */
.service-item {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-item li {
    font-size: 1.3rem;
    padding: 10px 0;
    color: #000;
    font-weight: 500;
    border-bottom: 1px solid #ddd;
    transition: color 0.3s ease;
    text-align: left;
}

.service-item li:hover {
    color: #800000;
}

/* RIGHT SIDE: Image styling */
.services-image {
    flex: 1; /* Image takes most of the space */
    justify-content: center;
    align-items: center;
}

.services-image img {
    max-width: 500px;
    height: 450px;
    object-fit: cover;
    border-radius: 10px;
    filter: drop-shadow(0 0 15px rgba(0, 0, 0, 0.2));
    margin-left: 75px;
}




/* ========================
   ABOUT SECTION
======================== */
.about {
    display: flex;
    padding: 60px 0px;
    background: linear-gradient(to bottom, #00000000, #0000004a, #000000bb);
    text-align: center;
    border-radius: 0 0 0 120px;
}

.about h2{
    margin-left: 350px;
    font-size: 3rem;
     text-align: left;
 -webkit-text-stroke: 0.5px rgba(6, 6, 6, 0.649);

}

.about p {
    max-width: 100%;
    margin: 0 auto;
    font-size: 1.3em;
    color: linear-gradient(to top, #00000000, #0000004a, #000000bb);
    text-align: justify;
}

.containerAbout{
    align-items: center;
    margin-top: 0%;
    margin-left: 75px;
    float: left;
}
.containerPic {
    
    float: right;
}

.containerPic img{
     margin-top: -40%;
    margin-bottom: -4.25em;
    height: 10cm;
    filter: grayscale(30%);  
}

/* GALLERY SECTION */
.gallery {
    min-height: 0vh;
    position: relative;
    

}

/* Container */
.galcontainer {
    position: relative; /* Creates a positioning context for GalTop */
    width: 100%;
    height: 30em; /* Adjust as needed */
    overflow: hidden;
    border-radius: 0 75px 0 0;
    margin-top: 10px;
}

/* Background layer */
.GalBottom {
    position: relative;
    width: 100%;
    height: 100%;
    background: url('Images/CS 1.jpg') no-repeat center center;
    background-size: cover;
    filter: opacity(70%); /* Blur background */
    z-index: 1; /* Bottom layer */
    
}

/* Top content */
.GalTop {
    position: absolute; /* Overlay the background */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Semi-transparent dark overlay */
    color: white;
    display: flex; 
    flex-direction: column;
    justify-content: center; /* Vertically center content */
    align-items: center; /* Horizontally center content */
    padding: 20px;
    text-align: center;
    z-index: 2; /* Above background */
}

/* Headings */
.gallery h1, .gallery h2, .gallery h3 {
   
   font-size: 3rem;
    color: #800000;
    margin-bottom: 20px;

}

/* Paragraph */
.gallery p {
    font-size: 1.3rem;
    color: #f1f1f1;
    max-width: 800px;
    text-align: justify;
}


/* ========================
   CONTACT SECTION
======================== */
.contact {
    display: flex;
    justify-content: space-between;
    padding: 60px 20px;
    background: #f5f5f5;
}

.contact .container2 {
    flex: 1;
    margin-right: 20px;
}

.contact h2{
        font-size: 2.5rem;

}

.contact h4{
        font-size: 1.75rem;
}
.contact p{
        font-size: 1.2rem;

}
.contact form {
    display: flex;
    flex-direction: column;
}

.contact form label {
    font-size: 1.2rem;
    margin-top: 15px;
    font-weight: bold;
    color: #800000;
}

.contact form input,
.contact form textarea {
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 8px;
    outline: none;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact form input:focus,
.contact form textarea:focus {
    border-color: #a00000;
}

.contact form button {
    margin-top: 20px;
    background: #800000;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact form button:hover {
    background: #800000;
}

.contactinfo {
    flex: 1;
    background: #fff;
    padding: 20px;
    border-left: 3px solid #800000;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.contactinfo h2 {
    color: #800000;
}

.contactinfo h4 {
    margin-top: 15px;
    color: #000;
}

/* ========================
   FOOTER FIX
======================== */
footer {
  background: #000;
  color: #fff;
  padding: 15px 20px;
  font-size: 0.9rem;
  position: relative;
}

footer .footer-container {
  display: flex;
  justify-content: space-between; /* Evenly spaces items */
  align-items: center;
  flex-wrap: wrap; /* Allows wrapping on very small screens */
  gap: 15px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

footer p {
  margin: 0;
  color: #fff;
}

footer a {
  color: #fff; /* White text by default */
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #ff0000; /* Red on hover */
}

footer i {
  margin-right: 5px;
}



/* ========================
   L&I Page
======================== */
.articles{
    margin-top: 50px;
}

.articles h1{
    font-size: 3em;
    text-align: center;
    margin-bottom: 0em;
    filter: drop-shadow(0 0 7px rgba(88, 2, 2, 0.507));

}
.article2{
    margin-left: 50px;
    margin-right: 50px;
    padding: 60px 0px;
    text-align: center;
    
}

.article1{
    margin-left: 50px;
    margin-right: 50px;
    padding: 60px 0px;
    text-align: center;
}

.article3{
    margin-left: 50px;
    margin-right: 50px;
    padding: 60px 0px;
    text-align: center;
}


.article1 p, 
.article2 p, 
.article3 p{
    text-align: justify;
    font-size: 1.2em;
}

.float-left {
  float: left;
  margin-right: 50px;
  max-width: 700px;
  height: auto;
filter: drop-shadow(0 0 15px rgba(2, 2, 2, 0.649));

}

.float-right {
  float: right;
  margin-left: 50px;
  margin-bottom: 10px;
  max-width: 700px;
  height: auto;
  filter: drop-shadow(0 0 15px rgba(2, 2, 2, 0.649));

}




/* ========================
   Submission Page
======================== */
.submission h1{
    color: #000;
    font-size: 3em;
    text-align: center;
    -webkit-text-stroke: 1px rgba(0, 33, 179, 0.664);

   
}

.burger {
    display: none;
}

/* ========================
   Animations
======================== */
.Headings {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}

.Headings.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-text, 
.hero-image {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.hero-text.visible, 
.hero-image.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================
   RESPONSIVE
======================== */

/* ===== Tablets (≤1024px) ===== */
@media (max-width: 1024px) {
   
    /* Header sticky on mobile */
    header {
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    /* Hide desktop nav on mobile */
    #Desktop {
        display: none;
    }

    /* Header Layout - Logo LEFT, Burger RIGHT */
    header .container {
        display: flex;
        justify-content: space-between; /* Logo on the left, burger on the right */
        align-items: center;
        padding: 0px 20px;
        position: relative;
        height: 50px;
    }

    /* Burger Menu Icon */
    .burger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 22px;
        cursor: pointer;
        margin-right: 10px;
        z-index: 1000;
        margin-left: auto; /* Pushes burger to the far right */
        flex: 0 0 auto;
        margin-top: -125px;
    }

    .burger span {
        display: block;
        height: 4px;
        width: 100%;
        background: #fff;
        border-radius: 5px;
        transition: all 0.3s ease;
    }

    /* Dropdown Nav */
    header nav {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        display: none;
        z-index: 999;
        padding: 15px 0;
    }

    header nav.show {
        display: flex;
    }

    header nav ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    /* Logo Styling */
    .nav-logo {
        margin-left: -350px;
        height: 50px;
        max-width: 120px;
    }

    /* HERO adjustments */
    .hero {
        border-radius: 0 0 0px 0;
    }

    .hero-text {
        margin-top: 75px;
        margin-left: 0;
        
    }

    .hero-text h1{
        font-size: 2em;
    }

    .hero-text h2{
        font-size: 1.5em;
    }

    .hero-image img {
    max-width: 200px; /* Resize the logo */
    height: auto;
    margin-right: 0px;
    }
    
    .hero-btn {
    text-align: center;
    margin-top: -50px;
    margin-bottom: 15px;
}

    .hero-btn .btn {
       
        padding: 10px 20px;
        font-size: 0.5rem;
        font-weight: bold;
       
    }
    
    /* SERVICES adjustments */
    /* 🔹 Target services section only */
    .main .container {
        flex-direction: column;
        gap: 20px;
        border-radius: 0 0 0 0;

    }

    .services-image img {
        max-width: 300px;
        margin: 20px auto 0 auto;
    }

    #info {
    margin-left: 0px;
}

    .services,
    .products {
        text-align: center;
        margin: 0;
    }

    /* ABOUT adjustments */
    .about {
        flex-direction: column;
        text-align: center;
         border-radius: 0 0 0 0;
    }

 
    .containerAbout,
    .containerPic {
        float: none;
        margin: 0 auto;
        text-align: center;
         margin-top: -10px;
        
    }

    .containerPic img {
        margin: 20px auto 0 auto;
        height: auto;
    }

    .galcontainer {
        
    border-radius: 0 0 0 0;
}

    /* CONTACT adjustments */
    .contact {
        flex-direction: column;
    }

    .contact .container2,
    .contactinfo {
        flex: 1 1 100%;
        margin: 0 auto 20px auto;
    }

        .main {
        flex-direction: column; /* Stack image below text */
    }

    .container {
        flex-direction: column; /* Stack services and products */
    }

    .services-image {
        margin-top: 20px;
    }

    .services, 
    .products  {
        margin-left: -1em;
    }

    .service-item {
    list-style:circle;
    margin-left: 3px;
}

    .service-item li {
    font-size: 1rem;
    padding: 4px 0;
    color: none;
    font-weight: 500;
    border-bottom: 0px solid #ddd;
    transition: color 0.3s ease;
    text-align: left;
}

       .about p,
       .gallery p,
       .contact p{
        font-size: 1rem;
    }
    
      .contactinfo h4, 
      .contact form label {
        font-size: 1em;
      }
   
    .Headings h1, 
    .services h2, 
    .products h2, 
    .contact h2 , 
    .contactinfo h2{
        font-size: 1.5em;
        margin-bottom: -0.25em;
    }

     .contactinfo h4{
        padding-left: 0.25em;
        margin: -0.25em;
    }

    .contactinfo p{
        margin: 0;
        padding: 0.125em 0 0.125em 0em ;
    }
    
/* ========================
   L&I Page MOBILE
======================== */
.articles h1{
    font-size: 2em;
}

.article1 img, 
.article2 img, 
.article3 img{
    max-width: 700px;
    margin-right: 0px;
    margin-bottom: 50px;
    margin-left: 0px;
    padding: 0;
    float: none;
}

.article1, 
.article2, 
.article3 {
    margin-left: 25px;
    margin-right:  25px;
    margin-bottom: 0.1px;
    margin-top: 0.1px;
    padding: -5px 0px;
}
/* ========================
   Submission Page MOBILE
======================== */
.submission img{
    max-width: 700px;   
    height: auto;
}

footer .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }

    footer {
        font-size: 0.8rem;
    }

.container p{
    margin:0;
    padding: 0;
}

}


/* ===== Mobile (768px) ===== */
/* Responsive layout for mobile */
@media (max-width: 768px) {

     .nav-logo {
        margin-left: -0px;
    
    }

    .hero-image img{
    max-width: 200px; /* Resize the logo */
    margin-left: 0px;
    }

      .hero-text {
       display: none;
    }

    .hero-btn .btn {
       
        padding: 5px 15px;
        font-size: 0.5rem;
        font-weight: bold;
       
    }

    .article1 img, 
.article2 img, 
.article3 img{
    max-width: 300px;
    
}

.submission img{
    max-width: 300px;   
    height: auto;
}

}


/* ===== Small Mobile (≤480px) ===== */
@media (max-width: 480px) {

    /* Ensure desktop nav stays hidden */
    #Desktop {
        display: none;
    }

    html {
        font-size: 90%;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text h2 {
        font-size: 1.5rem;
    }

    .gallery h1,
    .gallery h2 {
        font-size: 1.8rem;
    }

 
  

    /* Burger animation */
    .burger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .burger.active span:nth-child(2) {
        opacity: 0;
    }

    .burger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}
