@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Open+Sauce:wght@400;700&family=Montserrat:wght@800&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap'); 

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BASE STYLES */
body {
    background-color: #FFFFFF; 
    color: #000000; 
    font-family: 'Raleway', Arial, sans-serif; /* Paragraph font */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* HEADER STYLING */
.main-header {
    background-color: #CD1C18;
    color: #FFFFFF;
    padding: 0px 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 999;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #FFFAFA;
    text-decoration: none;
}

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

.logo-text-container {
    display: flex;
    flex-direction: column;
    justify-content: center; 
    width: 250px;
}

.logo-main-title {
    font-family: 'Montserrat', 'Archivo Black', Impact, sans-serif;
    font-size: 3.0em; 
    font-weight: bold;
    line-height: 0.9;
}

.logo-subtitle {
    font-family: 'Archivo Black', Impact, sans-serif, sans-serif; 
    font-size: 0.3em; 
    line-height: 1.2;
    margin-top: 1.3px;
    white-space: nowrap;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #FFFAFA;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

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

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

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

.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav ul li {
    margin-left: 30px;
}

.main-nav ul li a {
    font-family: 'Archivo Black', Impact, sans-serif;;
    color: #FFFAFA;
    text-decoration: none;
    text-transform: uppercase; 
    font-weight: 500;
    font-size: 1.1em; 
    padding: 5px 10px;
    transition: color 0.3s;
}

.main-nav ul li a:hover {
    color: #CD1C18;
    background-color: #FFFAFA;
    border-radius: 5px;
}

.dropdown {
    position: relative; 
}

.dropdown-menu {
    display: none !important; 
    position: absolute;
    top: 100%; 
    left: 0;
    min-width: 250px;
    background-color: #CD1C18; 
    padding: 10px 0;
    margin-top: 5px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    z-index: 1000; 
    border-radius: 5px;
    list-style: none;
}

.dropdown:hover .dropdown-menu,
.dropdown.active .dropdown-menu {
    display: block !important; 
}

.dropdown-menu li {
    margin: 0; 
}

.dropdown-menu li a {
    display: block; 
    padding: 10px 20px;
    font-size: 1em;
    font-family: 'Raleway', Arial, sans-serif !important;
    font-weight: 650 !important;
    color: #FFFAFA;
}

.dropdown-menu li a:hover {
    background-color: #FFFFFF;
    color: #CD1C18;
    border-radius: 0; 
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    /* Header and Navigation */
    .main-header {
        padding: 0px 15px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        flex-wrap: wrap;
        position: relative;
    }
    
    .main-nav ul.nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #CD1C18;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
        padding: 20px 0;
        z-index: 1000;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    
    .main-nav ul.nav-menu.active {
        display: flex;
    }
    
    .main-nav ul li {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .main-nav ul li:last-child {
        border-bottom: none;
    }
    
    .main-nav ul li a {
        display: block;
        padding: 15px 20px;
        width: 100%;
        text-align: left;
    }
    
    .main-nav ul li a:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: #FFFAFA;
    }
    
    /* Dropdown Menu for Mobile */
    .dropdown {
        position: static;
    }
    
    .dropdown-menu {
        position: static;
        display: none !important;
        background-color: rgba(0, 0, 0, 0.2);
        margin: 0;
        padding: 0;
        box-shadow: none;
        border-radius: 0;
        width: 100%;
    }
    
    .dropdown.active .dropdown-menu {
        display: block !important;
    }
    
    .dropdown-menu li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .dropdown-menu li a {
        padding-left: 40px;
    }
    
    /* Logo adjustments for mobile */
    .logo-text-container {
        width: 180px;
    }
    
    .logo-main-title {
        font-size: 2.2em;
    }
    
    .logo-subtitle {
        font-size: 0.28em;
    }
    
    .logo-img {
        height: 50px;
    }
    
    /* About Us Section */
    .about-us-heading {
        padding: 0px 20px;
        font-size: 2em;
    }
    
    .about-us-text {
        padding: 0px 20px;
        font-size: 1em;
    }
    
    /* Vision, History, Contact Us, Careers Sections */
    .vision-section,
    .history-section,
    .contact-us-section,
    .careers-section {
        margin: 0px 20px 30px 20px;
        padding: 30px 20px;
    }
    
    .vision-heading,
    .history-heading,
    .contact-us-heading,
    .careers-heading {
        font-size: 2em;
    }
    
    .vision-text,
    .history-text,
    .contact-us-subtext,
    .careers-subtext {
        font-size: 1em;
    }
    
    /* Carousel adjustments */
    .carousel-container {
        padding: 0 20px;
    }
    
    .carousel-wrapper {
        height: auto;
        min-height: 300px;
    }
    
    .carousel-image {
        width: 100%;
        max-width: 300px;
        height: 300px;
    }
    
    .carousel-slide {
        flex-direction: column;
        gap: 15px;
    }
    
    /* Brochure button */
    .brochure-button-section {
        padding: 0 20px;
    }
    
    .brochure-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    
    /* Contact page */
    .hero-image-section {
        height: 300px;
    }
    
    .intro-section {
        padding: 20px 20px 0 20px;
    }
    
    .intro-text {
        font-size: 1.1em;
    }
    
    .contact-cards-section {
        padding: 20px;
    }
    
    .contact-details-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 15px;
    }
    
    /* Careers page */
    .careers-page-main {
        padding: 20px 0;
        min-height: auto;
    }
    
    /* Services page */
    .services-page-main {
        padding: 20px;
    }
    
    .service-box {
        padding: 20px;
    }
    
    .service-box-content {
        flex-direction: column;
    }
    
    .service-box-reverse {
        flex-direction: column;
    }
    
    .service-box-image {
        height: 250px;
    }
    
    .service-box-title {
        font-size: 2em;
    }
    
    /* Sectors page */
    .sectors-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, auto);
    }
    
    .sector-item {
        border-right: none;
        border-bottom: 2px solid #CE8946;
    }
    
    .sector-item:last-child {
        border-bottom: none;
    }
    
    .sectors-heading {
        font-size: 2em;
        margin-bottom: 40px;
    }
    
    .sector-text {
        font-size: 1.4em;
    }
    
    .sectors-overlay {
        padding: 40px 20px;
    }
    
    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-section {
        min-width: 100%;
        text-align: center;
    }
    
    .main-footer {
        padding: 20px 15px;
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    .logo-text-container {
        width: 150px;
    }
    
    .logo-main-title {
        font-size: 1.8em;
    }
    
    .logo-subtitle {
        font-size: 0.25em;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .about-us-heading,
    .vision-heading,
    .history-heading,
    .contact-us-heading,
    .careers-heading {
        font-size: 1.6em;
    }
    
    .carousel-image {
        max-width: 250px;
        height: 250px;
    }
    
    .contact-us-button,
    .careers-button,
    .brochure-button {
        padding: 10px 25px;
        font-size: 0.9em;
    }
}

/* FOOTER STYLING */
.main-footer {
    background-color: #f2f2f2;
    color: #000000;
    padding: 30px 30px 20px 30px;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    padding-bottom: 20px;
    border-bottom: 1px solid #ccc;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section h4 {
    font-family: 'Archivo Black', Impact, sans-serif;
    font-size: 1.2em;
    color: #000000;
    margin-bottom: 15px;
    text-transform: uppercase;
}

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

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

.contact-info p {
    font-family: 'Open Sauce', Arial, sans-serif !important;
}

.footer-section p {
    font-family: 'Raleway', Arial, sans-serif;
    font-size: 0.95em;
    line-height: 1.6;
}

.footer-section p strong {
    font-weight: bold;
}

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

.main-footer a:hover {
    color: #CD1C18;
    text-decoration: underline;
}

.copyright-bar {
    text-align: center;
    padding-top: 20px;
    font-family: 'Raleway', Arial, sans-serif;
    font-size: 0.9em;
}

.copyright-bar p {
    margin: 0;
}

/* MAIN CONTENT AREA */

/* CONTACT PAGE STYLING */
.hero-image-section {
    height: 450px;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.hero-img {
    object-fit: cover;
    object-position: top;
    justify-content: center;
}

/* INTRO TEXT SECTION */
.intro-section {
    padding: 30px 50px 0 50px;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    color: #111111;
}

.intro-text {
    font-family: 'Raleway', Arial, sans-serif; 
    font-size: 1.4em;
}

/* CONTACT CARDS GRID STYLING */
.contact-cards-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 50px;
}

.contact-details-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 30px auto;
}

