/* ===============================
   GLOBAL RESET & VARIABLES
================================*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color: #3498db;
    --text-color: #2c3e50;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --dark-gray: #343a40;
    --white: #ffffff;
    --mission-start: #667eea;
    --mission-end: #764ba2;
    --vision-start: #f093fb;
    --vision-end: #f5576c;
    --values-start: #4facfe;
    --values-end: #00f2fe;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
    padding-top: 35px;
    font-family: Arial, sans-serif;
}



img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===============================
   BANNER
================================*/
.banner {
    width: 100%;
    height: 380px;
    position: relative;
    overflow: hidden;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.banner .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-size: clamp(2rem, 6vw, 4.5rem);
    font-weight: 700;
    text-align: center;
    padding: 0 20px;
    width: 100%;
}

/* ===============================
   INFO SECTION
================================*/
.info {
    margin: 40px auto;
    width: 90%;
    max-width: 1400px;
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}

.info .left {
    flex: 1 1 100%;
    min-width: 0;
}

.info .right {
    flex: 1 1 100%;
    min-width: 0;
    display: flex;
    justify-content: center;
}

.info .right img {
    width: 100%;
    max-width: 550px;
    border-radius: 12px;
}

.info h1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--dark-gray);
    line-height: 1.3;
    word-wrap: break-word;
}

.info h3 {
    margin: 10px 0;
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: var(--primary-color);
}

.info h4 {
    margin: 15px 0 10px;
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--dark-gray);
}

.info p {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--dark-gray);
}

.info .left ul {
    margin-left: 20px;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    list-style: square;
    line-height: 1.8;
}

.info .left .explore {
    margin-top: 20px;
    padding: 14px 26px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    color: var(--white);
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
    display: inline-block;
}

.info .left .explore:hover {
    transform: translateY(-3px);
}

.info .left .explore a {
    color: var(--white);
    text-decoration: none;
}

/* ===============================
   SERVICES
================================*/
.service {
    margin: 60px auto;
    width: 90%;
    max-width: 1200px;
    text-align: center;
}

.service h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 40px;
    color: var(--primary-color);
    font-weight: 600;
}

.service-list ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    padding: 0;
    list-style: none;
}

.minicard {
    width: 100%;
}

.minicard li {
    list-style: none;
    background: var(--white);
    padding: 30px 24px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border: 1px solid var(--medium-gray);
    transition: all 0.3s ease;
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    font-weight: 500;
    color: var(--dark-gray);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    min-height: 240px;
    text-align: center;
    width: 100%;
}

.minicard li:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(46, 48, 201, 0.15);
    border-color: var(--primary-color);
}

.minicard img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.minicard li:hover img {
    transform: scale(1.05);
}

/* ===============================
   MISSION / VISION / VALUES
================================*/
.otherInfo {
    width: 90%;
    max-width: 1400px;
    margin: 80px auto;
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr;
}

.box {
    background: var(--white);
    padding: 40px 35px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    transition: height 0.3s ease;
}

.mission::before {
    background: linear-gradient(135deg, var(--mission-start), var(--mission-end));
}

.vision::before {
    background: linear-gradient(135deg, var(--vision-start), var(--vision-end));
}

.values::before {
    background: linear-gradient(135deg, var(--values-start), var(--values-end));
}

.box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.box:hover::before {
    height: 8px;
}

.box h1 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    text-align: center;
    margin-bottom: 25px;
    font-weight: 700;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 15px;
    color: #2c3e50;
    word-wrap: break-word;
}

.box h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    border-radius: 2px;
}

.mission h1::after {
    background: linear-gradient(135deg, var(--mission-start), var(--mission-end));
}

.vision h1::after {
    background: linear-gradient(135deg, var(--vision-start), var(--vision-end));
}

.values h1::after {
    background: linear-gradient(135deg, var(--values-start), var(--values-end));
}

.box p {
    font-size: clamp(0.9rem, 1.5vw, 1.05rem);
    line-height: 1.8;
    color: #555;
    text-align: justify;
    word-wrap: break-word;
}

/* ===============================
   TEAM
================================*/
.ourTeam {
    width: 90%;
    max-width: 1200px;
    margin: 60px auto;
    text-align: center;
}

.ourTeam h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 40px;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
}

.team {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    justify-items: center;
    gap: 25px;
}

.teamCard {
    width: 100%;
    max-width: 280px;
    background: var(--white);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: 0.3s ease;
}

.teamCard:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.teamCard img {
    width: 100%;
    border-radius: 10px;
}

