/* Global Styles */
body {
    font-family: 'Montserrat', sans-serif;;
    margin: 0;
    padding: 0;
    color: white;
    background-color: #f8f9fa;
 
}

  
/* General styles for interactive elements */
button, a, input, textarea, .hamburger {
    outline: none;
    -webkit-tap-highlight-color: transparent; /* For mobile webkit browsers */
}

/* Specific styles for focus state on smaller devices */
@media (max-width: 768px) {
    button:focus, a:focus, input:focus, textarea:focus, .menu-icon:focus {
        outline: none; /* Remove focus outline */
    }

    button:active, a:active, input:active, textarea:active, .menu-icon:active {
        outline: none; /* Remove active outline */
    }

    /* For iOS Safari, Android Chrome, and other mobile browsers */
    button:focus, a:focus, input:focus, textarea:focus, .menu-icon:focus {
        -webkit-box-shadow: none;
        box-shadow: none;
    }

    button:active, a:active, input:active, textarea:active, .menu-icon:active {
        -webkit-box-shadow: none;
        box-shadow: none;
    }
}

:root {
    --hue: 190deg;
    --sat: 50%;
    --clr: #3498DB;
    --clr2: #3498DB;
    --text: white;
    --gradgap: 30%;
    --gradoffset: 45%;
  }

  .aqua-button {
    font-size: 1.2rem;
    color: var(--text);
    background: var(--clr);
    background-image: linear-gradient(180deg, var(--clr2) var(--gradgap), transparent calc(100% - var(--gradgap)));
    background-position: center var(--gradoffset);
    background-size: 100% 200%;
    border: none;
    border-radius: 2em;
    padding: 0.75em 1.25em;
    box-shadow: 0 0.25em 0.5em hsla(var(--hue), var(--sat), 50%, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
  }
  
  .aqua-button:hover {
    background-position: center calc(var(--gradoffset) - 0.75em);
    box-shadow: 0 0.4em 1.5em hsla(var(--hue), var(--sat), 80%, 0.6);
  }
  
  .aqua-button svg {
    margin-left: 0.5em;
    height: 1em;
    min-width: 1em;
  }
  
/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%; /* 100% width for navbar */
    height: 100px;
    background: white; /* Background color */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

/* Logo */
.navbar .logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-left: 10px; /* Remove margin left for proper positioning */
    flex: 1; /* Allow the logo to take the available space */
}

/* Navigation Links */
.navbar nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    flex: 1; /* Allow nav items to be aligned to the right */
    justify-content: flex-end; /* Align items to the right */
}

.navbar nav ul li {
    margin: 0 15px;
}

.navbar nav ul li a {
    position: relative;
    text-decoration: none;
    font-size: 1rem;
    color: #666;
    padding: 8px 12px;
    transition: color 0.3s ease;
}

/* Hover Effects */
.navbar nav ul li a:hover {
    color: #333; /* Optional: Darker text color on hover */
}

/* Underline Animation */
.navbar nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #3498DB; /* Blue underline */
    transition: width 0.3s ease;
    z-index: -1; /* Place below the text */
}

.navbar nav ul li a:hover::after {
    width: 100%; /* Expand underline on hover */
}

/* Media Query for Tablets and Smaller Devices */
@media (max-width: 800px) {

    /* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%; /* 100% width for navbar */
    height: 70px;
    background: white; /* Background color */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}
    .navbar nav ul {
        flex-direction: column; /* Stack the menu items vertically */
        background-color: white; /* Background color for mobile menu */
        position: absolute; /* Position the menu on top of the content */
        top: 70px; /* Adjust depending on header height */
        right: 0;
        width: 100%;
        display: none; /* Hide the menu by default */
        z-index: 100; /* Ensure the menu appears on top */
    }

    .navbar nav ul li {
        margin: 10px 0; /* Space out the items */
        text-align: center; /* Center the text */
    }

    .navbar nav ul.active {
        display: flex; /* Show the menu when active */
    }

    /* Styling for hamburger button */
    .hamburger {
        display: flex; /* Show hamburger on small screens */
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
        width: 30px;
        height: 30px;
        cursor: pointer;
        z-index: 110; /* Make sure it is on top of the menu */
        position: absolute; /* Position hamburger on the far right */
        top: 50%; /* Vertically center it within the navbar */
        transform: translateY(-50%); /* Adjust for exact vertical centering */
        right: 5%; /* Move the hamburger button away from the right edge */
    }

    .hamburger div {
        width: 30px;
        height: 4px;
        background-color: black;
        border-radius: 5px;
        transition: all 0.3s ease-in-out;
    }

  /* When the menu is open, animate the hamburger */