.contact-card {
    background-color: #f2f2f2; 
    color: #000000;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    height: 100%;
    text-align: center;
}

.contact-card h3 {
    color: #CD1C18;
    margin-bottom: 5px;
    font-size: 1.2em;
    font-family: 'Raleway', 'Open Sauce', Arial, sans-serif;
}

.contact-card p {
    color: #000000;
    font-size: 0.9em;
    font-family: 'Raleway', 'Open Sauce', Arial, sans-serif;
}

.address-font {
    font-family: 'Raleway', Impact, sans-serif;
    line-height: 1.3;
}

.icon {
    display: block;
    width: 40px;
    height: 40px;
    margin: 0 auto 10px auto;
    border-radius: 50%;
    color: #FFFFFF;
    line-height: 40px;
    font-style: normal;
    font-weight: bold;
    font-size: 1.5em;
}

.location-icon:after { content: '📍'; }
.email-icon:after { content: '✉️'; }
.phone-icon:after { content: '📞'; }
.website-icon:after { content: '🌐'; }


/* Link color in cards */
.contact-card a {
    color: #000000;
    font-weight: normal;
}

.contact-card a:hover {
    color: #CD1C18;
}

/* INDEX - HOME PAGE STYLING */

.index-page-main {
    margin: 0 auto;
}

