/* ----------------------------
   BASE STYLES
---------------------------- */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: #1e293b;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: auto;
    padding: 0 20px; /* added padding for better spacing */
}

.header {
    background: #0f172a;
    color: white;
    position: sticky;
    top: 0;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 20px;
}

.logo img {
    height: 40px;
    width: auto;
    transform: scale(5);
    transform-origin: left;
}

nav a {
    color: rgb(248, 243, 243);
    margin-left: 25px;
    text-decoration: none;
    font-weight: 500;
}

.menu-toggle {
    display: none;
    font-size: 26px;
    cursor: pointer;
}

/* ----------------------------
   HERO SECTION
---------------------------- */
.hero {
    min-height: 90vh; /* taller hero */
    background: linear-gradient(120deg,#214cb2,#214cb2);
    color: white;
    padding: 140px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center; /* vertical centering */
    align-items: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    max-width: 700px;
    margin: auto;
}

.hero button {
    margin-top: 30px;
    padding: 14px 28px;
    border: none;
    background: white;
    color: black;
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px;
}

/* ----------------------------
   SECTION SYSTEM
---------------------------- */
.section {
    padding: 120px 0;
    min-height: 70vh; /* consistent section height */
    display: flex;
    align-items: center; /* vertical centering */
    position: relative;
    overflow: hidden;
}

.section::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(37,99,235,0.05); /* subtle SaaS-style circle */
    border-radius: 50%;
    top: -150px;
    right: -150px;
    z-index: 0;
}

.section h2 {
    font-size: 34px;
    margin-bottom: 40px;
}

.container {
    position: relative; /* ensures section content is above decorative circles */
    z-index: 1;
}

/* ===================================== */
/* WHY WORK WITH US SECTION */
/* ===================================== */

.why-section{
    background: radial-gradient(circle at top, #5c79da, #07143308);
    padding: 100px 20px;
    text-align: center;
    color: #ffffff;
  }
  
  .why-section h2{
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 60px;
    letter-spacing: 1px;
  }
  .why-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;          /* space below heading */
    color: #333;                  /* dark color for visibility */
  }
  
  
  /* GRID LAYOUT */
  
  .why-grid{
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 35px;
  }
  
  
  /* CARD */
  
  .why-card{
    background: #214cb2;
    padding: 40px 30px;
    border-radius: 18px;
    border: 1px solid rgba(0,180,255,0.25);
    backdrop-filter: blur(10px);
    transition: all 0.35s ease;
  }
  
  
  /* HOVER EFFECT */
  
  .why-card:hover{
    transform: translateY(-8px);
    border-color: #00c8ff;
    box-shadow: 0 0 30px rgba(0,200,255,0.25);
  }
  
  
  /* ICON CIRCLE */
  
  .circle{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg,#3405e0,#5a7cff);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    font-size: 20px;
    font-weight: 700;
    color: white;
    box-shadow: 0 0 15px rgba(0,200,255,0.4);
  }
  
  
  /* TEXT */
  
  .why-card p{
    font-size: 16px;
    line-height: 1.6;
    color: #d4dcff;
  }
  
  
  /* ===================================== */
  /* RESPONSIVE */
  /* ===================================== */
  
  @media (max-width: 900px){
  
    .why-grid{
      grid-template-columns: repeat(2,1fr);
    }
  
  }
  
  @media (max-width: 600px){
  
    .why-grid{
      grid-template-columns: 1fr;
    }
  
    .why-section h2{
      font-size: 30px;
    }
  
  }

/* ----------------------------
   GENERAL CARDS
---------------------------- */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 25px;
}

/* ----------------------------
   BENEFITS
---------------------------- */
.benefits {
    max-width: 700px;
    margin: auto;
    line-height: 2;
    font-size: 17px;
}


/* ----------------------------
   CONTACT
---------------------------- */
.contact-box {
    display: flex;

    gap: 50px;
    flex-wrap: wrap;
    padding: 40px 0;
  }
  
  .contact-info, .contact-form {
    flex: 1;
    min-width: 320px;
  }
  
  .contact-info h2, .contact-form h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #222;
  }
  
  .contact-info p {
    margin-bottom: 25px;
    color: #555;
    line-height: 1.6;
  }
  
