/* General Styles */
 body {
    font-family: Arial, sans-serif;
    font-size: 16px;
    margin: 0;
    padding-top: 50px; /* offset for fixed header height */
    background: url('/images/Background.jpg') no-repeat center center fixed;
    background-size: cover;
}
/* Semi-transparent grey overlay to blend with nav collapse */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(128, 128, 128, 0.5); /* adjust alpha for strength */
    z-index: -1; /* keeps overlay behind all content */
}
/* Responsive Styles */
@media (max-width: 768px) {
  body {
    font-size: 15px;
    background-position: center top;
    background-attachment: scroll;
    padding-top: 40px; /* offset for taller stacked header on tablets */
    /* New fix: make body a flex container */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }

  footer {
    margin-top: auto; /* pushes footer to bottom */
  }
}
@media (max-width: 480px) {
  body {
    font-size: 14px;
    background-position: center top;
    background-attachment: scroll;
    padding-top: 40px; /* offset for mobile header height */

    /* New fix: make body a flex container */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }

  footer {
    margin-top: auto; /* pushes footer to bottom */
  }
}
/* Header Styles */
.header-box {
    width: 100%;
    background-color: #222;
    padding: 0.75rem 1rem;   /* use rem units for consistency */
    position: fixed;
    top: 0;
    z-index: 950;
    display: flex;           /* align with Bootstrap’s flexbox approach */
    justify-content: space-between;
    align-items: center;
}
/* Title styling */
.header-title {
    color: #CDEEFF;
    font-size: 1.5rem;
    margin: 0;
    font-weight: 600;        /* matches Bootstrap’s heading weight */
}
/* Responsive tweaks */
@media (max-width: 768px) {
  .header-box {
    flex-direction: column;  /* stack title + nav */
    align-items: center;
    padding: 1rem;
  }
  .header-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
  }
}
@media (max-width: 480px) {
  .header-title {
    font-size: 1.1rem;
  }
}
/* Navigation Styles */
.custom-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1rem;
}

