* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    width: 100%;
    cursor: default;
}

.header {
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(#04091e58, rgba(4, 9, 30, 0.361)), url('indexbg.jpg');
    background-position: center;
    background-size: cover;
    position: relative;
}

nav {
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}

nav img {
    width: 130px;
}

.nav-links {
    flex: 1;
    text-align: right;
}

.nav-links ul li {
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}

.nav-links ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
}

.nav-links ul li::after {
    content: '';
    width: 0%;
    height: 2px;
    background: #f44336;
    display: block;
    margin: auto;
    transition: 0.5s;
}

.nav-links ul li:hover::after {
    width: 100%;
}

nav .fa {
    display: none;
}


/*======================
       Dropdown & SubMenu
======================*/

/*-------SubMenu------*/

/* Basic reset for submenu */
.sub-menu {
    display: none;
    position: absolute;
    min-width: 150px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
}

/* Show submenu on hover */
.dropdown:hover .sub-menu {
    display: block;
}

/* Ensure dropdown parent has positioning context */
.dropdown {
    position: relative;
}

/* Style submenu items */
.sub-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sub-menu ul li a {
    display: block;
    padding: 1px;
    text-decoration: none;
    color: #fff;
}

.sub-menu ul li a:hover {
    background-color: rgba(0, 0, 0, 0.2); /* dark + 20% opacity */
}

.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.lang-switcher a {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    opacity: 0.7;
}

.lang-switcher a:hover {
    opacity: 1;
}

.lang-switcher a.active-lang {
    font-weight: 600;
    opacity: 1;
    color: #fff;
}

.lang-sep {
    color: #fff;
    opacity: 0.6;
}


/*======================
       Mobile Menu
======================*/
@media (max-width: 768px) {
    .text-box h1{
        font-size: 40px;
    }
	.nav-links {
        position: absolute;
        background: #556b2f; /* olive green */
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: right 0.5s ease-in-out;
    }

    .nav-links ul {
        padding: 30px;
    }

    .nav-links ul li {
        display: block;
        list-style: none;
        margin: 10px 0;
    }

    .nav-links ul li a {
        color: #fff;
        text-decoration: none;
        padding: 8px 10px;
    }

    nav .fa {
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
		
    }

 .dropdown {
    position: relative;
}

.dropdown .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0px;
    background: #556b2f; /* ikut navbar */
    min-width: 180px;
    padding:10px 0;
}

.dropdown:hover .sub-menu {
    display: block;
}

}

.text-box{
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}
.text-box h1{
    font-size: 62px;
}
.text-box p{
    margin: 10px 0 40px;
    font-size: 14px;
    color: #fff;
}

.visit-btn {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 3px solid rgba(255, 255, 255, 0.4);
    padding: 12px 34px;
    font-size: 13px;
    background: rgba(255, 255, 255, 0.1); /* semi-transparent */
    backdrop-filter: blur(8px); /* blur effect */
    -webkit-backdrop-filter: blur(8px); /* for Safari support */
    position: relative;
    border-radius: 8px;
    cursor: pointer;
}

.visit-btn:hover{
    border: 3px solid #f44336;
    background: #f44336;
    transition: 1s;
}

.greeting h1{
		color: white;
		font-size: 15px;
	}

.greeting h1:hover{
		color: #98c738;
		font-size: 15px;
		transition: 0.3s;
		cursor: pointer;
	}

/* Intro*/

.Intro{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}
h1{
    font-size: 36px;
    font-weight: 600;
}
.row{
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
}
.Intro-col{
    flex-basis: 31%;
    background: #fff3f3;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 0.5s;
}
h3{
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
}
.Intro-col:hover{
    box-shadow: 0 0 20px 0px rgba(0,0,0,0.2);
}

@media(max-width: 700px){
    .row{
        flex-direction: column;
    }
    .Intro-col {
        margin-top: 20px;
    }
}

/*Campus*/