.teamCard p {
    margin-top: 12px;
    padding: 10px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    color: var(--white);
    font-weight: bold;
    border-radius: 8px;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

/* ===============================
   OUR STORY IMAGE
================================*/
.ourStory {
    width: 100%;
    margin: 40px 0;
}

.ourStory img {
    width: 100%;
    height: auto;
}

/* ===============================
   CLIENT LOGO
================================*/
.clients {
    background: var(--light-gray);
    padding: 40px 20px;
    text-align: center;
}

.clients h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 30px;
    color: var(--primary-color);
    text-transform: uppercase;
}


.client img {
    width: 100%;
}

/* ===============================
   ANIMATIONS
================================*/
.animate {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

.animate.visible {
    opacity: 1;
    transform: translateY(0);
}

.right.reveal img {
    clip-path: inset(0 100% 0 0);
    animation: revealImage 2s forwards;
}

@keyframes revealImage {
    100% {
        clip-path: inset(0 0 0 0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===============================
   RESPONSIVE BREAKPOINTS
================================*/

/* Small Tablets and Large Phones (600px - 767px) */
@media (max-width: 767px) {
    html, body {
        padding-top: 20px;
    }

    .banner {
        height: 300px;
    }

    .info {
        width: 92%;
        gap: 30px;
        flex-direction: column;
    }

    .info .left,
    .info .right {
        flex: 1 1 100%;
    }
}

/* Tablets (768px - 1023px) */
@media (min-width: 768px) {
    .info .left {
        flex: 1 1 45%;
    }

    .info .right {
        flex: 1 1 45%;
    }

    .otherInfo {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }

    .values {
        grid-column: 1 / -1;
    }

    .service-list ul {
        grid-template-columns: repeat(3, 1fr);
    }

    .team {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .service {
        margin: 40px auto;
        width: 92%;
    }

    .service h1 {
        margin-bottom: 30px;
    }

    .service-list ul {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .minicard li {
        padding: 24px 20px;
        min-height: 220px;
    }

    .minicard img {
        width: 100px;
        height: 100px;
    }
}

/* Mobile devices (481px - 767px) */
@media (max-width: 480px) {
    html, body {
        padding-top: 15px;
    }

    .banner {
        height: 250px;
    }

    .info {
        width: 95%;
        margin: 30px auto;
        gap: 25px;
    }

    .service {
        margin: 30px auto;
        width: 95%;
    }

    .service h1 {
        margin-bottom: 25px;
    }

    .service-list ul {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .minicard li {
        padding: 20px 16px;
        gap: 12px;
        min-height: 200px;
    }

    .minicard img {
        width: 90px;
        height: 90px;
    }

    .otherInfo {
        width: 95%;
        margin: 50px auto;
        gap: 25px;
    }

    .box {
        padding: 30px 25px;
        border-radius: 16px;
    }

    .box h1 {
        margin-bottom: 20px;
        padding-bottom: 12px;
        letter-spacing: 1px;
    }

    .ourTeam {
        width: 95%;
        margin: 40px auto;
    }

    .team {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .teamCard {
        max-width: 100%;
    }

    .clients {
        padding: 30px 15px;
    }
}

/* Very small devices (360px and below) */
@media (max-width: 360px) {
    .banner {
        height: 220px;
    }

    .info {
        width: 98%;
    }

    .service {
        width: 98%;
    }

    .service-list ul {
        gap: 12px;
    }

    .minicard li {
        padding: 18px 14px;
        min-height: 180px;
    }

    .minicard img {
        width: 80px;
        height: 80px;
    }

    .otherInfo {
        width: 98%;
        gap: 20px;
    }

    .box {
        padding: 25px 20px;
    }

    .box h1 {
        letter-spacing: 0.5px;
    }
}

/* Desktop (1024px - 1399px) */
@media (min-width: 1024px) {
    .info .left {
        flex: 1 1 450px;
    }

    .info .right {
        flex: 1 1 450px;
    }

    .otherInfo {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
        margin: 100px auto;
    }

    .values {
        grid-column: auto;
    }

    .box {
        padding: 45px 40px;
    }

    .service-list ul {
        grid-template-columns: repeat(3, 1fr);
    }

    .team {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Large desktop (1400px+) */
@media (min-width: 1400px) {
    .service-list ul {
        grid-template-columns: repeat(6, 1fr);
    }

    .box {
        padding: 50px 45px;
    }
}

/* Landscape mobile phones */
@media (max-width: 767px) and (orientation: landscape) {
    .banner {
        height: 250px;
    }

    .service-list ul {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Ensure no elements cause horizontal scroll */
@media (max-width: 768px) {
    * {
        max-width: 100vw;
    }
    
    .info, .service, .otherInfo, .ourTeam, .clients {
        overflow-x: hidden;
    }
}