* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2e7d32;
}

/* Header & Navigation */
header {
    background: linear-gradient(135deg, #0277bd 0%, #01579b 20%, #0d47a1 100%);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(14, 71, 161, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    font-size: 1.1rem;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #a8ddf6;
}

/* Slideshow */
.slideshow {
    position: relative;
    height: 80vh;
    overflow: hidden;
    margin-top: 80px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}
.slide-overlay {
    background: rgba(13, 71, 161, 0.8);
    padding: 3rem;
    text-align: center;
    border-radius: 10px;
    max-width: 1600px;
    border: 1px solid rgba(3, 169, 244, 0.3);
} 

.slide-overlay h1 {
    color: #ffffff;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.slide-overlay p {
    color: #f8f9fa;
    font-size: 1.5rem;
    opacity: 0.9;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0277bd 0%, #01579b 50%, #0d47a1 100%);
    color: #ffffff;
    padding: 6rem 2rem;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: #ffffff;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: #f8f9fa;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%);
    color: #ffffff;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.cta-button:hover {
    background: linear-gradient(135deg, #388e3c 0%, #2e7d32 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
}
.cta-button-container {
    text-align: center;
    margin-top: 2rem;
}

/* Features Section */
.features-section {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    text-align: center;
}

.features-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #409b44;
    margin-top:2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(46, 125, 50, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(129, 199, 132, 0.2);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(46, 125, 50, 0.15);
    border-color: rgba(76, 175, 80, 0.4);
}

.feature-card img {
    width: 100%;
    max-width: 320px;
    height: auto;
    margin-bottom: 1.5rem;
    border-radius: 10px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2e7d32;
}

.feature-card p {
    color: #388e3c;
    line-height: 1.6;
}

/* Three Row Section */
.three-row-section {
    padding: 6rem 2rem;
    background: #ffffff;
}

.row-item {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 4rem auto;
    gap: 3rem;
}

.row-item2 {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 4rem auto;
    gap: 3rem;
}
.row-item:nth-child(even) {
    flex-direction: row-reverse;
}

.row-item2:nth-child(even) {
    flex-direction: row-reverse;
}
.row-item img {
    flex: 1;
    max-width: 500px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(3, 169, 244, 0.1);
}

.row-item2 img {
    flex: 1;
    max-width: 500px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(3, 169, 244, 0.1);
}
.row-item2 img {
    flex: 1;
    max-width: 300px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(3, 169, 244, 0.1);
}
.row-content {
    flex: 1;
    padding: 2rem;
}

.row-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #03a9f4;
}

.row-content p {
    color: #388e3c;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Use Cases Section */
.use-cases-section {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.use-cases-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2e7d32;
    margin-top:2rem;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.use-case-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(46, 125, 50, 0.1);
    transition: transform 0.3s ease;
    border: 1px solid rgba(129, 199, 132, 0.2);
}

.use-case-card:hover {
    transform: translateY(-5px);
    border-color: rgba(76, 175, 80, 0.4);
}

.use-case-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #03a9f4;
    border-bottom: 2px solid #03a9f4;
    padding-bottom: 0.5rem;
}

.use-case-card ul {
    list-style: none;
}

.use-case-card li {
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 3px solid #8bc34a;
}

.use-case-card li strong {
    color: #2e7d32;
    display: block;
    margin-bottom: 0.5rem;
}

/* Company Overview */
.company-overview {
    padding: 6rem 2rem;
    background: #ffffff;
    max-width: 1000px;
    margin: 0 auto;
}

.company-overview h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #2e7d32;
}

.company-overview p, .company-overview li {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #388e3c;
    margin-bottom: 1rem;
}

.company-overview ul {
    padding-left: 2rem;
}

.company-overview hr {
    margin: 3rem 0;
    border: none;
    height: 2px;
    background: linear-gradient(90deg, #8bc34a, #cddc39, transparent);
}

.company-overview strong {
    color: #4caf50;
}

/* Contact Section */
.contact-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #0277bd 0%, #01579b 50%, #0d47a1 100%);
    color: #ffffff;
    text-align: center;
}

.contact-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.contact-section p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    color: #f8f9fa;
}

.contact-form {
    max-width: 500px;
    margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(3, 169, 244, 0.3);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    background: rgba(248, 249, 250, 0.95);
    color: #2e7d32;
}

.contact-form textarea {
    height: 120px;
    resize: vertical;
}