.custom-nav ul li a {
    color: #ADD8E6;
    text-decoration: none;
    padding: 0.5rem 1rem;
}
.custom-nav ul li a:hover {
    background-color: #007bff;
    border-radius: 5px;
    color: #fff; /* ensure contrast */
}
/* Responsive nav */
@media (max-width: 768px) {
  .custom-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
  .custom-nav ul li a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.75rem;
  }
}
/* Section Styles */
.section {
    display: none;
    padding: 2rem 1rem;
    text-align: left;
    background-color: rgba(211, 211, 211, 0.5);
    margin: 1rem 0;
}
.section.active {
    display: block;
    padding: 2rem 2rem;
}
@media (max-width: 768px) {
  .section {
    padding: 1.5rem 1rem;
    margin: 0.75rem 0;
  }
  .section.active {
    padding: 1.5rem 1rem;
  }
}
@media (max-width: 480px) {
  .section {
    padding: 1rem 0.5rem;
    margin: 0.5rem 0;
  }
  .section.active {
    padding: 1rem 0.5rem;
  }
}
/* Hero Section Styles */
.hero {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    padding: 0;
    min-height: 100vh; /* fill the entire viewport */
    background-size: cover; /* scale to fill viewport */
    background-repeat: no-repeat;
    background-position: center center; /* center the animation images */
    animation: backgroundChange 10s infinite, backgroundZoom 9s infinite;
    background-attachment: fixed;
}
@keyframes backgroundChange {
    0%   { background-image: url('/images/Homeone.jpg'); }
    33%  { background-image: url('/images/Homethree.jpg'); }
    66%  { background-image: url('/images/Hometwo.jpg'); }
    100% { background-image: url('/images/Homeone2.jpg'); }
}
.hero h2.main-header {
    font-size: 2rem;
    color: #CDEEFF;
    position: fixed;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.hero p.sub-text {
    font-size: 1.25rem;
    color: #CDEEFF;
    position: fixed;
    top: calc(40% + 2.5rem);
    left: 50%;
    transform: translateX(-50%);
}
@keyframes backgroundZoom {
    0%   { background-size: 100%; }
    50%  { background-size: 110%; } /* zoom in slightly */
    100% { background-size: 155%; }
}
/* About Us Styles */
#about {
    font-family: Arial, sans-serif;
    background: rgba(129, 207, 224, 0.7);
    border-radius: 50px;
    max-width: 1250px;
    margin: 30px auto;
    position: relative;
    top: 0px; /* Pushes the container below the header */
    color: none;
    animation: backgroundAboutcontainerChange 10s infinite; /* Adding the background color animation */
}
@keyframes backgroundAboutcontainerChange {
    0% {
        background: rgba(129, 207, 224);
    }
    20% {
        background: rgba(129, 207, 224, 0.4);
    }
    50% {
        background: rgba(129, 207, 224, 0.6);
    }
    100% {
        background: rgba(129, 207, 224, 0.8);
    }
}
/* Ensure page content starts below header + services */
body {
    padding-top: 50; 
    /* 60px header + ~100px service section height */
}
@media (max-width: 768px) {
  .hero {
    background-size: cover;
    background-attachment: scroll;
    min-height: 60vh;
  }
  .hero h2.main-header {
    font-size: 1.5rem;
    top: 25%;
  }
  .hero p.sub-text {
    font-size: 1rem;
    top: calc(35% + 2rem);
  }
  #about {
    max-width: 90%;
    top: 0px;
    border-radius: 30px;
  }
}
@media (max-width: 480px) {
  .hero {
    background-size: cover;
    background-attachment: scroll;
    min-height: 50vh;
  }
  .hero h2.main-header {
    font-size: 1.2rem;
    top: 20%;
  }
  .hero p.sub-text {
    font-size: 0.9rem;
    top: calc(30% + 1.5rem);
  }
  #about {
    max-width: 95%;
    top: 0px;
    border-radius: 20px;
  }
  #about {
    margin-top: 70px; /* taller header on mobile */
  }
  body {
    padding-top: 15px; /* adjust offset */
  }
  .service-category {
    width: 100%;
    padding: 0.75rem;
    font-size: 0.95rem;
  }
}
#about-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 0 1rem;
}
.about-text {
    text-align: center;
    color: black;
    font-size: 1.2rem;
    line-height: 1.6;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: box-shadow 5s;
    box-shadow: 0 0 10px gold;
}
.about-text p {
    text-align: center;
    margin: 0 auto;
    width: 80%;
    transition: box-shadow 5s;
    box-shadow: 0 0 10px gold;
    font-size: 1.2rem; /* <-- add this line */
}
.sub-title {
    font-size: 1.5rem;
    color: black;
    margin-top: 2rem;
    text-align: center;
    box-shadow: 0 0 10px gold;
}
ul {
    list-style-type: none;
    padding: 0;
    text-align: justify;
    margin-left: 0;
    color: black;
}
ul li {
    margin-bottom: 0.5rem;
    text-align: justify;
}
ul li p {
    text-align: justify;
    transition: box-shadow 5s;
    box-shadow: 0 0 50px gold;
}
@media (max-width: 768px) {
  #about-container {
    flex-direction: column;
    align-items: center;
    padding: 0 0.5rem;
  }
  .about-text {
    font-size: 1.1rem;
    width: 100%;
  }
  .about-text p {
    width: 90%;
  }
  .sub-title {
    font-size: 1.3rem;
    margin-top: 1.5rem;
  }
}
@media (max-width: 480px) {
  .about-text {
    font-size: 1rem;
  }
  .about-text p {
    width: 100%;
  }
  .sub-title {
    font-size: 1.1rem;
    margin-top: 1rem;
  }
  ul li p {
    font-size: 0.95rem;
  }
}
/* Services Page Styles */
#services {
    width: 100%;
    background: rgba(129, 207, 224, 0.7);
    border-radius: 50px;
    max-width: 1500px;
    margin: 0px auto;
    position: relative;
    min-height: calc(100vh - var(--header-height, 80px));
}
/* Ensure page content starts below header + services */
body {
    padding-top: 50px; 
    /* 60px header + ~100px service section height */
}
/* Service container styles */
.service-container {
    display: flex;
    justify-content: space-around;
    margin-bottom: 0;
}
.service-category {
    background-color: #90AEAD;
    color: #31708E;
    padding: 0.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    text-align: center;
}
.service-category a {
    color: white; /*#31708E replaces all the h3 for all category*/
    text-decoration: none;
}
/* For headings inside service categories */
.service-category h3 {
    font-size: 1.5rem; /* adjust as needed */
}
.service-category a:hover {
    background-color: none;
    border-radius: 1px;
}
/* Tablet */
@media (max-width: 768px) {
  #services {
    margin-top: 80px; /* taller header on tablet */
  }
  body {
    padding-top: 50px; /* adjust offset */
  }
  .service-container {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  .service-category {
    width: 90%;
    padding: 1rem;
    font-size: 1.2rem;
  }
  .service-category h3 {
    font-size: 1.3rem; /* slightly smaller for tablets */
  }
}
/* Mobile */
@media (max-width: 480px) {
  #services {
    margin-top: 50px; /* taller header on mobile */
  }
  
  body {
    padding-top: 10px; /* adjust offset */
  }
  .service-category {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
  }
  .service-category h3 {
    font-size: 1.1rem; /* smaller for mobile */
  }
}
/* New styles for general-tech-support */
.service-detail {
    margin-bottom: 8rem;
    text-align: center;
    display: none;
    background-color: #31708E;
    border: 2px solid #5085A5;
    box-shadow: 0 10px 20px rgba(255, 255, 255, 2);
    padding: 0.5rem;
    border-radius: 5px;
}
/* Style all H3 headings inside general-tech-support */
#general-tech-support .service-category h3 {
    background-color: rgba(37, 78, 88, 0.2); /* subtle teal background */
    color: #31708E;                          /* medium blue text */
    padding: 20px;                           /* spacing inside the heading */
    border-radius: 20px;                     /* rounded corners */
    margin-bottom: 15px;                     /* spacing below each heading */
    font-size: 1.2rem; /* <-- add this line */
    width: 80%;        /* same width */
    padding: 10px;     /* controls height */
    margin: 0 auto;    /* centers the box */
}
#general-tech-support .right-content ul {
    padding-left: 20px;       /* Padding for list indentation */
    list-style-type: disc;    /* Bulleted list */
    margin: 0;                /* Remove default margin */
}
#general-tech-support .left-content {
    background-color: #90AEAD;
    border-right: 4px solid #5085A5;
}