.hamburger.open div:nth-child(1) {
    transform: rotate(45deg);
    top: 10px; /* Move the first line upwards */
    position: absolute;
}

.hamburger.open div:nth-child(2) {
    opacity: 0; /* Hide the middle line */
}

.hamburger.open div:nth-child(3) {
    transform: rotate(-45deg);
    top: 10px; /* Move the third line upwards */
    position: absolute;
}
}

.logo img {
  height: 50px; /* Adjust height as needed */
  width: auto;  /* Maintains aspect ratio */
}

.hero {
    position: relative;
    width: 100%;
    height: 100vh; /* Ensures the hero section takes the full height of the viewport */
    background: url('assets/photo-1717278087654-3806480d8c5e (1).avif') center/cover no-repeat;
    background-attachment: fixed; /* Remove fixed attachment to prevent jump */
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    color: white;
    overflow: hidden;
  }
  
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0000005c; /* Black overlay with 50% opacity */
    z-index: 1; /* Ensures the overlay appears above the background but below content */
}
/* Hero Section Content Styling */
.hero-content {
    position: absolute; /* Use absolute positioning */
    bottom: 30px; /* Position it 30px from the bottom */
    left: 50px; /* Align to the left */
    text-align: left; /* Align text to the left on larger screens */
    padding: 20px;
    z-index: 2;
   
}

/* Centering Content on Smaller Screens (Tablets and Phones) */
@media (max-width: 768px) {
    .hero-content {
        position: absolute; /* Use absolute positioning */
        top: 50%; /* Center vertically */
        left: 50%; /* Center horizontally */
        transform: translate(-50%, -50%); /* Adjust both X and Y axis for perfect centering */
        text-align: center; /* Center text */
      }
      .hero {
        position: relative;
        width: 100%;
        height: 100vh; /* Ensures the hero section takes the full height of the viewport */
        background: url('assets/hero_background.jpg') center/cover no-repeat;
        background-attachment: scroll; /* Remove fixed attachment to prevent jump */
        display: flex;
        justify-content: center; /* Center horizontally */
        align-items: center; /* Center vertically */
        color: white;
        overflow: hidden;
      }

    .aqua-button {
        font-size: 1.1rem;
        color: var(--text);
        background: var(--clr);
        background-image: linear-gradient(180deg, var(--clr2) var(--gradgap), transparent calc(100% - var(--gradgap)));
        background-position: center var(--gradoffset);
        background-size: 100% 200%;
        border: none;
        border-radius: 2em;
        padding: 0.75em 1.25em;
        box-shadow: 0 0.25em 0.5em hsla(var(--hue), var(--sat), 50%, 0.4);
        cursor: pointer;
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
      }
}


.hero h1 {
    font-size: 56px;
    margin: 0;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.hero p {
    font-size: 1.5rem;
    margin: 20px 0;
    margin-bottom: 45px;
}

.cta {
    display: inline-block;
    background: #3498DB;
    color: #fff;
    padding: 15px 30px;
    border-radius: 28px;
    font-weight: 500;
    text-decoration: none;
    font-size: 16px;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 40px; /* Smaller title on mobile */
    }
    .hero p {
        font-size: 1.125rem; /* Adjust paragraph size */
    }
}
/* About Section Styling */
.about-section {
    padding: 80px 20px;
    background-color: white;
}

