/* 1. Global Variables & Base Styles */
:root {
  --primary-blue: #1427d2;
  --dark-blue: #1b2b4e;
  --light-bg: #f9f9f9;
  --border-color: #e0e0e0;
  --text-gray: #666;
}

body {
  margin: 0;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 2. Header & Top Bar */
.top-bar {
  background: white;
  border-bottom: 1px solid var(--border-color);
  padding: 15px 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
  padding: 0 15px;
  border-right: 1px solid var(--border-color);
}

.contact-item:last-child {
  border-right: none;
}

.contact-item .icon {
  font-size: 24px;
}

.contact-item .text {
  font-size: 13px;
  color: var(--dark-blue);
  line-height: 1.4;
}

/* 3. Navigation */
.main-nav {
  padding: 15px 0;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 60px;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 25px;
  margin: 0;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  font-size: 15px;
  transition: 0.3s;
}

.nav-links a:hover {
  color: var(--primary-blue);
}

/* CTA Button in Nav */
.cta-button {
  background-color: var(--primary-blue);
  color: white !important;
  padding: 10px 22px;
  border-radius: 50px;
  transition: 0.3s;
}

.cta-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* 4. Footer Section */
.site-footer {
  background-color: var(--primary-blue);
  color: white;
  margin-top: 80px;
  padding: 80px 0 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 50px;
}

.footer-col h3 {
  font-size: 18px;
  margin-bottom: 25px;
  font-weight: 600;
}

.footer-logo {
  width: 160px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1); /* Forces logo to white if needed */
}

.brand-info p {
  font-size: 14px;
  opacity: 0.9;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

.footer-links a:hover {
  padding-left: 5px;
}

.footer-links a:before {
  content: "» ";
  margin-right: 5px;
}

/* Gallery in Footer */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
}

/* Newsletter */
.newsletter-form {
  position: relative;
  margin-bottom: 20px;
}

.newsletter-form input {
  width: 100%;
  padding: 12px 15px;
  border-radius: 50px;
  border: none;
  outline: none;
  box-sizing: border-box;
}

.newsletter-form button {
  position: absolute;
  right: 5px;
  top: 5px;
  background: var(--dark-blue);
  color: white;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
}

/* Social Icons */
.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-icon {
  background: white;
  color: var(--primary-blue);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  font-size: 13px;
}

/* 5. Footer Bottom */
.footer-bottom {
  background: rgba(0,0,0,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
}

.footer-bottom .container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.scroll-top {
  position: absolute;
  right: 20px;
  color: white;
  text-decoration: none;
  font-size: 18px;
}

/* 6. Responsive Styles */
@media (max-width: 992px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top-bar .container {
    flex-direction: column;
    gap: 15px;
  }
  .contact-item {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
  }
  .nav-links {
    display: none; /* Usually hidden for a burger menu on mobile */
  }
}





/* Common Text Center Class */
.text-center { text-align: center; }

@media (max-width: 768px) {
    .cal-img-rounded { border-radius: 30px; }
}




@media (max-width: 768px) {
    .cal-title, .cal-title-white { font-size: 26px; }
}
















@media (max-width: 576px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}


/* ===============================
   MOBILE HAMBURGER NAVBAR
================================ */

/* Hamburger Icon */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--primary-blue);
  border-radius: 2px;
}

/* Side Mobile Menu */
.mobile-nav {
  position: fixed;
  top: 0;
  left: -260px;
  width: 260px;
  height: 100vh;
  background: #fff;
  padding: 80px 25px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: 0.4s ease;
  z-index: 1001;
}

.mobile-nav a {
  text-decoration: none;
  color: #1b2b4e;
  font-weight: 600;
  font-size: 16px;
}

.mobile-cta {
  background: var(--primary-blue);
  color: white !important;
  padding: 12px;
  border-radius: 30px;
  text-align: center;
}

/* Overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 1000;
}

/* Active States */
.mobile-nav.active {
  left: 0;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ===============================
   RESPONSIVE RULES
================================ */

@media (max-width: 768px) {

  /* Address remove in mobile */
  .top-bar {
    display: none;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-wrapper {
    justify-content: space-between;
  }
}
/* Ensure the wrapper spreads items to the edges */
.nav-wrapper {
  display: flex;
  justify-content: space-between; 
  align-items: center;
  width: 100%;
}

/* Hamburger Styling */
.hamburger {
  display: none; /* Hidden on desktop */
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1002;
  padding: 10px;
}

.hamburger span {
  width: 30px;
  height: 3px;
  background-color: var(--primary-blue);
  border-radius: 3px;
  transition: 0.3s;
}

/* Mobile Side Menu */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -200px; /* Start hidden off-screen to the right */
  width: 200px;
  height: 100vh;
  background: #fff;
  padding: 60px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: 0.4s ease-in-out;
  z-index: 1001;
  box-shadow: -5px 0 15px rgba(0,0,0,0.1);
}

.mobile-nav.active {
  right: 0; /* Slide in */
}

.close-menu {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 30px;
  cursor: pointer;
  color: var(--primary-blue);
}

/* Responsive Logic */
@media (max-width: 768px) {
  .nav-links {
    display: none; /* Hide desktop links */
  }

  .hamburger {
    display: flex; /* Show hamburger on mobile */
  }
  
  .top-bar {
    display: none; /* Optional: hide top bar as per your request */
  }
}


/* 1. Ensure Body doesn't have overflow-x issues */
body {
    overflow-x: hidden;
    width: 100%;
}

/* 2. Fix the Nav Wrapper for Mobile */
@media (max-width: 768px) {
    .nav-wrapper {
        padding: 0 10px; /* Reduced padding for mobile */
        width: 100%;
        box-sizing: border-box; /* Ensures padding doesn't push the hamburger away */
    }

    /* 3. The Hamburger - ensure no extra margin */
    .hamburger {
        margin-right: 0; 
        padding-right: 5px; /* Minimal padding for touch area */
    }

    /* 4. The Mobile Nav - Touching Right edge */
    .mobile-nav {
        position: fixed;
        top: 0;
        right: -280px; /* Match the width below */
        width: 200px;  /* Standard mobile menu width */
        height: 100vh;
        background: #fff;
        padding: 60px 20px;
        display: flex;
        flex-direction: column;
        gap: 20px;
        transition: transform 0.4s ease-in-out, right 0.4s ease-in-out;
        z-index: 2000; /* Higher than everything else */
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        margin: 0; /* Remove any accidental margins */
    }

    /* This moves it exactly to the edge */
    .mobile-nav.active {
        right: 0 !important; 
    }
}

/* 5. Overlay Fix */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    visibility: hidden;
    opacity: 0;
    transition: 0.3s;
    z-index: 1999;
}

.nav-overlay.active {
    visibility: visible;
    opacity: 1;
}

/* --- Desktop Styles --- */
.hero-section {
    height: 600px;
    background: url('Untitled-design-11.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    padding: 0 10%;
    color: white;
}

.overlay-section {
    margin-top: -120px; /* This creates the overlay effect */
    padding-bottom: 50px;
}

.cards-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex; /* Horizontal on Desktop */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.info-card {
    flex: 1;
    padding: 50px 30px;
    text-align: center;
}

.white-bg { background: #f9f9f9; color: #333; }
.orange-bg { background: #1427d2; color: #fff; }

/* --- Mobile View --- */
@media (max-width: 768px) {
    .hero-section {
        background: url('Untitled-design-11-500x500.png') no-repeat center center/cover;
        height: 450px;
        text-align: center;
        padding: 20px;
    }

    .overlay-section {
        margin-top: 0; /* Remove overlay for mobile to follow the white part */
    }

    .cards-container {
        flex-direction: column; /* Stack cards vertically */
        box-shadow: none;
    }

    .info-card {
        width: 100%;
        padding: 40px 20px;
    }
}

/* 1. CRITICAL: Reset default spacing to remove the white gap */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden; /* Prevents horizontal scrolling */
}

/* 2. Hero Section Adjustments */
.hero-section {
    width: 100%;
    margin: 0;
    padding: 60px 20px; /* Internal padding only */
    background: url('Untitled-design-11-500x500.png') no-repeat center center/cover;
    box-sizing: border-box; /* Ensures padding doesn't add to width */
}

/* 3. The Cards Container Fix */
.cards-container {
    display: flex;
    width: 100%; /* Ensure it spans full width */
    margin: 0;
    padding: 0;
}

/* 4. Desktop Overlay (Keep this) */
@media (min-width: 769px) {
    .overlay-section {
        margin-top: -120px;
        z-index: 10;
        position: relative;
    }
    .cards-container {
        max-width: 1200px; /* Only limit width on desktop */
        margin: 0 auto;
    }
}

/* 5. Mobile Layout (Fix for "White Patti") */
@media (max-width: 768px) {
    .overlay-section {
        margin-top: 0; 
        width: 100%;
    }

    .cards-container {
        flex-direction: column;
        width: 100%; /* Forces cards to stay inside screen */
    }

    .info-card {
        width: 100% !important; /* Forces cards to touch left and right edges */
        box-sizing: border-box;
        margin: 0; /* Remove any side margins */
        border-radius: 0; /* Optional: matches your image better */
    }
}











/* Container to keep content centered */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-section {
    padding: 80px 0;
    background-color: #fff;
}

.about-flex {
    display: flex;
    align-items: center;
    gap: 50px; /* Space between image and text */
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    display: block;
}

.about-content {
    flex: 1;
}

.sub-heading {
    color: #1427d2;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
}

.about-content h2 {
    font-size: 32px;
    margin: 15px 0 20px;
    line-height: 1.3;
    color: #333;
}

.about-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Feature Items with Checkmarks */
.feature-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.check-icon {
    background-color: #1427d2;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 5px;
}

.feature-item h4 {
    margin: 0 0 5px;
    color: #333;
}

/* The Orange Pill Button */
.btn-orange-pill {
    display: inline-block;
    background-color: #1427d2;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
    transition: 0.3s;
}

.btn-orange-pill:hover {
    background-color: #d15f2f;
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    .about-flex {
        flex-direction: column; /* Stacks image on top, text on bottom */
        gap: 30px;
    }

    .about-content {
        text-align: left;
    }

    .about-content h2 {
        font-size: 26px;
    }
    
    .about-image img {
        max-width: 100%;
    }
}




:root {
  --calygen-orange: #1427d2;
  --bg-light: #f8f9fa;
  --text-dark: #1b2b4e;
}

.products-section {
  padding: 60px 0;
  background-color: var(--bg-light);
  text-align: center;
}

.section-header {
  margin-bottom: 40px;
}

.subtitle {
  color: var(--calygen-orange);
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}

.main-title {
  font-size: 32px;
  color: var(--text-dark);
  line-height: 1.2;
}

/* Filter Bar Styling */
.filter-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
}

.filter-bar {
  display: flex;
  background: white;
  padding: 15px 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  gap: 40px;
}

.filter-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: 0.3s;
  color: var(--text-dark);
}

