/* ===========================
   GLOBAL STYLES & RESET
   =========================== */
/* Reset default browser styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Base body styles - font, background, and text color */
body {
    font-family: Arial, sans-serif;
    background-color: #fff;
    color: #333;
}

/* ===========================
   NAVBAR STYLES
   =========================== */
/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Logo styling with brand color */
.logo {
    font-size: 24px;
    font-weight: bold;
}

/* Logo accent color - highlighted part */
.logo span {
    color: #007bff;
}

/* Navigation links container */
.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Individual navigation link styling */
.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
}

/* Navigation link hover effect */
.nav-links a:hover {
    color: #007bff;
}

/* Search icon styling */
.search-icon {
    font-size: 16px;
    cursor: pointer;
    padding: 8px;
    background: #f0f0f0;
    border-radius: 50%;
}

/* Primary button styling */
.btn {
    padding: 10px 18px;
    background-color: #007bff;
    color: white;
    border: none;
    font-weight: 600;
    border-radius: 12px;
    font-size: 14px;
}

.btn:hover {
    color: white;
    background-color: black;
    cursor: pointer;
    transform: scale(1.02);
    transition: ease-in-out 0.3s;
}

/* ===========================
   HERO SECTION
   =========================== */
/* Hero Section */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px 5%;
    flex-wrap: wrap;
}

/* Hero text container */
.hero-text {
    max-width: 500px;
}

/* Main heading in hero section */
.hero-text h1 {
    font-size: 40px;
    color: #007bff;
    margin-bottom: 20px;
}

/* Paragraph text in hero section */
.hero-text p {
    font-size: 16px;
    margin-bottom: 30px;
    color: #666;
}

/* Hero button styling */
.hero-text .btn {
    font-size: 16px;
}

/* Hero image container */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Hero image styling */
.hero-image img {
    width: 800px;
    height: 200;
    border-radius: 12px;
    box-shadow: 0 2px 8px #979797;
}

.hero-image img:hover {
    transform: rotate(-6deg);
    transition: ease-in-out 0.5s;
    cursor: pointer;
}

/* ===========================
   TRUSTED COMPANIES SECTION
   =========================== */
/* Trusted Companies Section */
.flex-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-color: #f5fbff;
    padding: 30px 10px;
}

/* Section heading for companies */
.flex-container h6 {
    width: 100%;
    text-align: center;
    font-size: 15px;
    margin-bottom: 5px;
    color: skyblue;
}

/* Individual company items */
.flex-container>div {
    background-color: #f5fbff;
    width: 100px;
    margin: 10px;
    text-align: center;
    line-height: 75px;
    font-size: 20px;
}


/* ===========================
   RESPONSIVE DESIGN - MOBILE
   =========================== */
@media (max-width: 768px) {

    /* Stack hero items vertically on mobile */
    .hero {
        flex-direction: column-reverse;
        text-align: center;
    }

    /* Wrap navigation links on smaller screens */
    .nav-links {
        flex-wrap: wrap;
    }
}

/* ===========================
   CONTENT SECTIONS & LAYOUT
   =========================== */
/* Body reset for content area */
body {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

/* Background and typography for main content */
body {
    background-color: #f4faff;
    color: #333;
    line-height: 1.6;
}

/* Main container with max-width */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
}

/* Section layout for alternating content */
.section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

/* Reverse order for alternating layouts */
.section.reverse {
    flex-direction: row-reverse;
}

/* Text content container */
.text {
    flex: 1;
    min-width: 280px;
}

