@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    line-height: 1.6;
    color: #00032c; /* Inverted: Light text color */
    background-color: #f9f9fc; /* Inverted: Dark background color */
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-image {
    width: 100px;
    height: 100px;
    margin-right: 10px;
    border-radius: 5%;
    margin-left: 30px;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.1); /* Inverted: Light shadow */
}

.logo a {
    font-weight: bold;
    font-size: 1.5rem;
    color: #00032c; /* Inverted: Light text color */
    white-space: nowrap;
    text-decoration: none;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.content-section {
    padding: 70px 0;
    opacity: 0;
    transform: translateY(0px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.content-section.show {
    opacity: 1;
    transform: translateY(30px);
}

.first-container {
    padding: 120px 0 70px 0;
}

h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #00032c; /* Inverted: Light text color */
}

.btn {
    display: inline-block;
    background-color: #00032c; /* Inverted: Light button background */
    color: #ffffff; /* Inverted: Blue text color */
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #d9d9d9; /* Inverted: Lighter button background on hover */
    color: #0056b3; /* Inverted: Darker blue text on hover */
}

/* Header Styles */
header {
    position: fixed; /* Fixed position to stay at the top */
    top: 0;
    left: 0;
    width: 100%;
    background-color: #f8f9fa; /* Adjust to your theme */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000; /* Ensure it stays on top */
    transition: transform 0.3s ease-in-out; /* Smooth transition for hiding/showing */
}

.header-hidden {
    transform: translateY(-100%);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links li {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.nav-links li:hover {
    background-color: #010764;
    a {
        color: #fff;
    }
}

.nav-links a {
    text-decoration: none;
    color: #00032c; /* Inverted: Light gray text color */
    transition: color 0.3s ease, background-color 0.3s ease;
    font-size: large;
    padding: 5px 10px;
}

/* Desktop Dropdown Menu Styles */
.nav-links .dropdown {
    position: relative; /* For positioning the dropdown menu */
    /*display: inline-block;  Aligns with other li elements in flex container */
}

.nav-links .dropdown-toggle {
    /* Inherits base styles from .nav-links a */
    cursor: pointer;
}

.nav-links .dropdown-menu-desktop {
    display: none; /* Hidden by default */
    position: absolute;
    top: 100%; /* Position below the toggle */
    left: 0;
    background-color: #fcf9f9; /* Match header background */
    min-width: 200px; /* Adjust as needed */
    box-shadow: 0px 4px 8px rgba(0,0,0,0.1); /* Consistent shadow style */
    z-index: 101; /* Ensure it's above other content */
    list-style: none;
    padding: 8px 0; /* Padding around the list of items */
    margin: 0;
    border-radius: 0 0 4px 4px; /* Rounded corners for the bottom */
}

.nav-links .dropdown:hover .dropdown-menu-desktop,
.nav-links .dropdown .dropdown-toggle:focus + .dropdown-menu-desktop,
.nav-links .dropdown .dropdown-toggle:focus-within + .dropdown-menu-desktop, /* Catches focus on children too */
.nav-links .dropdown-menu-desktop:hover { /* Keep open if mouse moves onto the menu */
    display: block;
}

.nav-links .dropdown-menu-desktop li {
    display: contents;
}

.nav-links .dropdown-menu-desktop li a {
    color: #00032c; /* Match other nav links text color */
    padding: 10px 20px;
    text-decoration: none;
    display: block;
    white-space: nowrap;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-links .dropdown-menu-desktop li a:hover {
    background-color: #e9e9e9; /* A slightly different hover background for dropdown items */
    color: #2c38df; /* Match main link hover color */
}

/* Mobile Menu Grouping Styles */
.hamburger-menu .menu .mobile-menu-header-item {
    background-color: #f0f0f0; /* Slightly different background to distinguish as header */
    /* This item should not have the standard hover effect of other menu items */
}

.hamburger-menu .menu .mobile-menu-header-item:hover {
    background-color: #f0f0f0; /* Override .menu li:hover */
}

.hamburger-menu .menu .mobile-menu-header-item .mobile-menu-header-text {
    display: block;
    padding: 10px; /* Consistent with .menu li a padding */
    color: #333333; /* Darker, distinct color for header text */
    font-weight: bold;
    /* text-align is inherited from .menu li */
}

.hamburger-menu .menu li a.mobile-submenu-link {
    padding-left: 25px !important; /* Indent submenu items. Use !important if needed to override base padding. */
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero.show {
    opacity: 1;
    transform: translateY(0);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #877ad1;
    z-index: 2;
    /* Ensure text is above the carousel */
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #fff;
    /* Light text color */
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #d9d9d9;
    /* Light gray text color */
}

.line {
    width: 25px;
    height: 3px;
    background-color: #00032c; /* Inverted: Light color for lines */
    margin: 5px 0;
    transition: 0.3s;
}

/* Media Query for Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #fcf9f9; /* Inverted: Dark background */
        text-align: center;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .hamburger {
        display: block;
    }

    .nav-links.active {
        display: flex;
    }
}

/* Footer Styles */
footer {
    background-color: #00032c; /* Inverted: Light background */
    color: #fcf9f9; /* Inverted: Dark text color */
    text-align: center;
    padding: 20px 0;
}


/* Carousel Styles */
.carousel-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-images {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-image {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    object-fit: cover;
    display: none;
}

.carousel-image.active {
    display: block;
}

.prev-button,
.next-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.5);
    /* Light button background */
    color: #fcf9f9;
    /* Dark text color */
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 3;
    /* Ensure buttons are above the carousel */
}

.prev-button {
    left: 10px;
}

.next-button {
    right: 10px;
}

/* Info Section */

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

.info-text {
    flex: 1;
}

.info-image {
    flex: 1;
    text-align: center;
}

.info-image img {
    max-width: 80%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.1); /* Inverted: Light shadow */
}


/* Responsive Design for Info Section */
@media (max-width: 768px) {
    .info-content {
        flex-direction: column;
        gap: 20px;
    }
}

.hamburger-menu {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-right: 10px;
    cursor: pointer;
}

.menu-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
    padding: 5px;
}

.menu-line {
    width: 100%;
    height: 3px;
    background-color: #00032c; /* Inverted: Light color for lines */
    transition: 0.3s;
}

.menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fcf9f9; /* Inverted: Dark background */
    width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(255, 255, 255, 0.2); /* Inverted: Light shadow */
    z-index: 1;
    display: none;
}

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

.menu li {
    padding: 10px;
    text-align: left;
}

.menu li:hover {
    background-color: #010764;
}

.menu li:hover a {
    color: #fff;
}

.menu li a {
    text-decoration: none;
    color: #00032c; /* Inverted: Light gray text color */
    display: block;
}

.menu-toggle {
    display: none;
}

.menu-toggle:checked+.menu-icon .menu-line:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle:checked+.menu-icon .menu-line:nth-child(2) {
    opacity: 0;
}

.menu-toggle:checked+.menu-icon .menu-line:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.menu-toggle:checked~.menu {
    display: block;
}

/* Intercalated Section Colors */
.content-section:nth-child(odd) {
    background-color: #fcf9f9; /* Dark background for odd sections */
    color: #00032c; /* Light text for odd sections */
}

.content-section:nth-child(even) {
    background-color: #00032c; /* Light background for even sections */
    color: #fcf9f9; /* Dark text for even sections */
}

.content-section:nth-child(even) h2,
.content-section:nth-child(even) p {
    color: #fcf9f9;
}

.content-section:nth-child(odd) h2,
.content-section:nth-child(odd) p {
    color: #00032c;
}

.content-section:nth-child(even) .info-image img {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.content-section:nth-child(odd) .info-image img {
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.1);
}

/* Different Transition Effects for Each Section */
.content-section:nth-of-type(1) {
    transform: translateX(-50px); /* Slide from left */
}

.content-section:nth-of-type(2) {
    transform: translateY(50px); /* Slide from bottom */
}

.content-section:nth-of-type(3) {
    transform: scale(0.8); /* Scale down */
}

.content-section:nth-of-type(4) {
    transform: rotate(10deg); /* Rotate */
}

.content-section:nth-of-type(5) {
    transform: translateX(50px); /* Slide from right */
}

.content-section:nth-of-type(6) {
    transform: translateY(-50px); /* Slide from top */
}

.content-section:nth-of-type(7) {
    transform: scale(1.2); /* Scale up */
}

.content-section:nth-of-type(8) {
    transform: rotate(-10deg); /* Rotate */
}

.content-section.show {
    opacity: 1;
    transform: none; /* Reset transform when visible */
}

/* PDF Links */
.pdf-links {
    margin-bottom: 20px;
}

.pdf-link {
    display: inline-block;
    border-color: #0056b3;
    background-color: #3835c2;
    color: #fcf9f9;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-right: 10px;
    transition: background-color 0.3s ease;
}

.pdf-link:hover {
    background-color: #d9d9d9;
}

/* PDF Icon Styles */
a[href$=".pdf"] {
    display: inline-flex; /* Use flex to align icon and text */
    align-items: center; /* Vertically center icon and text */
    gap: 5px; /* Add some space between icon and text */
}

a[href$=".pdf"]::before {
    content: ""; /* Remove the Font Awesome icon */
    display: inline-block;
    width: 16px; /* Set the width of the SVG */
    height: 16px; /* Set the height of the SVG */
    margin-right: 5px;
    background-image: url("../img/pdf-icon.svg");
    background-repeat: no-repeat;
    background-size: contain;
}

/* Contact Section Social Icons */
.social-icons-contact {
    margin-top: 20px; /* Space above the icons */
    display: flex;
    justify-content: center; /* Center the icons */
    gap: 20px; /* Space between icons */
}

.social-icons-contact a {
    display: inline-block;
    transition: transform 0.2s ease-in-out;
}

.social-icons-contact img {
    width: 30px; /* Adjust size as needed */
    height: 30px; /* Adjust size as needed */
}

.social-icons-contact a:hover {
    transform: scale(1.1); /* Slight zoom effect on hover */
}