.about-container {
    display: flex;
    align-items: center; /* Vertically center content */
    justify-content: space-between; /* Space out the text and image */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    max-width: 1200px;
    margin: 0 auto;
}

.about-text {
    flex: 1; /* Take up remaining space */
    padding-right: 30px; /* Space between text and image */
    color: black;
    font-family: 'Montserrat', sans-serif;
}

.about-text h2 {
    font-size: 56px;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.about-image {
    flex: 1;
    position: relative; /* Needed to position the quote box inside the image */
    padding-bottom: 0; /* Remove bottom padding */
    width: 80%; /* Image div takes up 80% of the container */
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: center;
    align-items: center; /* Center the quote box vertically */
}

.about-image img {
    width: 100%; /* Ensure the image fits its container */
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Quote Box Styling */
.quote-box {
    position: absolute;
    top: 80%;  /* Position it in the middle vertically */
    left: 50%; /* Position it in the middle horizontally */
    transform: translate(-50%, -50%); /* Offset by 50% of its own width/height for perfect centering */
    width: 80%; /* Make the quote box take up 80% of the .about-image's width */
    height: 100px; /* Fixed height for the quote box */
    background-color: #F0EAD6; /* Semi-transparent background */
    color: black;
    display: flex;
    justify-content: center; /* Center the content horizontally */
    align-items: center; /* Center the content vertically */
    padding: 10px;
    box-sizing: border-box;
    border-radius: 8px;
}

/* Styling for the strong element */
strong {
    font-weight: bold;
    font-size: 32px;
}

/* Styling for the paragraph inside the quote box */
.quote-box p {
    font-size: 1rem;
    text-align: center; /* Ensure text is centered within the paragraph */
    margin: 0; /* Remove default margin */
}


/* Responsive Design for Smaller Screens */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column; /* Stack the text and image vertically */
        text-align: center;
    }

    .about-text {
        padding-right: 0;
        margin-bottom: 20px;
    }

    .about-image img {
        width: 90vw; /* Image takes up 80% of the width on mobile */
    }

  /* Quote Box Styling */
.quote-box {
    position: absolute;
    top: 70%;  /* Position it in the middle vertically */
    left: 50%; /* Position it in the middle horizontally */
    transform: translate(-50%, -50%); /* Offset by 50% of its own width/height for perfect centering */
    width: 80%; /* Make the quote box take up 80% of the .about-image's width */
    height: 100px; /* Fixed height for the quote box */
    background-color: #F0EAD6; /* Semi-transparent background */
    color: black;
    display: flex;
    justify-content: center; /* Center the content horizontally */
    align-items: center; /* Center the content vertically */
    padding: 10px;
    box-sizing: border-box;
    border-radius: 8px;
}
}



/* General Styling */
.worship-section {
    text-align: center;
    font-family: Arial, sans-serif;
  padding-top: 100px;
 
    background: #F0EAD6;
    height: auto;
  }
  
  .intro-text h3 {
    font-size: 56px;
    margin: 0;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.3;
    color: #0d141a;
    
  }
  
  .intro-text p {
    margin: 10px 0;
    font-size: 20px;
    color: #555;
    margin-bottom: 100px;
  }
  
 /* Ensure all .text-below elements have the same height */
.image-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  align-items: stretch; /* Align all children to the tallest one */
}
  .image-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 45%; /* Adjust width as needed */
  }
  
  .image-block img {
    width: 100%;
    height: auto;
    max-height: 350px;
    aspect-ratio: 3 / 2; /* Flat and wide images */
    border-radius: 8px;
    object-fit: cover; /* Ensures zoom effect */
    object-position: center; /* Centers the image focus */
  }
  