/* ICON STYLE */
.contact-detail {
    display: flex;
    align-items: center;
    gap: 10px; /* space between icon and text */
    margin-bottom: 20px;
    font-size: 16px;
    color: #333;
  }
  
  .contact-detail svg.icon {
    flex-shrink: 0;
    color: #007BFF; /* corporate blue */
  }
  
  .contact-detail a {
    color: #007BFF;
    text-decoration: none;
  }
  
  .contact-detail a:hover {
    text-decoration: underline;
  }
  
  .contact-info iframe {
    border-radius: 12px;
  }
  
  .contact-form input,
  .contact-form textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.3s;
  }
  
  .contact-form input:focus,
  .contact-form textarea:focus {
    border-color: #007BFF;
    outline: none;
  }
  
  .contact-form button {
    background: #007BFF;
    color: white;
    border: none;
    padding: 14px 25px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
  }
  
  .contact-form button:hover {
    background: #0056b3;
  }


/* ----------------------------
   FOOTER
---------------------------- */
footer {
    background: #020617;
    color: white;
    text-align: center;
    padding: 30px 0;
}

.tag {
    opacity: 0.7;
    font-size: 14px;
}

/* ----------------------------
   ABOUT SECTION
---------------------------- */
.about-flex {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 40px;
    margin: 50px 0;
    min-height: 100vh;
}

.about-image {
    flex: 1.5;
    height: 100vh;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.about-section {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

.about-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 3rem;
    box-sizing: border-box;
    height: 100%;
    overflow-y: auto;
    z-index: 1;
}

.about-content .small-label,
.about-content h2,
.about-content .caption,
.about-content p {
    width: 100%;
    margin: 0 0 1rem 0;
}

.small-label {
    font-size: 0.9rem;
    color: #214cb2;
    font-weight: bold;
    text-transform: uppercase;
}

.about-content h2 {
    font-size: 2.5rem;
}

.caption {
    font-size: 1.2rem;
    color: #555;
}

.about-content p {
    font-size: 1rem;
    line-height: 1.8;
}

.card {
    display: flex;
    flex-direction: column;   /* stack image + content vertically */
    height: 350px;            /* fixed card height */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 18px rgba(0,0,0,0.08);
    background: white;
}

.card img {
    width: 100%;
    height: 50%;             /* half of card height */
    object-fit: cover;       /* cover without stretching */
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    display: block;
    background: black;
}

.card h3,
.card p {
    margin: 10px 15px 0 15px;
    flex: 1;                 /* text takes remaining space */
}

/* ----------------------------
   ANIMATIONS
---------------------------- */
.animated-text {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards;
}

.animated-text.show {
    animation: fadeInUp 1s forwards;
}

.animated-text:nth-child(1) { animation-delay: 0.2s; }
.animated-text:nth-child(2) { animation-delay: 0.4s; }
.animated-text:nth-child(3) { animation-delay: 0.6s; }
.animated-text:nth-child(4) { animation-delay: 0.8s; }
.animated-text:nth-child(5) { animation-delay: 1s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ----------------------------
   RESPONSIVE
---------------------------- */
@media(max-width:900px){
    .about-content {
        justify-content: center;
        align-items: center;
        padding: 20px;
    }

    .about-content .small-label,
    .about-content h2,
    .about-content .caption,
    .about-content p {
        text-align: center;
    }
}

@media(max-width:768px){
    nav {
        display: none;
        flex-direction: column;
        background: #1a294a;
        position: absolute;
        right: 20px;
        top: 60px;
        padding: 20px;
    }
    
    nav a {
        margin: 10px 0;
    }
    
    .menu-toggle {
        display: block;
    }
}
/*scrolling*/
section {
    scroll-margin-top: 80px; /* height of your header */
}
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999; /* stay on top */
}  
html {
    scroll-behavior: smooth;
}