body{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

/* Header Section Start */
header{
    width: 100%;
    height: 72px;
    position: relative;
    position: sticky;
    top: 0;
    background-color: #ffffff;
}
header div{
    float: left;
    justify-content: space-between;
}
header .logo{
    margin-left: 200px;
    padding: 2px;
}
header .logo a{
    text-decoration: none;
    color: rgb(41, 41, 41);
    text-transform: uppercase;
}
header .nav{
    position: absolute;
    top: 0;
    right: 0;
    margin-right: 200px;
}
header .nav ul{
    list-style: none;
}
header .nav ul li{
    float: left;
    padding-right: 40px;
    padding-top: 10px;
}
header .nav ul li a{
    text-decoration: none;
    color: rgb(41, 41, 41);
    text-transform: uppercase;
    font-size: 12px;
    font-weight: bold;
}
header .nav ul li a:hover{
    color: #7f97ff;
}
/* Header Section End */
/* Menu icon hidden in desktop start */
/* Menu Icon */
.menu-icon {
    display: none;
    width: 30px;
    height: 22px;
    position: absolute;
    top: 25px;
    right: 20px;
    cursor: pointer;
    z-index: 1001;
}

.menu-icon span {
    display: block;
    height: 4px;
    width: 100%;
    background: #000;
    margin: 5px 0;
    transition: 0.4s;
}

/* Hamburger → X animation */
.menu-icon.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-icon.active span:nth-child(2) {
    opacity: 0;
}

.menu-icon.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Overlay */
.overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 999;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}
/* Menu icon hidden in desktop end */

/* Tablet Responsive  start */
@media (min-width: 769px) and (max-width: 1024px) {
    header .logo {
        margin-left: 50px;
    }

    header .nav {
        margin-right: 50px;
    }

    .text1{
        margin-left: 40px;
        margin-bottom: 120px;
    }
    .img1{
        padding-right: 100px;
    }
    .img1 img{
        max-width: 100%;
        height: auto;
    }
    .text1 h2{
        font-weight: normal;
        font-family: 'Times New Roman', Times, serif;
        margin-top: -28px;
    }
    .text1 h1{
        font-size: 60px;
        font-family: 'Times New Roman', Times, serif;
    }
    .text1 p{
        color: rgba(78, 78, 78, 0.7);
        margin-right: 50px;
    }
    .text1 .btn1{
        padding: 8px 20px;
        background-color: #8393ff;
        outline: none;
        color: white;
        border: 1px solid #8393ff;
        font-size: 15px;
    }
    .text1 .btn1:hover{
        box-shadow: 5px 10px 30px rgba(131, 147, 255, 0.5);
        transition: all 0.5s ease 0.1s;
        outline: none;
    }

}
/* Tablet Responsive end */

/* Mobile Responsive Navbar start */
@media (max-width: 768px) {

    .menu-icon {
        display: block;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100%;
        background: #fff;
        transition: 0.4s;
        z-index: 1000;
        padding-top: 80px;
    }

    .nav.active {
        right: 0;
    }

    .nav ul {
        padding: 0;
    }

    .nav ul li {
        display: block;
        padding: 15px;
        border-bottom: 1px solid #eee;
    }
}
@media (max-width: 768px) {

    /* Show menu icon */
    .menu-icon {
        display: block;
    }

    /* Hide menu by default */
    .nav {
        display: none;
        width: 100%;
        background: #fff;
        position: absolute;
        top: 60px;
        left: 0;
        text-align: center;
    }

    /* Show menu when active */
    .nav.active {
        display: block;
    }

    .nav ul {
        padding: 0;
    }

    .nav ul li {
        display: block;
        padding: 15px 0;
    }
}
/* Mobile Responsive Navbar end */

/* Hero Section Start */
section{
    background-color: #f9f9ff;
    width: 100%;
    height: 750px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.text1, .img1{
    width: 50%;
}
.text1{
    margin-left: 220px;
    margin-bottom: 120px;
}
.img1{
    padding-right: 160px;
}
.img1 img{
    max-width: 100%;
    height: auto;
}
.text1 h2{
    font-weight: normal;
    font-family: 'Times New Roman', Times, serif;
    margin-top: -28px;
}
.text1 h1{
    font-size: 60px;
    font-family: 'Times New Roman', Times, serif;
}
.text1 p{
    color: rgba(78, 78, 78, 0.7);
    margin-right: 50px;
}
.text1 .btn1{
    padding: 8px 20px;
    background-color: #8393ff;
    outline: none;
    color: white;
    border: 1px solid #8393ff;
    font-size: 15px;
}
.text1 .btn1:hover{
    box-shadow: 5px 10px 30px rgba(131, 147, 255, 0.5);
    transition: all 0.5s ease 0.1s;
    outline: none;
}
/* Hero Section End */

/* Header & Hero Section mediaquary start */
/* Mobile Responsive */
@media (max-width: 768px) {

    /* Header Fix */
    header {
        height: auto;
        padding: 10px 0;
    }

    header .logo {
        margin-left: 70px;
    }

    header .nav {
        position: static;
        margin-right: 0;
        text-align: center;
    }

    header .nav ul {
        padding: 0;
    }

    header .nav ul li {
        float: none;
        display: inline-block;
        padding: 10px;
    }

    /* Hero Section */
    section {
        flex-direction: column-reverse; /* 👈 MAGIC: image first, text later */
        height: auto;
        padding: 40px 20px;
        text-align: center;
    }

    .text1, .img1 {
        width: 100%;
    }

    .text1 {
        margin: 20px;
    }

    .img1 {
        padding: 10px;
        margin-bottom: 20px;
        margin-top: 20px;
    }

    .text1 h1 {
        font-size: 36px;
        margin-right: 35px;
    }

    .text1 h2 {
        font-size: 18px;
        margin-top: 10px;
        margin-right: 35px;
    }

    .text1 p {
        margin: 0;
        font-size: 14px;
        margin-left: 35px;
        margin-right: 35px;
    }

    .text1 .btn1 {
        margin-top: 15px;
    }
}
/* Header & Hero Section mediaquary end */

/* Hero Section tablet mediaquary start */
@media (min-width: 769px) and (max-width: 1024px) {

    .text1 {
        margin-left: 45px;
        margin-bottom: 120px;
        margin-top: 40px;
    }
    .img1 {
        padding-right: 45px;
    }
}
/* Hero Section tablet mediaquary end */


/* Statistics Section start */
/* Section */
.stats-section {
  background: #0f172a;
  padding: 60px 20px;
}

/* Container */
.container1 {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Box */
.stat-box {
  background: #1e293b;
  padding: 30px;
  text-align: center;
  border-radius: 12px;
  transition: 0.3s;
}

/* Hover effect */
.stat-box:hover {
  transform: translateY(-5px);
  background: #334155;
}

/* Number */
.stat-box h2 {
  font-size: 40px;
  color: #38bdf8;
  margin-bottom: 10px;
}

/* Text */
.stat-box p {
  color: #cbd5f5;
  font-size: 16px;
}
/* Statistics Section end */
/* Statistics Section tablet mediaquary start */
@media (min-width: 769px) and (max-width: 1024px) {
    .container1 {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-section{
        padding: 40px 20px;
    }
}
/* Statistics Section tablet mediaquary end */
/* Statistics Section mobile mediaquary start */
@media (max-width: 768px) {
  .container1 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .container1 {
    grid-template-columns: 1fr;
  }
}
/* Statistics Section mediaquary end */