/* Parent container */
.image-block {
    position: relative; /* Allows positioning of .text-below within it */
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 45%; /* Adjust width as needed */
   margin-bottom: 100px;
    padding-bottom: 140px; /* Add extra padding to give space at the bottom */
}

/* Absolute positioning for .text-below */
.text-below {
    position: absolute; /* Position in relation to the parent */
    bottom: 0px; /* Move it 120px below the bottom of the parent container */
    left: 50%; /* Center horizontally */
    transform: translateX(-50%); /* Offset by 50% of its width for exact centering */
    text-align: center;
    padding: 20px;
    background-color: white; /* Background for the box */
    width: 90%; /* Box takes up 90% of the parent container's width */
    border-radius: 8px; /* Rounded corners */
    display: flex;
    flex-direction: column;
    justify-content: center;
     /* Fixed height for consistency */
    box-sizing: border-box; /* Include padding in the height calculation */
    z-index: 10;
    height:auto;
    max-height: 400px;
}
.youtube{
  color:#3498DB;
}
/* Text inside .text-below */
.text-below h6 {
    font-size: 24px;
    margin-bottom: 5px;
    color: #0d141a;
}
p {
  display: block;
  padding-top: 15px;
  margin-block-start: 0em;
  margin-block-end: 0em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  unicode-bidi: isolate;
}
.text-below p {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    color: rgb(86, 88, 94);
}
/* Media Query for Tablets and Smaller Screens */
@media (max-width: 768px) {
    .image-grid {
        flex-direction: column; /* Keep stacking images vertically */
        gap: 200px; /* Small gap between images */
        
        justify-content: center; /* Center the content horizontally */
        align-items: center; /* Center the content vertically */
    }

    .image-block {
        width: 90%; /* Make the image blocks almost full width */
        margin-bottom: 40px; /* Adjust bottom margin */
        padding-bottom: 0;
      
    }

    /* Absolute positioning for .text-below */
.text-below {
    position: absolute; /* Position in relation to the parent */
    bottom: -120px; /* Move it 120px below the bottom of the parent container */
    left: 50%; /* Center horizontally */
    transform: translateX(-50%); /* Offset by 50% of its width for exact centering */
    text-align: center;
    padding: 20px;
    background-color: white; /* Background for the box */
    width: 90%; /* Box takes up 90% of the parent container's width */
    border-radius: 8px; /* Rounded corners */
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: auto; /* Fixed height for consistency */
    box-sizing: border-box; /* Include padding in the height calculation */
    z-index: 10;
}

  /* General Styling */
.worship-section {
    text-align: center;
    font-family: Arial, sans-serif;
  padding-top: 100px;
    background: #F0EAD6;
    padding-bottom: 100px;
  }
}

/* Media Query for Mobile Devices (Below 480px) */
@media (max-width: 480px) {

       /* Absolute positioning for .text-below */
.text-below {
  position: absolute; /* Position in relation to the parent */
  bottom: -300px; /* Move it 120px below the bottom of the parent container */
  left: 50%; /* Center horizontally */
  transform: translateX(-50%); /* Offset by 50% of its width for exact centering */
  text-align: center;
  padding: 20px;
  background-color: white; /* Background for the box */
  width: 90%; /* Box takes up 90% of the parent container's width */
  border-radius: 8px; /* Rounded corners */
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: auto; /* Fixed height for consistency */
  box-sizing: border-box; /* Include padding in the height calculation */
  z-index: 10;
}

    .image-grid {
        flex-direction: column; /* Keep stacking images vertically */
        gap: 400px; /* Small gap between images */
        
        justify-content: center; /* Center the content horizontally */
        align-items: center; /* Center the content vertically */
    }

    .image-block {
        width: 90%; /* Make the image blocks almost full width */
        margin-bottom: 40px; /* Adjust bottom margin */
        padding-bottom: 0;
      
    }

  /* General Styling */
.worship-section {
    text-align: center;
    font-family: Arial, sans-serif;
  padding-top: 100px;
    background: #F0EAD6;
    padding-bottom: 400px;
  }
  

    
}


