/* General Styles */
 body {
  font-family: Arial, sans-serif;
  font-size: 16px;
  margin: 0;
  padding: 0;
  background: url('/images/Background.jpg') no-repeat center center fixed;
  background-size: cover;
  overflow-x: hidden;     /* Prevent horizontal scroll on mobile */
  min-height: 100vh;      /* Ensure full viewport coverage */
  display: flex;
  flex-direction: column;
}
/* Responsive Styles */
@media (max-width: 480px) {
  body {
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
}


/* Header Styles */
.header-box {
  width: 100%;
  background-color: #222;
  color: #ADD8E6;
  text-align: left;
  position: fixed;
  top: 0;
  z-index: 950;
  height: 30px;
  line-height: 1.2;
}

.header-title {
  font-size: 1rem;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

nav {
  margin-top: 60px; /* Push nav below fixed header */
  width: 100%;
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap; /* Prevent overflow on smaller screens */
}

nav ul li a {
  color: #ADD8E6;
  text-decoration: none;
  padding: 0.5rem 1rem;
  transition: background-color 0.3s ease;
}

nav ul li a:hover {
  background-color: #007bff;
  border-radius: 5px;
}

@media (max-width: 480px) {
  .header-box {
    height: 10vh;
    flex-shrink: 0;
    box-sizing: border-box;
    overflow: hidden;
  }

  .header-title {
    font-size: 0.9rem;
    margin-bottom: 5px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  nav {
    margin-top: 10px;
    width: 100%;
    overflow-x: auto;
  }

  nav ul {
    display: flex;
    gap: 8px;
    justify-content: center;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
  }

  nav ul li a {
    font-size: 0.85rem;
    padding: 6px 10px;
    display: inline-block;
    white-space: nowrap;
  }
}


.section {
  display: none;
  text-align: left;
  background-color: #d3d3d3; /* Fallback for older browsers */
  background-color: rgba(211, 211, 211, 0.5);
  margin: 1rem 0;
  width: 100%;
  flex-grow: 1; /* Helps fill vertical space if needed */
}

.section.active {
  display: block;
  padding: 2rem 2rem;
}
@media (max-width: 480px) {
  .section {
    margin: 0.5rem 0;
    padding: 1rem;
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .section.active {
    padding: 1.5rem 1rem;
  }
}

/* Hero Section Styles */
.hero {
  position: relative; /* Changed from fixed */
  min-height: 100vh;
  padding-top: 3rem; /* Space for fixed header */
  background-size: cover; /* Changed from contain */
  background-repeat: no-repeat;
  background-position: center center;
  animation: backgroundChange 10s infinite, backgroundZoom 9s infinite;
  background-attachment: scroll;
  z-index: 1;
}

.main-header {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  color: #ADD8E6;
  text-align: center;
  width: 90%;
}

.hero p.sub-text {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.2rem;
  color: #ADD8E6;
  text-align: center;
  width: 90%;
}
@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'); }
}

@keyframes backgroundZoom {
    0% { background-size: 50%; }
    50% { background-size: 70%; } /* Slightly zoom-in */
    100% { background-size: 100%; }
}
@media (max-width: 480px) {
  .hero {
    flex-grow: 1;
    position: relative;
    height: calc(100vh - 10vh - 15vh); /* Exact space between header and footer */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: backgroundChange 10s infinite, backgroundZoom 9s infinite;
    overflow: hidden;
  }

  @keyframes pulseGlow {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.4; }
  }

  .main-header, .sub-text {
    position: absolute;
    z-index: 1;
    width: 90%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
  }

  .main-header {
    top: 25%;
    font-size: 1.5rem;
  }

  .sub-text {
    top: 45%;
    font-size: 1rem;
  }

  @keyframes fadeSlideUp {
    0% {
      opacity: 0;
      transform: translateY(30px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }


/* About Us Styles */
#about {
    font-family: Arial, sans-serif;
    background-color: #81cfe0; /* Fallback for older browsers */
    background-color: rgba(129, 207, 224, 0.7);
    border-radius: 50px;
    max-width: 1250px;
    margin: 20px auto;
    position: relative;
    top: 160px; /* Pushes the container below the header */
    animation: backgroundAboutcontainerChange 10s infinite; /* Adding the background color animation */
}
@keyframes backgroundAboutcontainerChange {
    0% {
        background: rgba(129, 207, 224);
    }
    20% {
        background-color: #81cfe0; /* Fallback */
        background-color: rgba(129, 207, 224, 0.4);
    }
    50% {
        background-color: #81cfe0; /* Fallback */
        background-color: rgba(129, 207, 224, 0.6);
    }
    100% {
        background-color: #81cfe0; /* Fallback */
        background-color: rgba(129, 207, 224, 0.8);
    }
}

  #about {
    max-width: 90%;
    top: 120px;
    border-radius: 30px;
  }

#about-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    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;
}
.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: 480px) {
  #about {
    top: 80px;                    /* Reduced vertical offset */
    border-radius: 20px;          /* Softer corners for small screens */
    padding: 1rem;                /* Add internal spacing */
    max-width: 95%;               /* Slightly wider for mobile */
    margin: 10px auto;
  }

  #about-container {
    flex-direction: column;       /* Stack content vertically */
    align-items: center;
    padding: 0.5rem;
  }

  .about-text {
    font-size: 1rem;
    line-height: 1.5;
    box-shadow: 0 0 6px gold;
  }

  .about-text p {
    width: 100%;
    font-size: 0.95rem;
    box-shadow: 0 0 6px gold;
  }

  .sub-title {
    font-size: 1.2rem;
    margin-top: 1rem;
    box-shadow: 0 0 6px gold;
  }

  ul li, ul li p {
    font-size: 0.9rem;
    line-height: 1.4;
    box-shadow: 0 0 30px gold;
  }
}