.possit-section {
    max-width: 800px;
    margin: auto;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.possit-section h1 {
    color: #000000;
    font-size: 28px;
}

.possit-section h2 {
    color: #2e7d32;
    font-size: 20px;
    margin-top: 10px;
}

.possit-section ul {
    list-style: none;
    padding: 0;
}

.possit-section li {
    margin: 10px 0;
    display: flex;
    align-items: center;
}

.possit-section li i {
    margin-right: 10px;
    color: #4CAF50;
    font-size: 18px;
    min-width: 20px;
}

.possit-section .subheading {
    font-weight: bold;
    margin-top: 30px;
    font-size: 18px;
    color: #2e7d32;
}

/*Welcome Service*/
.facilities{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}

.facilities p{
    margin-bottom: 40px;
}

.campus{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
}
.campus-col{
	flex-basis: 50%;
    border-radius: 10px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.campus-col img{
    width: 100%;
    display: block;
}
.layer{
    background: transparent;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.5s;
}
.layer:hover{
    background: rgba(25, 80, 25, 0.7);
}
.layer h3{
    width: 100%;
    font-weight: 500;
    color: #fff;
    font-size: 26px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    opacity: 0;
    transition: 0.5s;
}
.layer:hover h3{
    bottom: 25%;
    opacity: 1;
}

.zigzag-row {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    margin-bottom: 40px;
    gap: 20px;
}
@media (max-width: 768px) {
    .zigzag-row {
      flex-direction: column;
    }
  
    .campus-col {
      width: 100%;
    }
  
    .zigzag-row:nth-child(even) .campus-col:first-child {
      order: 0; /* reset on mobile */
    }
  }
  
/* Alternate the direction for even items */
.zigzag-row:nth-child(even) .campus-col:first-child {order: 2;}

/*plan*/

.pricing-section {
    text-align: center;
    padding: 100px 0;
    background-color: #f9f9f9;
  }
  
  .pricing-section h1 {
    font-size: 36px;
    margin-bottom: 10px;
  }
  
  .pricing-section p {
    font-size: 18px;
    color: #555;
    margin-bottom: 40px;
  }
  
  .pricing-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .pricing-col {
    flex-basis: 22%;
    background: white;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    transition: 0.3s ease;
  }
  
  .pricing-col:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  }
  
  .pricing-col h3 {
    font-size: 24px;
    margin-bottom: 10px;
  }
  
  .pricing-col h2 {
    font-size: 28px;
    color: #2e7d32;
    margin-bottom: 20px;
  }

  .pricing-col h4 {
    font-size: 16px;
    margin-bottom: 20px;
  }
  
  .pricing-col ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
  }
  
  .pricing-col ul li {
    margin: 10px 0;
    font-size: 16px;
    color: #444;
  }
  
  .plan-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #e60023;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
  }
  
  .plan-btn:hover {
    background-color: #b8001b;
  }

@media (max-width: 768px) {
  .pricing-section {
    padding: 100px 20px; /* adds 20px left & right padding */
  }

  .pricing-col {
    flex-basis: 100%; /* stack full width */
  }
}

@media (max-width: 550px) {
  .pricing-section {
    padding: 100px 20px; /* Adds spacing on left and right */
  }

  .pricing-col {
    flex-basis: 100%; /* Each column takes full width */
  }
}

/*call to action*/
.cta{
    margin: 100px auto;
    width: 80%;
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),url(1.jpg);
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    text-align: center;
    padding: 100px 0;
}
.cta h1{
    color: #fff;
    margin-bottom: 40px;
    padding:0;
}
@media(max-width: 700px){
    .cta h1{
        font-size: 24px;
    }
	/* Reduce padding or margin for the CTA section */
.cta {
  margin-top: 20px; /* Adjust top margin as needed */
  padding-top: 20px; /* Adjust padding if you want to reduce space inside the CTA */
}

}
/*-----Footer----*/
.footer {
    width: 100%;
    text-align: center;
    padding: 30px 0;
}