/* Image Carousel Section */
.image-carousel-section {
    width: 100%;
    background-color: #f2f2f2;
    padding: 40px 0;
    margin-bottom: 50px;
}

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

.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 420px; 
    overflow: hidden;
    border-radius: 5px;
}

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

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    gap: 60px;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
    pointer-events: none;
}

.carousel-image {
    width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Brochure Button Section */
.brochure-button-section {
    text-align: center;
    margin: 50px 0;
    padding: 0 100px;
}

.brochure-button {
    display: inline-block;
    background-color: #CD1C18;
    color: #FFFFFF;
    padding: 15px 40px;
    font-family: 'Archivo Black', Impact, sans-serif;
    font-size: 1.2em;
    text-decoration: none;
    border-radius: 5px;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
}

.brochure-button:hover {
    background-color: #A01512;
    transform: scale(1.05);
}

.brochure-button:active {
    transform: scale(0.98);
}

/* About Us Section */
.about-us-section {
    margin-bottom: 50px;
}

.about-us-heading {
    font-family: 'Archivo Black', Impact, sans-serif;
    font-size: 2.5em;
    color: #000000;
    margin-bottom: 20px;
    text-align: left;
    background-color: #f2f2f2;
    padding: 0px 100px;
}

.about-us-text {
    font-family: 'Raleway', Arial, sans-serif;
    font-size: 1.1em;
    line-height: 1.8;
    color: #000000;
    text-align: left;
    padding: 0px 100px;
}

/* Vision Section */
.vision-section {
    background-color: #f2f2f2;
    padding: 40px 50px;
    border-radius: 5px;
    margin: 0px 100px 50px 100px;
}

.vision-heading {
    font-family: 'Archivo Black', Impact, sans-serif;
    font-size: 2.5em;
    color: #000000;
    margin-bottom: 20px;
    text-align: left;
}

.vision-text {
    font-family: 'Raleway', Arial, sans-serif;
    font-size: 1.1em;
    line-height: 1.8;
    color: #000000;
    text-align: left;
}

/* Mission Section */
.history-section {
    background-color: #f2f2f2;
    padding: 40px 50px;
    border-radius: 5px;
    margin: 0px 100px 50px 100px;
}

.history-heading {
    font-family: 'Archivo Black', Impact, sans-serif;
    font-size: 2.5em;
    color: #000000;
    margin-bottom: 20px;
    text-align: left;
}

.history-text {
    font-family: 'Raleway', Arial, sans-serif;
    font-size: 1.1em;
    line-height: 1.8;
    color: #000000;
    text-align: left;
}

/* Contact Us Section */
.contact-us-section {
    background-color: #f2f2f2;
    padding: 40px 50px;
    border-radius: 5px;
    margin: 0px 100px 50px 100px;
}

.contact-us-container {
    text-align: center;
}

.contact-us-heading {
    font-family: 'Archivo Black', Impact, sans-serif;
    font-size: 2.5em;
    color: #000000;
    margin-bottom: 15px;
    text-align: center;
}

.contact-us-subtext {
    font-family: 'Raleway', Arial, sans-serif;
    font-size: 1.1em;
    line-height: 1.8;
    color: #000000;
    text-align: center;
    margin-bottom: 30px;
}

.contact-us-button-wrapper {
    text-align: center;
    margin-top: 20px;
}

.contact-us-button {
    display: inline-block;
    background-color: #CD1C18;
    color: #FFFFFF;
    padding: 15px 40px;
    font-family: 'Archivo Black', Impact, sans-serif;
    font-size: 1.2em;
    text-decoration: none;
    border-radius: 5px;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
}

.contact-us-button:hover {
    background-color: #A01512;
    transform: scale(1.05);
}

.contact-us-button:active {
    transform: scale(0.98);
}

/* Careers Section */
.careers-section {
    background-color: #f2f2f2;
    padding: 40px 50px;
    border-radius: 5px;
    margin: 50px 100px 50px 100px;
}

.careers-container {
    text-align: center;
}

.careers-heading {
    font-family: 'Archivo Black', Impact, sans-serif;
    font-size: 2.5em;
    color: #000000;
    margin-bottom: 15px;
    text-align: center;
}

.careers-subtext {
    font-family: 'Raleway', Arial, sans-serif;
    font-size: 1.1em;
    line-height: 1.8;
    color: #000000;
    text-align: center;
    margin-bottom: 30px;
}

.careers-button-wrapper {
    text-align: center;
    margin-top: 20px;
}

.careers-button {
    display: inline-block;
    background-color: #CD1C18;
    color: #FFFFFF;
    padding: 15px 40px;
    font-family: 'Archivo Black', Impact, sans-serif;
    font-size: 1.2em;
    text-decoration: none;
    border-radius: 5px;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
}

.careers-button:hover {
    background-color: #A01512;
    transform: scale(1.05);
}

.careers-button:active {
    transform: scale(0.98);
}    

/* CAREERS PAGE STYLING */
.careers-page-main {
    margin: 0 auto;
    padding: 40px 0;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* SERVICES PAGE STYLING */
.services-page-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 50px;
}

.service-box {
    background-color: #f2f2f2;
    margin-bottom: 30px;
    padding: 40px 50px;
    border-radius: 5px;
}

.service-box-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.service-box-reverse {
    flex-direction: row-reverse;
}

.service-box-left,
.service-box-right {
    flex: 1;
}

.service-box-title {
    font-family: 'Archivo Black', Impact, sans-serif;
    font-size: 2.5em;
    color: #000000;
    margin-bottom: 20px;
    text-align: left;
}

.service-box-text {
    font-family: 'Raleway', Arial, sans-serif;
    font-size: 1.1em;
    line-height: 1.8;
    color: #000000;
    text-align: left;
}

.service-box-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 5px;
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    .service-box-content {
        flex-direction: column;
    }
    
    .service-box-reverse {
        flex-direction: column;
    }
    
    .service-box-image {
        height: 300px;
    }
}