.contact-form button {
    background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%);
    color: #ffffff;
    padding: 1rem 3rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form button:hover {
    background: linear-gradient(135deg, #388e3c 0%, #2e7d32 100%);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: #0d47a1;
    color: #ffffff;
    padding: 3rem 2rem 1rem 2rem;
    text-align: center;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-icon {
    display: inline-block;
    padding: 0.5rem;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
}

.social-icon svg path {
    fill: #8bc34a;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;                
        font-size: 0.9rem;
    }

    .slide-overlay h1 {
        font-size: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .row-item {
        flex-direction: column !important;
        text-align: center;
    }

    .row-item2 {
        flex-direction: column !important;
        text-align: center;
    }
    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
} 



/* ============ Mobile & Tablet overrides ============ */

/* 0) Safe defaults */
:root { --header-h: 80px; } /* desktop default */
html { -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; } /* no sideways scroll */
img, svg, video, canvas { max-width: 100%; height: auto; }

/* 1) Anchored sections don't hide under the fixed header */
section[id], [id] { scroll-margin-top: calc(var(--header-h) + 12px); }

/* 2) Slideshow: fix header overlap + more sensible heights on small screens */
.slideshow { 
height: min(70vh, 70dvh);
margin-top: 10px;
/*margin-top: var(--header-h);*/
}
.slide-overlay {
padding: clamp(1rem, 3vw, 2.25rem);
max-width: min(92vw, 1200px);
margin: 0 1rem;
}
.slide-overlay h1 { font-size: clamp(1.5rem, 4.8vw, 2.5rem); }
.slide-overlay p  { font-size: clamp(1rem, 3.6vw, 1.15rem); }

/* 3) Hero: scale down spacing & typography on small screens */
.hero { padding: clamp(3rem, 6vw, 6rem) 1rem; }
.hero-content h1 { font-size: clamp(1.8rem, 6.2vw, 3rem); }
.hero-content p  { font-size: clamp(1rem, 3.8vw, 1.2rem); max-width: 70ch; }

/* 4) Navigation: stack nicely; avoid wrap overflow */
@media (max-width: 1024px) {
:root { --header-h: 112px; }             /* header is taller when stacked */
header { position: sticky; top: 0; }     /* avoids covering content on mobile */
.navbar { 
    flex-direction: column; 
    align-items: stretch;
    gap: .5rem; 
    padding: .75rem 1rem;
}
.logo { justify-content: center; font-size: 1.25rem; margin-bottom: .25rem; }
.nav-links { 
    display: flex;
    flex-wrap: wrap; 
    justify-content: center; 
    gap: .75rem 1rem; 
    font-size: 1rem;
}
.nav-links a { 
    display: inline-block; 
    padding: .5rem .75rem; 
    border-radius: 8px; 
}
}

/* 5) Slideshow on mobile: shorter hero panel */
@media (max-width: 1024px) {
.slideshow { 
    height: min(52vh, 52dvh); 
    margin-top: 0px;
    /*margin-top: var(--header-h); */
}
}

/* 6) Feature / use-case grids: clean columns without overflow */
@media (max-width: 1024px) {
.features-section { padding: 3.5rem 1rem; }
.features-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
/* override the desktop minmax(400px) so iPad widths don’t overflow */
.use-cases-grid { grid-template-columns: repeat(2, minmax(280px, 1fr)); gap: 1.25rem; }
}
@media (max-width: 600px) {
.features-grid, .use-cases-grid { grid-template-columns: 1fr; }
}

/* 7) Image/Text rows: stack on pads/phones with centered content */
@media (max-width: 1024px) {
.row-item, .row-item2 { 
    flex-direction: column !important; 
    gap: 1.25rem; 
    text-align: center; 
}
.row-item img, .row-item2 img { 
    /*max-width: min(92vw, 520px); */
    max-width: 100%;
    height: auto;
    margin: 0 auto; 
}
.row-content { padding: 0; }
.row-content h3 { font-size: clamp(1.25rem, 5vw, 1.6rem); }
.row-content p  { font-size: clamp(.98rem, 3.6vw, 1.06rem); }
}

/* 8) Cards: slightly tighter spacing on small screens */
@media (max-width: 600px) {
.feature-card, .use-case-card { padding: 1.25rem; }
}

/* 9) Contact block: tighter padding on phones */
@media (max-width: 480px) {
    .contact-section { padding: 3rem 1rem; }
    .contact-form { padding: 0 .5rem; }
    .contact-form input, .contact-form textarea { font-size: 1rem; }
    .three-row-section {
        padding: 1rem 1rem;
        background: #ffffff;
        width: 100%;
    }
    .use-cases-section {
        padding: 1rem 1rem;    
        width: 100%;
    }    
    .features-section {
        padding: 1rem 1rem;
        background: #ffffff;
        width: 100%;
    }
}

/* 10) Footer icons: keep them tappable without crowding */
@media (max-width: 480px) {
.footer-social { gap: .5rem; }
.social-icon { padding: .35rem; }
}



/* Fix stretched images in stacked rows (phones & small tablets) */
@media (max-width: 600px) {
    /* ensure the rows stack and don't stretch children */
    .row-item,
    .row-item2 {
      flex-direction: column !important;
      align-items: center;            /* prevents cross-axis stretching */
    }
  
    /* critical: remove flex growth from images on column layout */
    .row-item img,
    .row-item2 img {
      flex: 0 0 auto !important;      /* stop flex from assigning a height */
      width: 100%;
      max-width: 520px;               /* or whatever cap you prefer */
      height: auto !important;        /* preserve aspect ratio */
      object-fit: contain;            /* extra safety if a height slips in */
      display: block;
      min-width: 0;                   /* iOS/Safari flexbox quirks */
      min-height: 0;
    }
  
    /* let the text block size naturally too */
    .row-content { 
      flex: 0 1 auto; 
    }
  }
  
  /* On very small phones, allow the image to use the full width */
  @media (max-width: 480px) {
    .row-item img,
    .row-item2 img {
      max-width: 100%;
    }
  }
  