.footer h4 {
    margin-bottom: 25px;
    margin-top: 20px;
    font-weight: 600;
}
.icons .fa {
    color: #f44336; /* Set default icon color */
    margin: 0 13px;
    cursor: pointer;
    padding: 18px 0;
    transition: color 0.3s ease; /* Optional: smooth color change on hover */
}

.fa.fa-heart{
    color: #f44336;
}
/*-----------------------------------ABout US Page---------------------------------------*/

.sub-header{
    height: 40h;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(pexels-ihsanaditya-1643371.jpg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
	position: relative; /* Required for absolute children */
}
.about-us{
    width: 90%;
    margin: auto;
    padding-top: 80px;
    padding-bottom: 50px;
}

.about-us-container {
    position: absolute;
    width: 100%;
    margin: 0 auto;  /* Centers the container */
}
h3 {
    font-size: 30px;
    color: #333;
    text-align: center;
    margin-bottom: 50px;  /* Spacing between the heading and paragraph */
}

.about-image {
    width: 100%;
    max-height: 400px;/* Sets a maximum height, but allows the image to maintain its aspect ratio */
    object-fit: cover;/* Ensures the image covers the container without distortion */
    display: block;
    margin-left: 20px;  /* Adds small spacing on the left */
    margin-right: 20px; /* Adds small spacing on the right */
border-radius: 5px;
}

.text-overlay {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(50, 48, 48, 0.6); /* Transparent white background */
    backdrop-filter: blur(2px); /* Blurry effect */
    padding: 0px 20px;
    width: 80%; /* Limits the width of the text box */
    text-align: center;
    border-radius: 10px;
}

.about-text {
    font-size: 23px;
    color: #fff;
    line-height: 1.6;
    margin: 0;
}

.text-content{
    width: 80%;
    margin: auto;
    padding-top: 80px;
    padding-bottom: 50px;
}

.row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.about-col{
    flex-basis: 48%;
    padding: 30px 2px;
}
.about-col img{
    width: 100%;
}

.about-col h1{
    padding-top: 0;
}
.about-col p{
    padding: 15px 0 25px;
}

.red-btn{
    border: 1px solid #f44336;
    background: transparent;
    color: #f44336;
}

.red-btn:hover{
    color: #fff;
}
.about-col {
    width: 48%;
    margin-bottom: 20px;
}

.about-col h1 {
    font-size: 24px;
    margin-bottom: 15px;
}

.about-col p {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

.hero-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #e60023;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

.hero-btn:hover {
    background-color: #b8001b;
}

.about-col img {
    width: 100%;
    border-radius: 10px;
}

/* Reverse the order of text and image for zigzag effect */
.about-col.reverse {
    order: 1; /* Swaps the order */
}

.about-col.reverse img {
    order: 2; /* Ensure image comes second */
}

.row.citation-box {
    background-color: #f2f2f2;
    color: #333;
    text-align: left;
    padding: 50px 20px;
    border-radius: 10px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    margin: 40px auto;
    width: 80%;
    max-width: 1200px;
    position: relative;
    z-index: 1;
}


/*---citaiton----*/
.citation-container {
  max-width: 800px; /* limits the width */
  margin: 0 auto; /* centers the section */
  padding: 1rem;
}

.citation-container h1 {
  font-weight: bold;
  text-align: center;
  margin-bottom: 1.5rem;
}

.citation-box {
  background-color: #f9f9f9;
  padding: 1rem 1.5rem;
  border-left: 4px solid #333;
  font-family: 'Times New Roman', Times, serif;
}

.citation-box p {
  line-height: 2;
  font-size: 1.3rem;
  text-indent: -50px;
  padding-left: 50px;
  margin: 0;
}

.citation-box em {
  font-style: italic;
}

.citation-box a {
  color: #0077cc;
  text-decoration: none;
  font-family: 'Times New Roman', Times, serif;
}

.citation-box a:hover {
  text-decoration: underline;
}

/*---grenn box---*/

/* Green Rectangle Section */
.green-rectangle {
    background-color: #7ba538; /* Green color */
    color: white;
    width: 100%; /* Full width */
    padding: 50px 0; /* Adjust vertical padding */
    text-align: center;
}

.green-text-box {
    width: 80%; /* You can adjust the width */
    margin: 0 auto; /* Centers the text box */
    background-color: rgba(0, 0, 0, 0); /* Optional: add a semi-transparent background */
    padding: 20px;
    border-radius: 10px;
}

.green-text-box h2 {
    font-size: 34px;
    margin-bottom: 15px;
}

.green-text-box p {
    font-size: 28px;
    margin-bottom: 20px;
}

.green-btn {
    padding: 10px 20px;
    background-color: #fff;
    color: #28a745;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.green-btn:hover {
    background-color: #ddd;
}

@media (max-width: 768px) {
    /* Adjusting layout for smaller screens (tablets and below) */

    .sub-header {
        height: auto;
        background-size: cover; /* Ensures background image scales well */
    }

    .about-us {
        width: 100%;
        margin: auto;
        padding-top: 20px; /* Adjust padding for mobile */
        padding-bottom: 20px;
    }

    .text-content {
        width: 95%;
        padding-top: 40px;
        padding-bottom: 30px;
    }

    .row {
        flex-direction: column;
        align-items: center; /* Centers content in a column */
        margin-bottom: 30px; /* Space between rows */
    }

    .about-col {
        width: 100%;
        flex-basis: 100%;
        padding: 20px;
        text-align: center;
    }

    .about-col h1 {
        font-size: 20px; /* Adjust heading size for mobile */
    }

    .about-col p {
        font-size: 16px; /* Adjust paragraph text size */
    }

    .about-image {
        width: 100%;
        height: auto; /* Ensure image scales correctly */
        margin-left: 0;
        margin-right: 0;
    }

    .text-overlay {
        width: 90%;
        padding: 15px;
    }

    h3 {
        font-size: 24px;
        margin-bottom: 30px;
    }

    /* Green Box Text Adjustments */
    .green-text-box h2 {
        font-size: 26px;
    }

    .green-text-box p {
        font-size: 20px;
    }

    /* Green button adjustment */
    .green-btn {
        font-size: 16px; /* Adjust button text size */
        padding: 12px 25px;
    }

    .hero-btn {
        font-size: 18px; /* Button font size for mobile */
        padding: 12px 25px;
    }
	  .citation-container {
    padding: 0.5rem;
  }

  .citation-box {
    padding: 1rem;
  }

  .citation-box p {
    font-size: 1.1rem;
    text-indent: -30px;
    padding-left: 30px;
  }
.row {
        flex-direction: column;
    }

    .about-col.reverse {
        order: unset !important;
    }

    .about-col.reverse img {
        order: unset !important;
    }
}
@media (max-width: 480px) {
  .citation-box p {
    font-size: 1rem;
    text-indent: -20px;
    padding-left: 20px;
  }
}


/*------dashboRD----*/

/* Introdashboard Section */
.introdashboard {
    background-color: #f2f2f2;
    color: #333;
    text-align: center;
    padding: 50px 20px;
    border-radius: 10px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    margin: 40px auto;
    width: 80%;
    max-width: 1200px;
    position: relative;
    z-index: 1;
}

/* Heading Styles */
.introdashboard h3 {
    font-size: 24px;
    color: #4caf50;
    font-weight: 600;
    margin-bottom: 10px;
    text-align: left;
}

.introdashboard h2 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #2e7d32;
}

.introdashboard p {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 30px;
}
/* Bullet list styles under the description */
.dashboard-features {
    list-style-type: disc; /* Adds bullet points */
    padding-left: 30px;    /* Adds indentation */
    margin-top: 20px;      /* Adds spacing from the paragraph */
    font-size: 18px;
    color: #555;
    text-align: left;      /* Ensures the text is aligned to the left */
}

.dashboard-features li {
    margin-bottom: 10px;   /* Adds spacing between list items */
    text-align: left;      /* Align the text to the left */
}

.dashboard-features li::marker {
    color: #4caf50;        /* Sets bullet color */
}

/* Optional: Make bullets larger and more noticeable */
.dashboard-features li {
    font-size: 18px;
}

/* Button Styles */
.explore-btn {
    background-color: #4caf50;
    color: white;
    padding: 12px 30px;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.explore-btn:hover {
    background-color: #388e3c;
}

/* Add smooth transition to section */
.introdashboard {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Mobile responsiveness */
@media screen and (max-width: 768px) {
    .introdashboard {
        padding: 30px 10px;
    }

    .introdashboard h2 {
        font-size: 28px;
    }

    .introdashboard p {
        font-size: 16px;
    }

    .explore-btn {
        font-size: 16px;
        padding: 10px 20px;
    }
}

/*tutorial*/

.tutorials {
    display: flex;
    flex-direction: column; /* Stack the images vertically */
    gap: 20px; /* Space between the images */
    align-items: center; /* Center images horizontally */
  }
  
.tutorial video {
    width: 100%;       /* ikut container */
    max-width: 1000px;  /* ubah sini untuk besarkan/menciutkan box */
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}


/*embedded dashboard*/

.dashboard {
    padding: 60px 0;
    background-color: #f4f4f4;
    text-align: center;
  }
  
  .dashboard h2 {
    margin-bottom: 30px;
    font-size: 32px;
    color: #333;
  }
  
  .dashboard-container {
    width: 90%;
    margin: 0 auto;
    max-width: 1200px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

.restricted-message {
  margin-top: 20px;
  padding: 15px;
  background-color: #fff3cd;
  border-left: 5px solid #ffc107;
  color: #856404;
  font-family: Arial, sans-serif;
  border-radius: 6px;
}
.restricted-message a {
  font-weight: bold;
  color: #007bff;
  text-decoration: none;
}
.restricted-message a:hover {
  text-decoration: underline;
}


  /*----contact us----*/

  .contact-us {
    background-color: #f4f4f4;
    padding: 60px 20px;
    text-align: center;
  }
  
  .contact-container {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
  }
  
  .contact-container h2 {
    font-size: 36px;
    margin-bottom: 10px;
  }
  
  .contact-container p {
    font-size: 16px;
    color: #555;
    margin-bottom: 30px;
  }
  
  .contact-form {
    text-align: left;
  }
  
  .form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
  }
  
  .form-group label {
    font-weight: bold;
    margin-bottom: 5px;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    resize: vertical;
  }
  
  .submit-btn {
    background-color: #007a5e;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
  }
  
  .submit-btn:hover {
    background-color: #005f47;
  }
  
  .contact-location {
    text-align: center;
    padding: 60px 20px;
    background-color: #e6f2e6; /* soft green background */
  }
  
  .contact-location h3 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #333;
  }
  
  .contact-location p {
    font-size: 16px;
    margin-bottom: 30px;
    color: #555;
    line-height: 1.5;
  }
  
  .map-container {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
  }
  
@media (max-width: 600px) {
  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .form-group {
    width: 100%;
  }

  .contact-container {
    padding: 20px;
  }

  .contact-container h2 {
    font-size: 28px;
  }

  .submit-btn {
    width: 100%;
    padding: 12px;
  }
}


/*-------------Services-----------*/

.header-buttons {
  position: absolute;
  bottom: 10px;
  left: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.header-buttons .btn {
  background-color: rgba(255, 255, 255, 0.1); /* light transparent background */
  color: white;
  padding: 4px 16px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1rem;
  transition: background 0.3s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 2px solid rgba(255, 255, 255, 0.3); /* subtle white border */
}


.header-buttons .btn:hover {
   background-color: rgba(1, 48, 15, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.header-buttons .btn.active {
  
  background-color: rgba(1, 48, 15, 0.5);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}


@media (max-width: 768px) {
  .header-buttons {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    gap: 8px;
    justify-content: center;
    flex-wrap: nowrap;
    width: auto;
  }

  .header-buttons .btn {
    font-size: 0.8rem;         /* smaller text */
	color: white;
    padding: 4px 10px;         /* tighter padding */
    white-space: nowrap;       /* avoid breaking lines */
    border-radius: 6px;       /* slightly smaller border */
 	width: auto;
	}
}


/* Services Section */
.services {
    text-align: center;
    padding: 80px 0;
}

.services h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.services p {
    font-size: 18px;
    color: #555;
    margin-bottom: 40px;
}

.service-row {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap; /* Ensure services wrap to the next line */
}

.service {
    display: flex;
    align-items: center;
    width: 80%; /* Adjust width to control column size */
    margin-bottom: 40px;
    flex-direction: row; /* Set default direction to left-to-right for the first service */
}

.service .service-image {
    flex: 0 0 70%;
    width: 100%;
    height: auto;/* Image takes 70% */
}

.service .service-image img {
    width: 100%;
    border-radius: 10px;
    height: auto;
    display: block;
}

.service .service-text {
    flex: 0 0 30%; /* Text box takes 30% */
    padding: 20px;
    text-align: left;
}

.service .service-text h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.service .service-text p {
    font-size: 16px;
    color: #777;
    margin-bottom: 20px;
}

.service .service-btn {
    margin-top: 5%;
    display: inline-block;
    padding: 10px 20px;
    background-color: #e60023;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.service .service-btn:hover {
    background-color: #b8001b;
}

/* Zigzag effect: Reverse the order for the second, fourth services */
.service.reverse {
    flex-direction: row-reverse; /* Switch text and image for reverse services */
}

.service.reverse .service-image {
    order: 2;
}

.service.reverse .service-text {
    order: 2; /* Changed to 2 to maintain the zigzag effect */
}

/* Reduce margin at the bottom of the last service */
.service:last-child {
    margin-bottom: 20px; /* Adjust this value as needed */
}

/* Ensure the service cards wrap properly on smaller screens */
@media screen and (max-width: 600px) {
    .service,
    .service.reverse {
        flex-direction: column;
        text-align: center;
        width: 100%;
        margin-bottom: 40px;
    }

    .service .service-image,
    .service .service-text {
        flex: 1 0 100%;
        width: 100%;
        position: relative;
        z-index: 1;
    }

    .service .service-image img {
        width: 100%;
        height: auto;
        display: block;
    }

    .service .service-text {
        background-color: white;
        padding: 5px;
        z-index: 2;
    }

    /* Fix reverse stacking */
    .service.reverse .service-image,
    .service.reverse .service-text {
        order: unset;
    }

    /* Optional: make rows behave column-wise too */
    .service-row {
        flex-direction: column;
        width: 100%;
    }

    .service:last-child {
        margin-bottom: 5px; /* Adjust this value as needed */
    }
}
@media screen and (max-width: 400px) {
    .services h1 {
        font-size: 28px; /* Smaller heading */
    }

    .services p {
        font-size: 14px; /* Smaller paragraph text */
    }

    .service {
        width: 100%; /* Full width for each service */
        margin-bottom: 20px; /* Adjust margin to fit better */
    }

    .service .service-image,
    .service .service-text {
        flex: 1 0 100%;
        width: 100%;
    }

    .service .service-text h3 {
        font-size: 20px; /* Smaller service title */
    }

    .service .service-text p {
        font-size: 14px; /* Smaller service description */
    }

    .service .service-btn {
        padding: 8px 16px; /* Smaller button */
        font-size: 14px; /* Smaller text on button */
    }

    /* Optional: Adjust spacing or other elements as needed */
    .service-row {
        flex-direction: column;
        width: 100%;
    }
}




  .popup {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed at the top of the page */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.4); /* Black background with opacity */
}

/* Popup content */
.popup-content {
    background-color: #fff;
    margin: 15% auto; /* Center the popup */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Adjust width as needed */
    max-width: 600px; /* Maximum width */
}

/* Close button (optional styling) */
.popup-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.popup-close:hover,
.popup-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
  
  