#general-tech-support .image-container img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}
.text-content {
    background-color: #90AEAD; /* Light blue background */
    border: 2px solid #5085A5; /* Border color matching your previous style */
    border-radius: 8px; /* Rounded corners */
    padding: 20px; /* Padding inside the container */
    text-align: center; /* Center the text */
    box-shadow: 0 10px 20px rgba(255, 255, 255, 2); /* Subtle shadow for depth */
    width: 80%; /* Width of the banner */
    margin: 20px auto; /* Center the banner and add vertical spacing */
}
#general-tech-support .text-content p {
    font-size: 1rem; /* Font size */
    color: #333; /* Darker text color for contrast */
    line-height: 1.5; /* Improved readability */
    margin: 0; /* Remove default paragraph margin */
}
@media (max-width: 768px) {
  .service-detail {
    padding: 1rem;
    margin-bottom: 5rem;
  }
  #general-tech-support {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0 1rem;
  }
  #general-tech-support .left-content {
    border-right: none;
  }
  .text-content {
    width: 95%;
    padding: 15px;
  }
  .text-content p {
    font-size: 14px;
  }
  #general-tech-support .service-category h3 {
    font-size: 1.2rem;
  }
}
@media (max-width: 480px) {
  .service-detail {
    padding: 0.75rem;
    margin-bottom: 4rem;
  }
  .text-content {
    width: 100%;
    padding: 10px;
  }
  .text-content p {
    font-size: 14px;
  }
  #general-tech-support .service-category h3 {
    font-size: 1rem;
  }
}
/* New styles for the Corporate IT Technical Support section */
#corporate-it-support .left-content {
    background-color: #90AEAD;
    border-right: 4px solid #5085A5;
}
#corporate-it-support .right-content {
    background-color: #5085A5;
}
#corporate-it-support p .text-content p {
    color: #333; /*Text color*/
    font-size: 1rem;
}
#corporate-it-support .image-container img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}
#corporate-it-support .service-category h3 {
    background-color: rgba(37,78,88, 0.2);/*#f0f0f0 - content -right sub-title background color*/
    color: #31708E;
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 15px;                     /* spacing below each heading */
    font-size: 1.2rem; /* <-- add this line */
    width: 80%;           /* ↓ reduce overall box width */
    padding: 10px;     /* controls height */
    margin: 0 auto;       /* center the box horizontally */
}
#corporate-it-support .service-category ul {
    list-style-type: disc;
    padding-left: 10px;
    color: #17252A;
}
@media (max-width: 768px) {
  .service-container {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  .service-category {
    width: 90%;
    padding: 1rem;
    font-size: 1.2rem;
  }
  #corporate-it-support .service-category h3 {
    font-size: 1.2rem;
  }
}
@media (max-width: 480px) {
  .service-category {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
  }
  #corporate-it-support .service-category h3 {
    font-size: 1rem;
  }
}
/* New styles for the DevSoft (Consulting) section */
#devsoft .right-content {
    background-color: #90AEAD; /* Light blue background */
    padding: 20px;            /* Adjust padding */
    display: flex;            /* Flexbox for layout management */
    flex-direction: column;   /* Arrange children in a column */
    justify-content: center;  /* Center content vertically */
    align-items: flex-start;  /* Align items to the start (left) */
    box-sizing: border-box;   /* Ensure padding is included */
    height: auto;             /* Adjust height to fit content */
    width: 100%;              /* Ensure it fits within the container */
}
#devsoft .right-content .service-category {
    background-color: rgba(37,78,88, 0.1); /* Dark blue-grey background for service boxes */
    padding: 30px;             /* Adjust padding for service boxes */
    margin-bottom: 30px;       /* Space out service categories */
    box-sizing: border-box;    /* Ensure padding is included */
}
#devsoft .right-content .service-category h3 {
    background-color: rgba(37,78,88, 0.2);/*#f0f0f0 - content -right sub-title background color*/
    color: #31708E;
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 15px;                     /* spacing below each heading */
    font-size: 1.2rem;
    width: 80%;
    padding: 10px;
    margin: 0 auto; /* centers the box */
}
#devsoft .right-content .service-category ul {
    list-style-type: disc;
    padding-left: 10px;
    color: #17252A;
}
@media (max-width: 768px) {
  #devsoft .right-content {
    padding: 15px;
    align-items: center;
  }
  #devsoft .right-content .service-category {
    width: 100%;
    padding: 20px;
    margin-bottom: 20px;
  }
  #devsoft .right-content .service-category h3 {
    font-size: 1.2rem;
    width: 90%;
    padding: 8px;
  }
  #devsoft .right-content .service-category ul {
    padding-left: 20px;
  }
}
@media (max-width: 480px) {
  #devsoft .right-content {
    padding: 10px;
  }
  #devsoft .right-content .service-category {
    padding: 15px;
    margin-bottom: 15px;
  }
  #devsoft .right-content .service-category h3 {
    font-size: 1rem;
    width: 100%;
    padding: 6px;
  }
}
/* container alignment for visual distinction */
#devsoft .right-content .container-alignment {
    background-color: #DEF2F1; /* Light grey background for visual distinction */
    padding: 15px;             /* Adjust padding for subtle container distinction */
    border-radius: 5px;        /* Rounded corners for a polished look */
}
#devsoft .left-content {
    background-color: #90AEAD;
    border-right: 4px solid #5085A5;
}
#devsoft .image-container img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}
#devsoft p {
    font-size: 1rem; /* adjust to match General & Corporate Tech Support */
}
@media (max-width: 768px) {
  #devsoft .right-content .container-alignment {
    padding: 10px;
    border-radius: 4px;
  }
  #devsoft .left-content {
    border-right: none;
  }
  #devsoft .image-container img {
    width: 100%;
    height: auto;
  }
}
@media (max-width: 480px) {
  #devsoft .right-content .container-alignment {
    padding: 8px;
    border-radius: 3px;
  }
}
/* New style for #contact */
#contact {
    font-family: Arial, sans-serif;
    background: rgba(129, 207, 224, 0.7);
    border-radius: 30px;
    max-width: 1150px;
    margin: 30px auto;
    position: relative;
    color: none;
}
/* Ensure page content starts below header + services */
body {
    padding-top: 50; 
    /* 60px header + ~100px service section height */
}
#contact .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
}
#contact .left-section, #contact .right-section {
    width: 60%;
}
#contact .left-section {
    padding: 40px;/* This line sets the padding to match the right-section */
    padding-right: 30px;
    background: #479761;
    color: #000;
    border-radius: 40px;
    animation: leftSectionBackgroundChange 10s infinite; /* Updated animation name */
}
@keyframes leftSectionBackgroundChange {
    0% {
        background: #008080;
    }
    50% {
        background: #008080; /* The second color */
    }
    100% {
        background: #5085A5;
    }
}
#contact .right-section {
    background: #479761;
    color: #000;
    padding: 30px;
    border-radius: 30px;
    animation: rightSectionBackgroundChange 10s infinite; /* Updated animation name */
}
@keyframes rightSectionBackgroundChange {
    0% {
        background: #008080;
    }
    50% {
        background: #008080; /* The second color */
    }
    100% {
        background: #5085A5;
    }
}
#contact .right-section h1 {
    font-size: 36px;
    margin-bottom: 20px;
    font-size: 1.2rem; /* <-- add this line */
}
#contact .left-section h1 {
    font-size: 36px;
    margin-bottom: 20px;
    font-size: 1.2rem; /* <-- add this line */
}