.filter-item span {
  font-size: 14px;
  font-weight: 600;
  margin-top: 8px;
}

.filter-item:hover, .filter-item.active {
  color: var(--calygen-orange);
}


/* Product Grid Styling */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.product-card {
  background: white;
  padding: 30px 20px;
  border-radius: 4px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.03);
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-card:hover {
  transform: translateY(-10px);
}

.product-image {
  margin-bottom: 25px;
  height: 200px;
  display: flex;
  align-items: center;
}

.product-image img {
  max-width: 100%;
  max-height: 100%;
}

.product-card h3 {
  font-size: 18px;
  color: var(--text-dark);
  line-height: 1.4;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .filter-bar {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }
}





/* General Layout */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.flex-row { display: flex; align-items: center; gap: 50px; }
.sub-label { color: #1427d2; font-weight: bold; font-size: 14px; }
h2 { font-size: 32px; margin: 15px 0; color: #2c3e50; }

/* Features Styling */
.features-section { padding: 80px 0; }
.text-col, .img-col { flex: 1; }
.img-col img { width: 100%; border-radius: 10px; }

.btn-orange {
    display: inline-block;
    padding: 12px 30px;
    background: #1427d2;
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
}

/* Product Section Styling */
.product-section { padding: 80px 0; background: #fdfdfd; text-align: center; }
.product-grid { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 40px; }
.product-card { 
    flex: 1; 
    min-width: 250px; 
    background: #fff; 
    padding: 20px; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-radius: 8px;
}

/* Image Hover Overlay Logic */
.product-img-box {
    position: relative;
    overflow: hidden; /* Clips the overlay */
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img-box img { max-width: 100%; max-height: 100%; }

.product-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(235, 113, 61, 0.9); /* Orange transparent background */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0; /* Hidden by default */
    transition: 0.3s ease-in-out;
}

/* When the card is hovered, show the button */
.product-card:hover .product-overlay {
    opacity: 1;
}

.btn-read-more {
    background: #fff;
    color: #333;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
}

.product-desc h4 { font-size: 16px; margin-top: 20px; color: #333; }


@media (max-width: 768px) {
    /* Stack feature section vertically */
    .flex-row {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    /* Change product grid to 1 column or 2 columns */
    .product-grid {
        justify-content: center;
    }

    .product-card {
        flex: 0 0 100%; /* Full width cards on mobile */
        max-width: 400px;
    }

    h2 { font-size: 26px; }

    /* For mobile, you can make the overlay visible on click if hover isn't preferred */
    .product-card:active .product-overlay {
        opacity: 1;
    }
}







:root {
    --calygen-orange: #1427d2;
    --text-white: #ffffff;
}

/* Partner Hero Area */
.partner-hero {
    background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)), 
                url('bg-counter-4.jpg'); /* Replace with your image */
    background-size: cover;
    background-position: center;
    padding: 100px 0 140px 0; /* Extra bottom padding for the overlap */
    text-align: center;
    color: var(--text-white);
}

.partner-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
    color: white;
}

.partner-desc {
    max-width: 700px;
    margin: 0 auto 30px auto;
    font-size: 16px;
    opacity: 0.9;
}

/* Stats Bar (The Orange Box) */
.stats-bar {
    background-color: var(--calygen-orange);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 50px 20px;
    border-radius: 4px;
    margin-top: -80px; /* Pulls the bar onto the hero image */
    position: relative;
    z-index: 10;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.stat-item {
    text-align: center;
    color: var(--text-white);
    flex: 1;
}

.stat-item h3 {
    font-size: 42px;
    margin: 0;
    font-weight: 700;
}

.stat-item p {
    font-size: 14px;
    margin-top: 5px;
    font-weight: 500;
    opacity: 0.9;
}

/* Buttons */
.hero-btns {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-orange {
    background-color: var(--calygen-orange);
    color: white;
    padding: 12px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
}

.btn-outline {
    background: white;
    color: #333;
    padding: 12px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
}





/* Responsive */
@media (max-width: 768px) {
    .stats-bar {
        flex-direction: column;
        gap: 30px;
        margin-top: -40px;
    }
    .partner-title { font-size: 28px; }
}