/* Global container style */
.container {
  max-width: 1400px;
  margin: 0 auto;
 
}

/* Church Details Section */
.church-details {
  background:#F0EAD6;
  padding: 0px 20px;
  padding-bottom: 60px;
  text-align: center;
  color: #2d3748;
}

.church-details h2 {
  font-size: 56px;
    margin: 0;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.3;
    color: #0d141a;
}

/* Branch Details Grid */
.branch-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
  text-align: left;
}

/* Service Details Card */
.contact-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
}

/* Info Item */
.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: var(--light-bg);
  border-radius: 8px;
}

.info-item svg {
  width: 24px;
  height: 24px;
  margin-right: 1rem;
  flex-shrink: 0;
  color: #3498DB;
}

/* Button */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #3498DB;
  color: white;
  text-decoration: none;
  border-radius: 28px;
  font-weight: 600;
  transition: background 0.2s ease;
  
}



/* Map Container */
.map-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  min-height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .branch-details {
    grid-template-columns: 1fr;
  }

  /* Church Details Section */
.church-details {
  background:#F0EAD6;
  padding: 60px 20px;
  padding-bottom: 60px;
  text-align: center;
  color: #2d3748;
}
/* Map Container */
.map-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  min-height: 400px;
  margin-top: 60px;
}


}

@media (max-width: 768px) {
  .container {
    padding: 20px;
  }
  .church-details h2 {
    font-size: 1.75rem;
  }
  .info-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .info-item svg {
    margin-bottom: 0.5rem;
  }
}



/* Base styles (desktop and larger devices) */
.contact-form-section {
    position: relative;
    background-image: url('assets/member-bg.jpg'); /* Replace with your image URL */
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    
  }
  
  .contact-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Overlay color and transparency */
    z-index: 1;
  }
  
  .contact-form-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column; /* Ensure elements stack vertically */
    align-items: center;
    gap: 20px; /* Add spacing between header, subtext, and form */
    width: 100%;
    max-width: 600px; /* Constrain the overall width */
  }
  
  .contact-form-header {
    text-align: center;
    color: #ffffff;
  }
  
  .contact-form-header h3 {
    font-size: 56px;
    margin: 0;
    font-weight: 600;
    line-height: 1.3;
  }
  
  .contact-form-subtext {
    text-align: center;
    color: #ffffff;
    font-size: 20px;
  }
  
  .contact-form-container {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
  }
  
  .contact-form-container label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: #333;
  }
  
  .contact-form-container input,
  .contact-form-container textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
  }
  
  .contact-form-container textarea {
    resize: none;
    height: 100px;
  }
  
  .contact-form-container button {
    width: 50%; /* Adjust button width */
    padding: 10px; /* Add padding */
    background-color: #3498db; /* Button background color */
    color: #ffffff; /* Text color */
    border: none; /* Remove border */
    border-radius: 28px; /* Rounded corners */
    font-size: 16px; /* Text size */
    cursor: pointer; /* Pointer cursor on hover */
    transition: background-color 0.3s; /* Smooth background color transition */
    display: block; /* Make the button a block element */
    margin: 0 auto; /* Center the button horizontally */
  }
  
  .contact-form-container button:hover {
    background-color: #2980b9;
  }
  
  /* Media Query for Tablets and Smaller Devices */
  @media (max-width: 768px) {
    .contact-form-container {
      width: 90%; /* Reduce width for smaller screens */
    }
  
    .contact-form-header h3 {
      font-size: 48px; /* Slightly smaller font for header */
    }
  
    .contact-form-subtext {
      font-size: 18px; /* Slightly smaller font for subtext */
    }
  }
  



  /* General section styling */
.church-moments-container {
    font-family: Arial, sans-serif;
    padding: 20px;
}

/* Centered text section */
.text-section {
    text-align: center;
    margin-bottom: 40px;
}