/* Services Page Styles */
#services {
    width: 100%;
    background: #81cfe0; /* Fallback for older browsers */
    background: rgba(129, 207, 224, 0.7);
    border-radius: 50px;
    max-width: 1500px;
    margin: 20px auto;
    position: relative;
    top: 160px; /* Pushes the container below the header */
}
.service-container {
    display: flex;
    justify-content: space-around;
    margin-bottom: 0;
}
.service-category {
    background-color: #90AEAD; /*#All buttons and content background*/
    color: #31708E; /*#general tech support content header color*/
    padding: 0.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(255, 255, 255, 2);
    text-align: center;
}
.service-category a {
    color: #31708E; /*#All buttons text content color*/
    text-decoration: none;
}
.service-category a:hover {
    border-radius: 1px;
}

@media (max-width: 768px) {
  .service-container {
    flex-direction: column;
    align-items: center;
  }
  .service-category {
    width: 90%;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .service-category {
    width: 100%;
    padding: 0.75rem;
    font-size: 0.95rem;
  }
}

/* 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 .text-content p {
    color: #333; /*Text color*/
    font-size: 1.1rem;
}
#corporate-it-support .image-container img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}
#corporate-it-support .service-category {
    margin-bottom: 10px;
}
#corporate-it-support .service-category h3 {
    background-color: #254e58; /* Fallback for older browsers */
    background-color: rgba(37,78,88, 0.2);/*#f0f0f0 - content -right sub-title background color*/
    color: #31708E;
    padding: 20px;
    border-radius: 20px;
}
#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;
  }
  .service-category {
    width: 90%;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .service-category {
    width: 100%;
    padding: 0.75rem;
    font-size: 0.95rem;
  }
}

/* New styles for general-tech-support */
.service-detail {
    margin-bottom: 8rem;
    text-align: center;
    display: none;
    background-color: #90AEAD;
    border: 2px solid #5085A5;
    box-shadow: 0 10px 20px rgba(255, 255, 255, 2);
    padding: 0.5rem;
    border-radius: 5px;
}
#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 */
    text-align: center; /* Center the text */
    box-shadow: 0 10px 20px rgba(255, 255, 255, 2); /* Subtle shadow for depth */
    width: calc(80% - 44px); /* 2px left + 2px right + 20px left + 20px right */
    margin: 20px auto; /* Center the banner and add vertical spacing */
}

.text-content p {
    font-size: 16px; /* 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;
    padding: 0 1rem;
  }
  #general-tech-support .left-content {
    border-right: none;
  }
  .text-content {
    width: 95%;
  }
  .text-content p {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .service-detail {
    padding: 0.75rem;
    margin-bottom: 4rem;
  }
  .text-content {
    width: 100%;
  }
  .text-content p {
    font-size: 14px;
  }
}

/* New styles for the DevSoft (Consulting) section */
#devsoft .right-content {
    background-color: #90AEAD; /* Light blue background */
    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) */
    height: auto;             /* Adjust height to fit content */
    width: 100%;              /* Ensure it fits within the container */
}
#devsoft .right-content .service-category {
    background-color: #254e58; /* Fallback for older browsers */
    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 */
}
.heading-ai,
.heading-software,
.heading-cloud {
  background-color: #254e58; /* Fallback */
  background-color: rgba(37, 78, 88, 0.2);
  color: #31708E;
  padding: 20px;
  border-radius: 20px;
}

#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%;
    margin-bottom: 20px;
  }
  .heading-ai,
.heading-software,
.heading-cloud {
  font-size: 1.2rem;
  padding: 15px;
}

  #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;
  }
  .heading-ai,
.heading-software,
.heading-cloud {
  font-size: 1.2rem;
  padding: 15px;
}