/* SECTORS PAGE - BACKGROUND IMAGE WITH GRID LAYOUT */
.sectors-page-main {
    margin: 0;
    padding: 0;
    min-height: calc(100vh - 200px);
}

.sectors-background-container {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 200px);
    background-image: url('images/services_sectors.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sectors-overlay {
    width: 100%;
    max-width: 1400px;
    padding: 60px 50px;
    position: relative;
    z-index: 1;
}

.sectors-heading {
    font-family: 'Archivo Black', Impact, sans-serif;
    font-size: 3em;
    /* color: #000000; */
    color: white;
    text-align: center;
    margin-bottom: 60px;
    text-transform: uppercase;
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 0;
    border: 2px solid #CE8946;
    background-color: transparent;
}

.sector-item {
    padding: 60px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 2px solid #CE8946;
    border-bottom: 2px solid #CE8946;
    background-color: transparent;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

/* Remove right border from items in the right column */
.sector-item:nth-child(3n) {
    border-right: none;
}

/* Remove bottom border from items in the last row */
/* .sector-item:nth-child(4),
.sector-item:nth-child(5),
.sector-item:nth-child(6) {
    border-bottom: none;
} */

.sector-item:hover {
    background-color: #CE8946;
}

.sector-text {
    font-family: 'Archivo Black', Impact, sans-serif;
    font-size: 1.8em;
    color: white;
    text-align: center;
    text-transform: uppercase;
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    .sectors-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, auto);
    }
    
    .sector-item {
        border-right: none;
        border-bottom: 2px solid #CBCBCB;
    }
    
    .sector-item:last-child {
        border-bottom: none;
    }
    
    .sectors-heading {
        font-size: 2em;
        margin-bottom: 40px;
    }
    
    .sector-text {
        font-size: 1.4em;
    }
    
    .sectors-overlay {
        padding: 40px 20px;
    }
    
    /* Responsive carousel */
    .carousel-wrapper {
        height: auto;
        min-height: 300px;
    }
    
    .carousel-image {
        width: 100%;
        max-width: 300px;
        height: 300px;
    }
    
    .carousel-slide {
        flex-direction: column;
        gap: 15px;
    }
    
    .brochure-button-section {
        padding: 0 20px;
    }
    
    .brochure-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    
    /* Responsive Contact Us and Careers sections */
    .contact-us-section,
    .careers-section {
        margin: 0px 20px 50px 20px;
        padding: 30px 20px;
    }
    
    .contact-us-heading,
    .careers-heading {
        font-size: 2em;
    }
    
    .contact-us-subtext,
    .careers-subtext {
        font-size: 1em;
    }
    
    .contact-us-button,
    .careers-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    
    /* Responsive footer */
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-section {
        min-width: 100%;
        text-align: center;
    }
    
    .main-footer {
        padding: 20px 15px;
    }
}