.section-heading {
    font-size: 2em;
    color: #333;
    margin-bottom: 10px;
}

.section-paragraph {
    font-size: 1.2em;
    color: #666;
    line-height: 1.6;
}

/* Image Gallery Layout */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.image-item {
    position: relative;
    width: 100%;
    padding-top: 100%; /* Creates a square container */
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.image-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the container while maintaining aspect ratio */
}

/* Responsiveness for smaller screens */
@media (max-width: 768px) {
    .image-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .image-gallery {
        grid-template-columns: 1fr;
    }
}






/* Footer Styling */
.footer {
    background-color: #2c3e50;
    padding: 20px;
    font-family: Arial, sans-serif;
    color: white; /* Added for better text visibility */
    padding-top: 50px;
  }
  
  .footer-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
    gap: 20px;
  }
  
  .footer-column {
    flex: 1;
    min-width: 200px;
    box-sizing: border-box; /* Ensure padding and border don't affect width */
  }
  
  .footer h3 {
    margin-bottom: 10px;
    color: white;
  }
  
  .footer p {
    margin: 5px 0;
    color: white;
  }
  
  .social-links {
    display: flex;
    gap: 10px;
  }
 
  .social-links img {
    width: 25px;
    height: 25px;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  
  .social-links img:hover {
    transform: scale(1.1);
    opacity: 0.8;
  }
  
  .social-links a:hover {
    text-decoration: underline;
  }
  
  .footer a {
    text-decoration: none;
    color: #3498DB;
  }
  
  .footer a:hover {
    text-decoration: underline;
  }
  
  /* Newsletter Form Styling */
  .newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%; /* Ensure it takes up the full width of the footer column */
  }
  
  .newsletter-form input,
  .newsletter-form button {
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
    width: 100%; /* Ensure both input and button are the same width */
    box-sizing: border-box; /* Prevent input and button from overflowing */
  }
  
  .newsletter-form input:focus {
    border-color: #3498DB;
  }
  
  .newsletter-form button {
    background-color: #3498DB;
    color: white;
    border: none;
    cursor: pointer;
  }
  
  .newsletter-form button:hover {
    background-color: #2980B9;
  }
  
  /* Media Queries */
  @media screen and (max-width: 768px) {
    /* Stack the footer content into one column */
    .footer-container {
      flex-direction: column;
    }
  .footer{
    padding-top: 20px;
  }
    .footer-column {
      flex: 1;
      min-width: 100%; /* Make each column take full width */
      margin-bottom: 20px;
    }
  
   
  
    /* Make the newsletter form take full width and remain within bounds */
    .newsletter-form {
      width: 100%; /* Ensure it is fully contained */
      max-width: 100%;
    }
  
    .footer-column .newsletter-form {
      margin-bottom: 20px;
    }
  }
  
  @media screen and (max-width: 480px) {
    /* For even smaller screens, you may want to adjust padding, fonts, etc. */
    .footer h3 {
      font-size: 18px;
    }
    .footer{
        padding-top: 20px;
      }
    .footer p {
      font-size: 14px;
    }
  
    .social-links img {
      width: 20px;
      height: 20px;
    }
  
    /* Reduce padding on smaller screens */
    .newsletter-form input,
    .newsletter-form button {
      padding: 8px;
    }
  }
  




/* Portland Maine Branch Section Styling */
#portland-branch {
  padding: 100px 20px;
  background: #F0EAD6; /* Light, warm background */
  color: #0d141a;
}

#portland-branch h2 {
  text-align: center;
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 50px;
  font-family: 'Montserrat', sans-serif;
}

.branch-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.branch-image {
  flex: 1;
  max-width: 550px;
}

.branch-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}

.branch-info {
  flex: 1;
  max-width: 550px;
  text-align: left;
}

.branch-info h3 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #0d141a;
  font-family: 'Montserrat', sans-serif;
}

.branch-info p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: rgb(86, 88, 94);
  font-family: 'Montserrat', sans-serif;
}