#contact .right-section p {
    font-size: 16px;
    line-height: 1.5;
}
#contact .left-section p {
    font-size: 16px;
    line-height: 1.5;
}
#contact form {
    display: flex;
    flex-direction: column;
}
#contact input[type="text"], 
#contact input[type="email"], 
#contact input[type="tel"], 
#contact textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #112D32;
    border-radius: 5px;
    background-color: #254E58;
    color: white;
}
#contact input::placeholder, 
#contact textarea::placeholder {
    color: #ccc;
}
#contact button {
    padding: 10px 20px;
    background: #008080;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-size: 16px;
    color: white;
    width: 200px; /* Adjust the width as needed */
    height: 50px; /* Adjust the height as needed */
}
#contact button:hover {
    background: #244855;
}
#contact .contact-info h1 {
    color: White;
}
#contact .contact-form h1 {
    color: White;
}
#contact .contact-info p {
    margin: 2.8rem 0;
    color: white;/* left txt*/
}
@media (max-width: 768px) {
  #contact {
    padding: 40px 20px;
    margin: 40px auto;
    top: 0px;
  }
  #contact .container {
    flex-direction: column;
    gap: 1rem;
  }
  #contact .left-section,
  #contact .right-section {
    width: 100%;
    padding: 20px;
    border-radius: 20px;
  }
  #contact h1 {
    font-size: 28px;
    margin-bottom: 15px;
  }
  #contact p {
    font-size: 15px;
  }
  #contact button {
    width: 100%;
    height: 45px;
    font-size: 15px;
  }
}
@media (max-width: 480px) {
  #contact {
    padding: 30px;
    top: 0px;
  }
  #contact {
    margin-top: 70px; /* taller header on mobile */
  }
  body {
    padding-top: 15px; /* adjust offset */
  }
  #contact h1 {
    font-size: 24px;
    margin-bottom: 10px;
  }
  #contact p {
    font-size: 14px;
  }
  
  #contact button {
    height: 40px;
    font-size: 14px;
  }
}
/* Footer Styles */
.footer {
    background-color: #222;
    color: #ADD8E6;
    padding: 0.1rem 0;
    padding-left: 10px;
    position: fixed;
    width: 100%;
    bottom: 0;
    display: flex; /* Enable flexbox layout */
    justify-content: space-between; /* Distribute space between items */
    align-items: center; /* Center items vertically */
}
footer p {
    margin: 0;
}
.social-media {
    display: flex; /* Makes sure buttons are in line */
    gap: 0.5rem; /* Adds space between buttons */
    justify-content: center; /* Centers the buttons */
}
.social-media a {
    color: #ADD8E6;
    text-decoration: none;
    padding: 0.5rem 1rem;
}
.social-media a:hover {
    background-color: #007bff;
    border-radius: 5px;
}
@media (max-width: 768px) {
  .footer {
    flex-direction: column;
    align-items: center;
    padding: 0.5rem 0;
    text-align: center;
  }
  .social-media {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
  }
  .social-media a {
    padding: 0.4rem 0.8rem;
    font-size: 0.95rem;
  }
}
@media (max-width: 480px) {
  .footer {
    padding: 0.5rem;
  }
  .social-media a {
    font-size: 0.9rem;
    padding: 0.3rem 0.6rem;
  }
}
/* CTAs Styles */
.cta-container {
    position: static;
    text-align: center;
    margin-top: 0; /* Adjust margin to add spacing from content above */
    margin-bottom: 5px;
    margin-right: 70px;
    margin-left: 70px;
}
.cta-text {
    position: relative;
    background: rgba(129, 207, 224, 0.0);
    padding: 10px;
    border-radius: 10px;
    width: 100%;
    box-sizing: border-box;
}
.cta-text h1,
.cta-text p {
    display: inline-block;
    /*animation: bounceFadeIn 15s ease-in-out infinite;*/
}
.cta-text h1 {
    font-size: 2.5em;
    margin: 0;
    color: #244855;
}
.cta-text p {
    font-size: 1.2em;
    margin: 10px 0;
    color: #244855;
}
@media (max-width: 768px) {
  .cta-container {
    margin: 0 20px 10px 20px;
  }
  .cta-text h1 {
    font-size: 2em;
    display: block;
  }
  .cta-text p {
    font-size: 1.1em;
    display: block;
  }
}
@media (max-width: 480px) {
  .cta-container {
    margin: 0 10px 10px 10px;
  }
  .cta-text h1 {
    font-size: 1.6em;
  }
  .cta-text p {
    font-size: 1em;
  }
}
/* CTAs top Styles */
.cta-container-top {
    position: static;
    text-align: center;
    color: #31708E;
    margin-top: 0; /* Adjust margin to add spacing from content above */
    margin-bottom: 6px;
}
.cta-text1 {
    position: relative;
    background: rgba(129, 207, 224, 0.1);
    padding: 10px;
    border-radius: 10px;
    width: 100%;
    box-sizing: border-box;
}
.cta-text1 h1,
.cta-text1 p {
    position: relative;
    display: inline-block;
    animation: text-read 6s steps(30) infinite;
    white-space: nowrap;
    overflow: hidden;
    border-right: 0.15em solid grey;
}
.cta-text1 h1 {
    font-size: 2em;
    margin: 0;
    animation-delay: 0.5s; /* Delay to make the h1 fly in first */
}
.cta-text1 p {
    font-size: 1.3em;
    margin: 10px 0;
    animation-delay: 2.5s; /* Delay to make the p fly in after the h1 */
}
@keyframes text-read {
    0% { width: 0; }
    90% { width: 100%; }
    100% { width: 100%; } /* Ensure it stays visible before restarting */
}
@media (max-width: 768px) {
  .cta-text1 h1 {
    font-size: 1.6em;
  }
  .cta-text1 p {
    font-size: 1.1em;
  }
}
@media (max-width: 480px) {
  .cta-text1 h1 {
    font-size: 1.4em;
  }
  .cta-text1 p {
    font-size: 1em;
  }
}
/* CTAs bottom Styles */
.cta-container-bottom {
    position: static;
    text-align: center;
    margin-top: 0px; /* Adjust margin to add spacing from content above */
    margin-bottom: 2px;
    margin-right: 70px;
    margin-left: 70px;
}
.cta-text2 {
    position: relative;
    background: rgba(129, 207, 224, 0.0);
    padding: 10px;
    border-radius: 10px;
    width: 100%;
    box-sizing: border-box; 
}
.cta-text2 h1,
.cta-text2 p {
    display: inline-block;
    animation: bounceFadeIn 15s ease-in-out infinite;
}
.cta-text2 h1 {
    font-size: 2.5em;
    margin: 0;
    color: #244855;
}
.cta-text2 p {
    font-size: 1.2em;
    margin: 10px 0;
    color: #244855;
}
/*Keyframes for combined Bounce and Fade-In animation*/
@keyframes bounceFadeIn {
    0% {
        opacity: 0;
        transform: translateY(-100%);
    }
    50% {
        opacity: 0.5;
        transform: translateX(-20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}
@media (max-width: 768px) {
  .cta-container-bottom {
    margin: 0 20px 10px 20px;
  }
  .cta-text2 h1 {
    font-size: 2em;
    display: block;
  }
  .cta-text2 p {
    font-size: 1.1em;
    display: block;
  }
}
@media (max-width: 480px) {
  .cta-container-bottom {
    margin: 0 10px 10px 10px;
  }
  .cta-text2 h1 {
    font-size: 1.6em;
  }
  .cta-text2 p {
    font-size: 1em;
  }
}
/* CTAs middle Styles */
.cta-container-middle {
    position: static;
    text-align: center;
    margin-top: 0px; /* Adjust margin to add spacing from content above */
    margin-bottom: 0px;
    margin-right: 70px;
    margin-left: 70px;
}
.cta-text3 {
    position: relative;
    background: rgba(129, 207, 224, 0.0);
    padding: 7px;
    border-radius: 10px;
    width: 100%;
    box-sizing: border-box;
}
.cta-text3 h1,
.cta-text3 p {
    display: inline-block;
    /*animation: bounceFadeIn 15s ease-in-out infinite;*/
}
.cta-text3 h1 {
    font-size: 2.5em;
    margin: 0;
    color: #244855;
}
.cta-text3 p {
    font-size: 1.2em;
    margin: 10px 0;
    color: #244855;
}
@media (max-width: 768px) {
  .cta-container-middle {
    margin: 0 20px 10px 20px;
  }
  .cta-text3 h1 {
    font-size: 2em;
    display: block;
  }
  .cta-text3 p {
    font-size: 1.1em;
    display: block;
  }
}
@media (max-width: 480px) {
  .cta-container-middle {
    margin: 0 10px 10px 10px;
  }
  .cta-text3 h1 {
    font-size: 1.6em;
  }
  .cta-text3 p {
    font-size: 1em;
  }
}
/* service-detail - Add this block at the END of your CSS file */
@media (max-width: 768px) {
  .service-detail {
    display: flex;
    flex-direction: column;   /* stack children vertically */
    align-items: stretch;     /* make them fill parent width */
    gap: 1rem;                /* spacing between children */
  }
  .service-detail .left-content,
  .service-detail .right-content {
    width: 100%;              /* full width on mobile */
    margin: 0;                /* remove side margins */
    box-sizing: border-box;   /* keep padding inside width */
  }
}



