html {
    scroll-behavior: smooth;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0B5394;
    --secondary-color: 	#e60b2b;
    --accent-color: #cccccc;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
}

/* Adjust body padding to account for navbar height */
body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(45deg, rgba(11, 83, 148, 0.9), rgba(255, 0, 21, 0.9));
    color: #333;
    line-height: 1.6;
    padding-top: 120px; /* Leaves space for the navbar */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #ffffff00; /* Changed back to white */
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 3px 3px 5px rgba(0,0,0,0.1);
    height: 100px; /* Increased height for bigger logo */
    padding-left: 5%;
    padding-right: 5%;
}

.navbar.hidden {
    transform: translateY(-100%);
    transition: transform 0.5s ease-in-out;
}

.logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto; /* Prevent logo from shrinking */
}

.logo a {
    display: block;
    text-decoration: none;
}

.logo img {
    height: 40px; /* Restored original size */
    width: auto;
}

/* Navbar styles */
.navbar .logo img {
    height: 100px; /* Doubled the size of the logo */
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    left: 50%;
    align-items: right;
    justify-content: flex-end;
}

.nav-links ul {
  width: 100%;
  list-style: none;
  display: flex;
  justify-content: flex-end;
  align-items: right;
}

.nav-links a:hover {
    color: var(--text-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 20px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    width: 100%;
    padding: 2rem 0;
    padding-left: 5%;
    padding-right: 5%;
    background-color: #11111100;
    color: #fff;
    margin-bottom: 40px; /* Adds spacing below the hero section */
}

.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 2000px;
    padding-left: 5%;
    padding-right: 5%;
    margin: 0 auto;
    gap: 2rem;
    padding-left: 5%;
    padding-right: 5%;
}

.hero-content {
    text-align: center;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.1rem);
    margin-bottom: 1rem;
    color: #fff;
    text-align: left;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.hero-content .tagline {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    color: var(--white);
    letter-spacing: 1px;
    text-align: left;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.cta-button {
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 1000px;
    text-decoration: none;
    font-weight: bold;
    position: relative;
    background-color: var(--accent-color);
    z-index: 1;
}

.cta-button::after {
    content: '';
    color: var(--white);
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 1000px;
    background-image: linear-gradient(-45deg, #0B5394, #e60b2b);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.cta-button:hover::after {
    opacity: 2;
    color: var(--white)
}

.cta-button::before {
    color: var(--white);
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 105%;
    height: 110%;
    border-radius: 1000px;
    opacity: 1;
    z-index: 0;
    pointer-events: none;
}

.cta-button > * {
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    flex: 1;
    max-width: 100%;
}

.hero-grid .grid-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #22222200;
    border-radius: 10px;
    padding: 1rem;
    height: auto;
}

.hero-grid .grid-item img:hover {
    transform: scale(1.1); /* Slightly enlarge the icon on hover */
}

.hero-grid .grid-label {
    text-align: center;
    margin-top: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
    width: 100%;
}

.hero-grid .grid-label img:hover {
    transform: scale(1.1); /* Slightly enlarge the icon on hover */
}

/* Features Section - Align with hero section container */
.features {
    background: #fff;
    border-radius: 15px;
    padding: min(1rem,10%);
    padding-left: 5%;
    padding-right: 5%;
    margin: 40px;
    max-width: 2000px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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


.features h2 {
    color: #0B5394;
    text-align: center;
    margin-bottom: 15px;
    font-size: 2.5rem;
}

.features p {
    color: #333;
    text-align: left;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    padding-right: 5%;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.feature-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    padding: 20px 0;
}

footer a {
    color: #50c9c3;
    text-decoration: none;
}

footer a:hover {
    color: #4a90e2;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    font-size: 1.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Footer styles */
.Footer__ContainerFooter {
    background-color: rgba(153, 0, 255, 0);
    color: #fff;
    padding: 20px 0;
    align-items: center;
}

.Footer__RowContainer {
    display: flex;
    justify-content: center; /* Center all elements in the footer */
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
    padding-left: 5%;
}

.Footer__Logo {
    height: 50px;
    width: auto;
}

.Footer__LogoSize {
    margin-right: 20px; /* Add spacing between logo and links */
}

.Footer__LinkS {
    margin: 0 10px; /* Ensure links are evenly spaced */
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
}

.nav-link:hover {
    color: #e60b2b;
}

.Footer__ContactButton {
    margin-left: 20px; /* Add spacing between links and contact button */
}

.Footer__ContactButton .cta-button {
    background: #0B5394;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.Footer__ContactButton .cta-button:hover {
    background: #4a90e2;
}

.Footer__RowContainerIcons {
    display: flex;
    justify-content: center; /* Center social icons */
    gap: 10px;
    margin-top: 10px;
}

.Footer__RowContainerIcons a {
    font-size: 1.5rem;
    color: #fff;
    text-decoration: none;
}

.Footer__RowContainerIcons a:hover {
    color: #50c9c3;
}

.Footer__FooterText {
    text-align: center;
    margin-top: 10px;
}

/* About Page Styles */
.about-hero {
    background: linear-gradient(rgba(11, 83, 148, 0.9), rgba(153, 0, 255, 0.9)),
                url('../images/about-bg.jpg') center/cover;
    height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 0;
}

.about-content {
    max-width: 800px;
    padding: 0 1rem;
}

.about-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.about-content p {
    font-size: 1.2rem;
}

.about-story {
    padding: 5rem 5%;
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.about-story h2 {
    text-align: center;
    color: rgba(153, 0, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.about-story > .container > p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--light-bg);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
}

.value-item i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.value-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.team {
    padding: 5rem 5%;
    background-color: var(--light-bg);
}

.team h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.member-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    color: var(--primary-color);
    margin: 1rem 0 0.5rem;
}

.team-member p {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Products Page Styles */
.products-hero {
    background: linear-gradient(rgba(11, 83, 148, 0.9), rgba(153, 0, 255, 0.9)),
                url('../images/products-bg.jpg') center/cover;
    height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 0;
}

.products-content {
    max-width: 800px;
    padding: 0 1rem;
}

.products-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.products-content p {
    font-size: 1.2rem;
}

.products-showcase {
    padding: 5rem 5%;
    background-color: var(--light-bg);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 2rem;
}

.product-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.product-info p {
    color: var (--text-color);
    margin-bottom: 1.5rem;
}

.product-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.product-features li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-features i {
    color: var(--secondary-color);
}

.product-benefits {
    padding: 5rem 5%;
    background-color: var(--white);
}

.product-benefits h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--light-bg);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-item i {
    font-size: 2.5rem;
    color: var (--secondary-color);
    margin-bottom: 1rem;
}

.benefit-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Products Section */
.product-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 2rem;
}

.product-text {
    flex: 1;
    max-width: 50%;
    text-align: left;
}

.product-text h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.product-text p {
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.6;
    text-align: left;
    font-family: "Montserrat", sans-serif;
}

.product-text ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-top: 1rem;
    color: var(--primary-color);
    font-family: "Montserrat", sans-serif;
}

.product-text ul li {
    margin-bottom: 0.5rem;
}

.product-image {
    flex: 1;
    max-width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    color: var(--primary-color);
}

.product-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    align-self: center;
}