/* Subheading text styling */
.text h2 {
    color: #007bff;
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

/* Section heading */
.text h1 {
    font-size: 28px;
    color: #000;
    margin-bottom: 20px;
}

/* Paragraph spacing */
.text p {
    margin-bottom: 20px;
}

/* Button styling for text sections */
.btn {
    background-color: #007bff;
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
}

/* Image container */
.image {
    flex: 1;
    min-width: 280px;
}

/* Section image styling */
.image img {
    width: 100%;
    border-radius: 10px;
}

.image img:hover {
    transform: scale(1.01);
    transition: 0.3s;
}

/* Stats container for displaying metrics */
.stats {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* Individual stat card styling */
.stat {
    background-color: #fff;
    padding: 15px 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 100px;
}

/* Stat number styling */
.stat h3 {
    color: #007bff;
    font-size: 24px;
    margin-bottom: 5px;
}

/* Stat label text */
.stat p {
    font-size: 14px;
}

/* Mobile responsive - stack sections vertically */
@media (max-width: 768px) {
    .section {
        flex-direction: column;
    }

    .section.reverse {
        flex-direction: column;
        background-color: #eaf6ff !important;
        padding: 20px 3% !important;
        border-radius: 10px !important;
    }
}

/* ===========================
   TEAM SECTION
   =========================== */
/* Reset body styles for team section */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f9f9f9;
}

/* Team section container */
.team-section {
    text-align: center;
    padding: 50px 20px;
}

/* Team section subheading */
.subheading {
    color: #48a9f8;
    font-size: 14px;
    letter-spacing: 1px;
}

/* Team section main heading */
.heading {
    font-size: 32px;
    margin: 10px 0 40px;
}

/* Highlighted text in heading */
.highlight {
    color: #007bff;
    text-decoration: underline;
}

/* Team members container - flex layout */
.team-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

/* Individual team member card */
.team-member {
    background: white;
    border-radius: 10px;
    padding: 20px;
    width: 250px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.team-member:hover {
    cursor: pointer;
    transform: translateY(-8px);
    transition: 0.3s;
    box-shadow: 0 4px 10px #555;
}

/* Team member image */
.team-member img {
    width: 100%;
    border-radius: 10px;
    height: 250px;
    object-fit: cover;
}

/* Team member name */
.team-member h3 {
    margin: 15px 0 5px;
    font-size: 20px;
}

/* Team member role/title */
.role {
    color: #00b894;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Social media icons container */
.social-icons {
    margin-top: 15px;
}

/* Social media icon styling */
.social-icons a {
    color: white;
    background: #007bff;
    padding: 8px;
    margin: 0 5px;
    border-radius: 50%;
    display: inline-block;
    transition: 0.3s;
}

.social-icons a:hover {
    transform: translateY(-8px);
    transition: ease-in-out 0.3s;
}

/* Instagram icon color */
.social-icons a:nth-child(2) {
    background: #e1306c;
}

/* Twitter icon color */
.social-icons a:nth-child(3) {
    background: #1da1f2;
}

/* Social icon hover effect */
.social-icons a:hover {
    opacity: 0.8;
}

/* ===========================
    WHY WORK WITH US SECTION
    =========================== */
/* Section heading */
h2 {
    text-align: center;
    margin: 30px 0;
    font-size: 28px;
}

/* Cards container for features */
.cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 0 20px;
}

/* Individual card styling */
.card {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    width: 300px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

/* Card hover animation */
.card:hover {
    transform: translateY(-5px);
}

/* Tag styling for card labels */
.tag {
    display: inline-block;
    font-size: 12px;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 50px;
    margin-bottom: 10px;
    color: white;
}

/* Tag color variants */
.purple {
    background-color: #6c63ff;
}

.red {
    background-color: #ff4c4c;
}

.green {
    background-color: #00b894;
}

/* Card heading */
.card h3 {
    margin: 10px 0;
}

/* Card paragraph text */
.card p {
    font-size: 14px;
    color: #555;
}

/* ===========================
    PROJECT PROMPT SECTION
    =========================== */
/* Call-to-action section */
.project-prompt {
    background-color: #007bff;
    color: white;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 40px 0;
    width: 100%;
    gap: 30px;
}

/* Prompt text container */
.prompt-text {
    width: 100%;
    max-width: 600px;
}

/* Prompt button container */
.prompt-button {
    width: 100%;
    text-align: center;
}

/* Prompt button styling */
.prompt-button button {
    padding: 12px 25px;
    background-color: white;
    color: #007bff;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
    display: inline-block;
}

/* Prompt button hover effect */
.prompt-button button:hover {
    background-color: black;
    color: white;
    transform: scale(1.01);
    transition: ease-in-out 0.3s;
}

/* ===========================
    FOOTER SECTION
    =========================== */
/* Footer container */
footer {
    background-color: #f3f9ff;
    padding: 40px 60px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    font-size: 14px;
}

/* Footer column styling */
.footer-column {
    flex: 1;
    min-width: 220px;
    margin: 20px 0;
}

/* Footer column heading */
.footer-column h4 {
    font-size: 16px;
    margin-bottom: 10px;
}

/* Footer list styling */
.footer-column ul {
    list-style: none;
    padding: 0;
}

/* Footer list items */
.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li:hover {
    color: #1da1f2;
    cursor: pointer;
}

/* Footer social icons */
.social-icons a {
    margin-right: 10px;
    font-size: 16px;
    color: #333;
    background: #fff;
    padding: 8px;
    border-radius: 5px;
    display: inline-block;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Newsletter email input */
.newsletter input[type="email"] {
    padding: 10px;
    width: 90%;
    max-width: 250px;
    border: none;
    border-radius: 5px;
    background-color: #333;
    color: #fff;
    margin-bottom: 10px;
}

/* Newsletter subscribe button */
.newsletter button {
    background-color: #009aff;
    color: white;
    font-weight: 600;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.newsletter button:hover {
    transform: scale(1.01);
    transition: ease-in-out 0.3s;
    background-color: black;
    color: white;
}

/* ===========================
   RESPONSIVE DESIGN - TABLETS & MOBILE
   =========================== */
/* Tablets and below */
@media (max-width: 768px) {

    /* Navbar adjustments */
    .navbar {
        flex-wrap: wrap;
        padding: 15px 5%;
    }

    /* Adjust hero text */
    .hero {
        flex-direction: column-reverse;
        text-align: center;
        padding: 40px 5%;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-text p {
        font-size: 15px;
    }

    /* Hero image responsive */
    .hero-image img {
        width: 100%;
        max-width: 500px;
        height: auto;
    }

    .hero-image img:hover {
        transform: rotate(0deg);
    }

    /* Container adjustments */
    .container {
        padding: 30px 15px;
    }

    /* Section adjustments */
    .section {
        gap: 20px;
        margin-bottom: 40px;
    }

    .section.reverse {
        background-color: #eaf6ff !important;
        padding: 30px 15px !important;
    }

    .text .btn,
    .image img {
        width: 100%;
    }

    /* Nav link wrap */
    .nav-links {
        flex-wrap: wrap;
        gap: 15px;
    }

    /* Team member cards */
    .team-member {
        width: 200px;
    }

    /* Cards responsive */
    .card {
        width: 280px;
    }

    /* Project prompt stacking */
    .project-prompt {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        margin: 30px auto;
        padding: 30px 15px;
    }

    .prompt-button {
        text-align: center;
        width: 100%;
    }

    /* Footer adjustments */
    footer {
        padding: 30px 20px;
        gap: 15px;
    }

    .footer-column {
        margin: 10px 0;
    }
}

/* Small phones (480px and below) */
@media (max-width: 480px) {

    /* Navbar for small screens */
    .navbar {
        padding: 12px 3%;
        flex-direction: column;
        gap: 12px;
    }

    .logo {
        font-size: 18px;
        width: 100%;
        text-align: center;
    }

    .nav-links {
        gap: 8px;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        font-size: 14px;
    }

    .nav-links a {
        font-size: 13px;
    }

    .search-icon {
        font-size: 14px;
        padding: 6px;
    }

    .btn {
        padding: 8px 15px;
        font-size: 12px;
    }

    .btn:hover {
        transform: scale(1);
    }

    /* Hero section for mobile */
    .hero {
        padding: 30px 3%;
        gap: 20px;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-text h1 {
        font-size: 26px;
        margin-bottom: 15px;
    }

    .hero-text p {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .hero-text .btn {
        font-size: 14px;
        width: 100%;
    }

    /* Hero image */
    .hero-image {
        width: 100%;
    }

    .hero-image img {
        width: 100%;
        max-width: 100%;
        height: auto;
        box-shadow: 0 2px 6px #979797;
    }

    .hero-image img:hover {
        transform: rotate(0deg);
    }

    /* Trusted companies */
    .flex-container {
        padding: 20px 3%;
    }

    .flex-container h6 {
        font-size: 13px;
        margin-bottom: 15px;
    }

    .flex-container>div {
        width: 75px;
        margin: 8px;
        line-height: 50px;
        font-size: 11px;
    }

    /* Container */
    .container {
        max-width: 100%;
        padding: 20px 3%;
        margin: auto;
    }

    /* Section layout */
    .section {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 30px;
    }

    .section.reverse {
        flex-direction: column;
        background-color: #eaf6ff !important;
        padding: 20px 3% !important;
        border-radius: 10px !important;
    }

    .text {
        min-width: 100%;
    }

    .text h2 {
        font-size: 12px;
    }

    .text h1 {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .text p {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .text .btn {
        width: 100%;
        padding: 10px 15px;
        font-size: 14px;
    }

    .text .btn:hover {
        transform: scale(1);
    }

    .image {
        min-width: 100%;
        width: 100%;
    }

    .image img {
        width: 100%;
        height: auto;
        border-radius: 8px;
    }

    .image img:hover {
        transform: scale(1);
    }

    /* Stats */
    .stats {
        gap: 10px;
        margin-top: 15px;
        flex-wrap: wrap;
    }

    .stat {
        padding: 12px 15px;
        min-width: calc(50% - 5px);
        flex: 0 1 calc(50% - 5px);
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    }

    .stat h3 {
        font-size: 20px;
        margin-bottom: 3px;
    }

    .stat p {
        font-size: 12px;
    }

    /* Team section */
    .team-section {
        padding: 30px 3%;
        background: #f9f9f9;
    }

    .subheading {
        font-size: 12px;
        letter-spacing: 0.5px;
    }

    .heading {
        font-size: 24px;
        margin: 8px 0 25px;
    }

    .team-container {
        gap: 20px;
        justify-content: center;
    }

    .team-member {
        width: 100%;
        max-width: 280px;
        padding: 15px;
        margin: 0 auto;
    }

    .team-member img {
        height: 200px;
    }

    .team-member h3 {
        font-size: 18px;
        margin: 10px 0 3px;
    }

    .team-member p {
        font-size: 13px;
    }

    .role {
        font-size: 12px;
    }

    .social-icons {
        margin-top: 12px;
    }

    .social-icons a {
        padding: 6px;
        margin: 0 4px;
        font-size: 12px;
    }

    .social-icons a:hover {
        transform: translateY(0px);
    }

    /* Why work with us */
    h2 {
        font-size: 22px;
        margin: 20px 0;
    }

    .cards {
        gap: 15px;
        padding: 0 3%;
    }

    .card {
        width: 100%;
        max-width: 280px;
        padding: 15px;
        margin: 0 auto;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    .tag {
        font-size: 10px;
        padding: 4px 8px;
    }

    .card h3 {
        font-size: 16px;
        margin: 8px 0;
    }

    .card p {
        font-size: 13px;
    }

    /* Project prompt */
    .project-prompt {
        padding: 25px 3%;
        margin: 20px auto;
        max-width: 100%;
        flex-direction: column;
        border-radius: 8px;
        text-align: center;
        gap: 20px;
    }

    .prompt-text {
        flex: 1;
        min-width: 100%;
        width: 100%;
    }

    .prompt-text h2 {
        font-size: 20px;
        margin: 0 0 10px 0;
    }

    .prompt-text p {
        font-size: 13px;
    }

    .prompt-button {
        flex: 1;
        width: 100%;
        min-width: 100%;
        text-align: center;
        margin-top: 15px;
    }

    .prompt-button button {
        padding: 10px 15px;
        font-size: 14px;
        display: inline-block;
    }

    .prompt-button button:hover {
        transform: scale(1);
    }

    /* Footer */
    footer {
        padding: 20px 3%;
        flex-direction: column;
        gap: 20px;
    }

    .footer-column {
        flex: 1;
        min-width: 100%;
        margin: 0;
    }

    .footer-column h4 {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .footer-column ul li {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .footer-column ul li:hover {
        color: #1da1f2;
    }

    .footer-column p {
        font-size: 13px;
    }

    .social-icons {
        margin-top: 10px;
    }

    .social-icons a {
        padding: 6px;
        margin-right: 8px;
        font-size: 14px;
    }

    .newsletter input[type="email"] {
        padding: 8px;
        width: 100%;
        max-width: 100%;
        font-size: 13px;
    }

    .newsletter button {
        width: 100%;
        padding: 8px 15px;
        font-size: 13px;
    }

    .newsletter button:hover {
        transform: scale(1);
    }
}

/* Extra small phones (360px and below) */
@media (max-width: 360px) {
    .navbar {
        padding: 10px 2%;
    }

    .logo {
        font-size: 16px;
    }

    .nav-links {
        gap: 6px;
    }

    .nav-links a {
        font-size: 11px;
    }

    .btn {
        padding: 6px 12px;
        font-size: 11px;
    }

    .hero {
        padding: 20px 2%;
    }

    .hero-text h1 {
        font-size: 22px;
    }

    .container {
        padding: 15px 2%;
    }

    .text h1 {
        font-size: 20px;
    }

    h2 {
        font-size: 20px;
    }

    .heading {
        font-size: 20px;
    }

    .card {
        max-width: 100%;
    }

    .team-member {
        max-width: 100%;
    }
}