/* Call to Action Button */
.branch-btn {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  background: var(--clr);
  background-image: linear-gradient(180deg, var(--clr2) var(--gradgap), transparent calc(100% - var(--gradgap)));
  background-position: center var(--gradoffset);
  background-size: 100% 200%;
  border: none;
  border-radius: 2em;
  padding: 0.75em 1.25em;
  box-shadow: 0 0.25em 0.5em hsla(var(--hue), var(--sat), 50%, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.branch-btn:hover {
  background-position: center calc(var(--gradoffset) - 0.75em);
  box-shadow: 0 0.4em 1.5em hsla(var(--hue), var(--sat), 80%, 0.6);
}

/* Responsive Design */
@media (max-width: 1024px) {
  #portland-branch {
    padding: 80px 20px;
  }
  
  .branch-content {
    gap: 40px;
  }

  #portland-branch h2 {
    font-size: 42px;
  }

  .branch-info h3 {
    font-size: 1.8rem;
  }

  .branch-info p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  #portland-branch {
    padding: 60px 20px;
  }

  .branch-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .branch-info {
    max-width: 100%;
  }

  .branch-info h3 {
    font-size: 1.6rem;
  }

  .branch-info p {
    font-size: 1rem;
  }

  .branch-btn {
    font-size: 1rem;
    padding: 10px 20px;
  }
}

@media (max-width: 480px) {
  #portland-branch h2 {
    font-size: 36px;
  }

  .branch-info h3 {
    font-size: 1.4rem;
  }

  .branch-info p {
    font-size: 0.95rem;
  }

  .branch-btn {
    font-size: 0.95rem;
    padding: 8px 16px;
  }
}








   /* Footer Styling */
   .footer {
    background-color: #2c3e50;
    padding: 20px;
    font-family: Arial, sans-serif;
    color: white;
    padding-top: 50px;
  }

  .footer-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
    gap: 20px;
  }

  .footer-column {
    flex: 1;
    min-width: 200px;
    box-sizing: border-box;
  }

  .footer h3 {
    margin-bottom: 10px;
    color: white;
  }

  .footer p {
    margin: 5px 0;
    color: white;
  }

 

  .footer a {
    text-decoration: none;
    color: #3498DB;
  }

  .footer a:hover {
    text-decoration: underline;
  }

  /* Newsletter Form Styling */
  .newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .newsletter-form input,
  .newsletter-form button {
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
    width: 100%;
    box-sizing: border-box;
  }

  .newsletter-form input:focus {
    border-color: #3498DB;
  }

  .newsletter-form button {
    background-color: #3498DB;
    color: white;
    border: none;
    cursor: pointer;
  }

  .newsletter-form button:hover {
    background-color: #2980B9;
  }

  /* Media Queries */
  @media screen and (max-width: 768px) {
    .footer-container {
      flex-direction: column;
    }

    .footer-column {
      flex: 1;
      min-width: 100%;
      margin-bottom: 20px;
    }

    .newsletter-form {
      width: 100%;
    }
  }

  @media screen and (max-width: 480px) {
    .footer h3 {
      font-size: 18px;
    }

    .footer p {
      font-size: 14px;
    }

    .social-links img {
      width: 20px;
      height: 20px;
    }

    .newsletter-form input,
    .newsletter-form button {
      padding: 8px;
    }
  }



  .vision-partners-section {

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #F0EAD6; /* Optional background for contrast */
  }
  
  .vision-partners h2 {
    font-size: 56px;
    margin: 0;
    margin-bottom: 15px;
    margin-top: 100px;
    font-weight: 600;
    line-height: 1.3;
    color: #0d141a;
  }
  
  .vision-partners p {
    margin: 10px 0;
    font-size: 20px;
    color: #555;
    margin-bottom:100px;
  }
  
  .btn-partner {
    background-color: #3498DB;
    color: white;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    margin-bottom: 100px;
  }
  
 
  