.product-image h2 {
    text-align: center;
    align-content: center;
    display: flex;
    justify-content: center;
    color: var(--primary-color);
    margin-top: 1rem;
    font-size: 2rem;
    font-family: "Montserrat", sans-serif;
}

/* Use Cases Page Styles */
.use-cases-hero {
    background: linear-gradient(rgba(11, 83, 148, 0.9), rgba(153, 0, 255, 0.9)),
                url('../images/use-cases-bg.jpg') center/cover;
    height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 0;
}

.use-cases-content {
    max-width: 800px;
    padding: 0 1rem;
}

.use-cases-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.use-cases-content p {
    font-size: 1.2rem;
}

.case-studies {
    padding: 5rem 5%;
    background-color: var(--light-bg);
}

.case-study-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.case-study-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.case-study-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.case-study-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-study-content {
    padding: 2rem;
}

.case-study-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.case-study-content > p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.case-study-details {
    border-top: 1px solid var(--light-bg);
    padding-top: 1.5rem;
}

.case-study-details h4 {
    color: var(--primary-color);
    margin: 1rem 0 0.5rem;
    font-size: 1.2rem;
}

.case-study-details p {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.case-study-details ul {
    list-style: none;
    padding-left: 0;
}

.case-study-details ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.case-study-details ul li:before {
    content: "•";
    color: var(--secondary-color);
    position: absolute;
    left: 0;
}

.cta-section {
    padding: 5rem 5%;
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .cta-button {
    background-color: var(--white);
    color: var (--primary-color);
}

.cta-section .cta-button:hover {
    background-color: var(--light-bg);
}

/* News Page Styles */
.news-hero {
    background: linear-gradient(rgba(11, 83, 148, 0.9), rgba(153, 0, 255, 0.9)),
                url('../images/news-bg.jpg') center/cover;
    height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 0;
}

.news-content {
    max-width: 800px;
    padding: 0 1rem;
}

.news-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.news-content p {
    font-size: 1.2rem;
}

.news-grid {
    padding: 5rem 5%;
    background-color: var (--light-bg);
}

.news-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    border: none;
    background-color: var(--white);
    color: var(--text-color);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.news-articles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.news-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.news-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card .news-content {
    padding: 1.5rem;
    color: var(--text-color);
}

.news-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.news-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.news-card p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.read-more {
    color: var(--secondary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--primary-color);
}

.news-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination-btn {
    padding: 0.5rem 1rem;
    border: 1px solid var(--secondary-color);
    background-color: transparent;
    color: var(--secondary-color);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-btn.active,
.pagination-btn:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.pagination-btn.next {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.newsletter {
    padding: 5rem 5%;
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.newsletter h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.newsletter p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

.newsletter-form .cta-button {
    background-color: var(--white);
    color: var(--primary-color);
}

.newsletter-form .cta-button:hover {
    background-color: var(--light-bg);
}


/* Contact Page Styles */
.contact-hero {
    background: linear-gradient(rgba(11, 83, 148, 0.9), rgba(153, 0, 255, 0.9)),
                url('../images/contact-bg.jpg') center/cover;
    height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 0;
}

.contact-content {
    max-width: 800px;
    padding: 0 1rem;
}

.contact-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-content p {
    font-size: 1.2rem;
}

.contact-section {
    padding: 5rem 5%;
    background-color: var(--light-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.contact-info {
    padding: 2rem;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.contact-info > p {
    color: var(--text-color);
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.info-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.info-item p {
    color: var(--text-color);
    line-height: 1.6;
}

.contact-form {
    padding: 2rem;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.contact-form h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.form-group textarea {
    width: 100%;
    height: 200px; /* Fixed height */
    min-height: 200px; /* Minimum height */
    max-height: 200px; /* Maximum height */
    resize: none; /* Prevents resizing */
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form .cta-button {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
}

.map-section {
    padding: 0;
}

.map-container {
    width: 100%;
    height: 450px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
}

/* Adjust offset for anchor links */
:target::before {
    content: "";
    display: block;
    height: 80px; /* Reduced height to scroll less */
    margin-top: -80px; /* Adjusted negative margin accordingly */
    visibility: hidden;
}

.sidebar{
  position: fixed;
  top: 0; 
  right: 0;
  height: 100vh;
  width: 250px;
  z-index: 999;
  background-color: rgba(255, 255, 255, 0.514);
  backdrop-filter: blur(40px);
  box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
  list-style: none;
  display: none; /* Always hidden by default */
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.sidebar li{
  width: 100%;
}
.sidebar a {
    width: 100%;
    font-size: 40px;
    font-family: 'Montserrat', sans-serif;
    color: #0B5394;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Only apply hover effect to sidebar text links, not the first (X) icon */
.sidebar a:not(:first-child):hover {
    background-color: var(--secondary-color);
    width: 100%;
    color: #ffffff;
    border-radius: 5px;
}

.nav-links a {
    color: #ffffff; /* Ensure text is visible on white background */
    height: 100%;
    display: flex;
    text-decoration: none;
    align-items: center;
    font-weight: 600;
    padding: 0 10px;
    font-size: 1.1rem; /* Slightly larger font */
    text-transform: uppercase; /* Optional: makes text uppercase */
    letter-spacing: 0.5px; /* Optional: adds slight spacing between letters */
}

.menu-button{
  display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info,
    .contact-form {
        padding: 1.5rem;
    }
}

@media(max-width: 800px){
  .hideOnMobile{
    display: none;
  }
  .menu-button{
    display: block;
  }
}

@media(max-width: 400px){
  .sidebar{
    width: 100%;
  }
}

.hero-animation {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 0;
    background: transparent;
}

.responsive-animation {
    max-width: 400px;
    width: 100%;
    height: auto;
    display: block;
    background: transparent;
}

@media (max-width: 900px) {
    .hero-container {
        flex-direction: column;
        align-items: center;
    }
    .hero-animation {
        margin-top: 2rem;
        width: 100%;
    }
    .responsive-animation {
        max-width: 80vw;
    }
}

@media (max-width: 600px) {
    .responsive-animation {
        max-width: 100vw;
    }
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #007bff;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease;
    z-index: 1000;
}

.back-to-top:hover {
    background-color: #0056b3;
}