/* 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 .left-content {
    border-right: none;
  }
  #devsoft .image-container img {
    width: 100%;
    height: auto;
  }
}
@media (max-width: 768px) {
  #devsoft .right-content .container-alignment {
    padding: 10px;
    border-radius: 4px;
  }
}

/* New style for #contact */
#contact {
    font-family: Arial, sans-serif;
    padding: 90px;
    background: #81cfe0; /* Fallback for older browsers */
    background: rgba(129, 207, 224, 0.7);
    border-radius: 30px;
    max-width: 1150px;
    margin: 80px auto;
    position: relative;
    top: 100px; /* Pushes the container below the header */
}
#contact .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
#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: #5085A5;
    color: #000;
    border-radius: 40px;
    animation: leftSectionBackgroundChange 10s infinite; /* Updated animation name */
}
@keyframes leftSectionBackgroundChange {
    0% {
        background: #479761;
    }
    50% {
        background: #5085A5; /* The second color */
    }
    100% {
        background: #25274D;
    }
}
#contact .right-section {  
    background: #479761;
    color: #000;
    padding: 30px;
    border-radius: 30px;
    animation: rightSectionBackgroundChange 10s infinite; /* Updated animation name */
}
@keyframes rightSectionBackgroundChange {
    0% {
        background: #8FC1E3;
    }
    50% {
        background: #008080; /* The second color */
    }
    100% {
        background: #5085A5;
    }
}
.contact-heading {
  font-size: 24px;
  margin-bottom: 10px;
}

#contact 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: calc(100% - 2px); /* 1px left + 1px right */
    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 {
    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-heading,
.quote-heading {
  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: 60px;
  }

  #contact .container {
    flex-direction: column;
  }

  #contact .left-section,
  #contact .right-section {
    width: 100%;
    border-radius: 20px;
  }

  .contact-heading,
  .quote-heading {
    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 15px;
    top: 40px;
  }
  .contact-heading,
  .quote-heading {
    font-size: 28px;
    margin-bottom: 15px;
  }
  #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: calc(100% - 10px); /* Compensate for left padding */
    bottom: 0;
    display: flex; /* Enable flexbox layout */
    justify-content: space-between; /* Distribute space between items */
    align-items: center; /* Center items vertically */
    height: 15vh;
    flex-shrink: 0;
}
footer p {
    margin: 0;
}
.social-media {
    display: flex; /* Makes sure buttons are in line */
    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: 480px) {
  .footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 0.5rem 10px;
    height: 15vh;
    flex-shrink: 0;
    line-height: 1.4;
    box-sizing: border-box;
    overflow: hidden;
  }

  .footer p {
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
  }

  .social-media {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 6px;
  }

  .social-media a {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
    white-space: nowrap;
  }
}


/* CTAs Styles */
.cta-container {
    position: static;
    text-align: center;
    margin: 0 70px 5px 70px;
}
.cta-text {
    position: relative;
    background: #81cfe0; /* Fallback for older browsers */
    background: rgba(129, 207, 224, 0.0);
    padding: 10px;
    border-radius: 10px;
    width: calc(100% - 20px); /* Subtract left + right padding */
}
.cta-heading-trust,
.cta-heading-success,
.cta-heading-values {
  display: inline-block;
  font-size: 2.5em;
  margin: 0;
  color: #244855;
}
.cta-paragraph {
  display: inline-block;
  font-size: 1.2em;
  margin: 10px 0;
  color: #244855;
}
@media (max-width: 768px) {
  .cta-container {
    margin: 0 20px 10px 20px;
  }
  .cta-heading-trust,
  .cta-heading-success,
  .cta-heading-values {
    font-size: 2em;
    display: block;
  }
  .cta-paragraph {
    font-size: 1.1em;
    display: block;
  }
}
@media (max-width: 480px) {
  .cta-container {
    margin: 0 10px 10px 10px;
  }
  .cta-heading-trust,
  .cta-heading-success,
  .cta-heading-values {
    font-size: 1.6em;
  }
  .cta-paragraph {
    font-size: 1em;
  }
}
/*Keyframes for combined Bounce and Fade-In animation*/

/*@keyframes bounceFadeIn {
    0% {
        opacity: 0;
        transform: translateY(-100%);
    }
    50% {
        opacity: 0.5;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
/* 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: #81cfe0; /* Fallback for older browsers */
  background: rgba(129, 207, 224, 0.1);
  padding: 10px;
  border-radius: 10px;
  width: calc(100% - 20px); /* Subtract left + right padding */
}
.cta-heading-discover,
.cta-paragraph-discover {
  position: relative;
  display: inline-block;
  animation: text-read 6s steps(30) infinite;
  white-space: nowrap;
  overflow: hidden;
  border-right: 0.15em solid grey;
}
.cta-heading-discover {
  font-size: 2em;
  margin: 0;
  animation-delay: 0.5s;
}
.cta-paragraph-discover {
  font-size: 1.3em;
  margin: 10px 0;
  animation-delay: 2.5s;
}
@keyframes text-read {
  0% { width: 0; }
  90% { width: 100%; }
  100% { width: 100%; }
}
@media (max-width: 768px) {
  .cta-heading-discover {
    font-size: 1.6em;
  }
  .cta-paragraph-discover {
    font-size: 1.1em;
  }
}
@media (max-width: 480px) {
  .cta-heading-discover {
    font-size: 1.4em;
  }
  .cta-paragraph-discover {
    font-size: 1em;
  }
}