/* ===== GOOGLE FONTS IMPORT ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Inter:wght@400;500&family=Raleway:wght@400;500;600&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
    --primary-color: #1e40af;
    --secondary-color: #3b82f6;
    --accent-color: #60a5fa;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-white: #ffffff;
    --bg-light: #E6F7FE;
    --owl-blue: #2563eb;
    --owl-light-blue: #93c5fd;

    /* Font families */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-accent: 'Raleway', sans-serif;

    --media-desktop-max-width: 1200px;
    --media-tablet-max-width: 850px;
    --media-mobile-max-width: 500px;
}

/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 5px 0 0 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADING STYLES ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

h3 {
    font-size: 2rem;
    font-weight: 600;
}

h4 {
    font-size: 1.5rem;
    font-weight: 600;
}

h5 {
    font-size: 1.25rem;
    font-weight: 600;
}

h6 {
    font-size: 1rem;
    font-weight: 600;
}

/* ===== BUTTON STYLES ===== */
.btn {
    font-family: var(--font-accent);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    font-family: var(--font-accent);
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #e55a2b;
    transform: translateY(-2px);
}

.btn-secondary {
    font-family: var(--font-accent);
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    font-weight: 500;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-full {
    width: 100%;
}

.btn-primary {
    font-family: var(--font-accent);
    background-color: #3b82f6;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-primary:hover {
    background-color: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* ===== SECTION STYLES ===== */
.section-header {
    text-align: center;
    margin-bottom: 2rem;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
}


/* ===== BODY TEXT STYLES ===== */
p, span, div {
    font-family: var(--font-body);
    font-weight: 400;
}

.text-medium {
    font-weight: 500;
}

.highlight-text {
    color: var(--primary-color);
    font-weight: 700;
}

/* ===== NAVIGATION STYLES ===== */
.navbar {
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
}

.navbar .container {
    max-width: none;
    width: 100%;
    padding: 0 2rem 0 2rem;
    margin: 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* ===== HAMBURGER MENU STYLES ===== */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== MOBILE SIDE PANEL STYLES ===== */
.mobile-side-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    z-index: 1002;
    transition: right 0.3s ease;
}

.mobile-side-panel.active {
    right: 0;
}

.side-panel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
}

.side-panel-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 280px;
    max-width: 85vw;
    height: 100%;
    background-color: var(--bg-white);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    overflow-y: auto;
}

.side-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.side-panel-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.side-panel-logo .logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.close-btn {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.close-btn:hover {
    background-color: #f1f5f9;
}

.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-menu li {
    margin-bottom: 0.5rem;
}

.mobile-nav-link {
    display: block;
    padding: 1rem;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    background-color: #f8fafc;
    color: var(--primary-color);
    transform: translateX(5px);
}

/* ===== MAIN CONTENT ===== */
.main-content {
    margin-top: 70px;
    min-height: calc(100vh - 160px);
}



/* ===== RESPONSIVE STYLES ===== */

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hamburger-btn {
        display: flex;
    }

    .navbar {
        width: 100vw;
        left: 0;
        right: 0;
    }

    .navbar .container {
        padding: 0 1rem 0 1rem;
        margin: 0;
        max-width: none;
        width: 100%;
    }

    .nav-container {
        padding: 0.75rem 0;
        width: 100%;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .main-content {
        margin-top: 55px;
    }

    /* Mobile side panel adjustments */
    .side-panel-content {
        width: 100%;
        max-width: 320px;
        padding: 1rem;
    }

    .side-panel-header {
        margin-bottom: 1.5rem;
        padding-bottom: 0.75rem;
    }

    .side-panel-logo .logo-text {
        font-size: 1.1rem;
    }

    .mobile-nav-link {
        padding: 0.875rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .side-panel-content {
        width: 100%;
        max-width: 90vw;
        padding: 0.875rem;
    }

    .side-panel-header {
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
    }

    .mobile-nav-link {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .main-content {
        margin-top: 55px;
    }
}

/* ===== ============ ===== */
/* ===== HERO SECTION ===== */
/* ===== ============ ===== */
.hero-section {
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: top;
    position: relative;
    overflow: hidden;
}

.hero-image {
    top: 0;
    left: 0;
    width: 100%;
    height: 62%;
    object-fit: cover;
    z-index: -1;
}

.wave-container-hero-section {
  height: 113vh;
  background-color: var(--bg-light);
  position: relative;
}

.wave-container-hero-section::before {
  content: "";
  width: 100%;
  height: 77px;
  position: absolute;
  bottom: -0.3%;
  left: 0;
  background-size: auto;
  background-repeat: repeat no-repeat;
  background-position: 48vw bottom;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 1200  134' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M0 98L50 92C100 86 200 74 300 50C400 26 500 -10 600 2C700 14 800 74 900 98C1000 122 1100 110 1150 104L1200 98V134H1150C1100 134 1000 134 900 134C800 134 700 134 600 134C500 134 400 134 300 134C200 134 100 134 50 134H0V98Z' fill='%23ffffff'/></svg>");
}

.hero-section .container {
    margin: 0 auto;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-light);
    font-weight: 400;
}

.hero-text {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: -1rem;
}

.hero-graphic {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50vh;
    min-height: 300px;
    margin-top: -2rem;
}

.hero-webdesign-image {
    max-width: 100%;
    height: 55vh;
    max-height: 60vh;
    min-height: 300px;
    object-fit: contain;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.15));
    transition: transform 0.3s ease;
}

.hero-webdesign-image:hover {
    transform: scale(1.05);
}

.hero-content {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
        gap: 0.5rem;
        text-align: center;
        min-height: 90vh;
}

/* ===== ============ =================== */
/* ===== HERO SECTION MEDIA SECTION ===== */
/* ===== ============ =================== */

@media (max-width: 1024px) {
    .wave-container-hero-section { height: auto; }
    .wave-container-hero-section::before { height: 50px; }
    .hero-section { min-height: auto; }
}


@media(max-width: 850px) {
  .wave-container-hero-section::before {
    height: 38.5px
  }

  .hero-title {
        font-size: 3.5rem;
  }

  .hero-subtitle {
    font-size: 1.5rem;
    padding: 0 20px 0 20px;
  }

  .hero-content {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
        gap: 0.5rem;
        text-align: center;
        min-height: 90vh;
  }

  .hero-graphic {
        text-align: center;
        justify-content: center;
        height: 30rem;
        min-height: 200px;
        margin-top: -1rem;
  }

  .hero-buttons {
        flex-direction: column;
        align-items: center;
        margin-top: 0.4rem;
  }

  .hero-webdesign-image {
        height: 40vh;
        min-height: 200px;
        margin-top: 0.25rem;
   }

}

@media(max-width: 800px) {
    .hero-graphic {
        text-align: center;
        justify-content: center;
        height: 30rem;
        min-height: 200px;
        margin-top: -1rem;
    }
}

@media(max-width: 1000px) and (max-height: 450px) {
    .hero-graphic {
        text-align: center;
        justify-content: center;
        height: 18rem;
        min-height: 200px;
        margin-top: -1rem;
    }

    .hero-webdesign-image {
        height: 40vh;
        min-height: 300px;
        margin-top: 0.25rem;
    }

   .wave-container-hero-section {
        height: 185vh;
    }

    .hero-image {
        top: 0;
        left: 0;
        width: 100%;
        height: 45%;
        object-fit: cover;
        z-index: -1;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.0rem;
        padding: 0 20px 0 20px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        margin-top: 1.6rem;
    }
}
@media(max-width: 950px) and (max-height: 450px) {
    .hero-graphic {
        text-align: center;
        justify-content: center;
        height: 18rem;
        min-height: 200px;
        margin-top: -1rem;
    }

    .hero-webdesign-image {
        height: 40vh;
        min-height: 300px;
        margin-top: 0.25rem;
    }

   .wave-container-hero-section {
        height: 150vh;
    }

    .hero-image {
        top: 0;
        left: 0;
        width: 100%;
        height: 45%;
        object-fit: cover;
        z-index: -1;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.0rem;
        padding: 0 20px 0 20px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        margin-top: 1.6rem;
    }
}

@media(max-width: 850px) and (max-height: 480px) {
    .hero-graphic {
        text-align: center;
        justify-content: center;
        height: 18rem;
        min-height: 200px;
        margin-top: -1rem;
    }

    .hero-webdesign-image {
        height: 40vh;
        min-height: 300px;
        margin-top: 0.25rem;
    }

   .wave-container-hero-section {
        height: 185vh;
    }

    .hero-image {
        top: 0;
        left: 0;
        width: 100%;
        height: 45%;
        object-fit: cover;
        z-index: -1;
    }
}

@media(max-width: 850px) and (max-height: 300px) {
    .hero-graphic {
        text-align: center;
        justify-content: center;
        height: 14rem;
        min-height: 200px;
        margin-top: -1rem;
    }

    .hero-webdesign-image {
        height: 40vh;
        min-height: 280px;
        margin-top: 0.25rem;
    }

   .wave-container-hero-section {
        height: 215vh;
    }

    .hero-image {
        top: 0;
        left: 0;
        width: 100%;
        height: 45%;
        object-fit: cover;
        z-index: -1;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.0rem;
        padding: 0 20px 0 20px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        margin-top: 1.6rem;
    }
}


@media(max-width: 750px) and (max-height: 300px) {
    .hero-graphic {
        text-align: center;
        justify-content: center;
        height: 14rem;
        min-height: 200px;
        margin-top: -1rem;
    }

    .hero-webdesign-image {
        height: 40vh;
        min-height: 280px;
        margin-top: 0.25rem;
    }

   .wave-container-hero-section {
        height: 205vh;
    }

    .hero-image {
        top: 0;
        left: 0;
        width: 100%;
        height: 45%;
        object-fit: cover;
        z-index: -1;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.0rem;
        padding: 0 20px 0 20px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        margin-top: 1.6rem;
    }
}


@media(max-width: 480px) {
  .wave-container-hero-section {
    height: auto;
  }
  .hero-subtitle {
    font-size: 1.0rem;
    margin-bottom: 1rem;
  }

  .hero-title {
        font-size: 2.0rem;
        margin-bottom: 1rem;
  }

  .hero-content {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
        gap: 0.5rem;
        text-align: center;
        min-height: 80vh;
  }

  .hero-graphic {
        text-align: center;
        justify-content: center;
        height: 18rem;
        min-height: 200px;
        margin-top: -1rem;
  }

  .hero-buttons {
        flex-direction: column;
        align-items: center;
        margin-top: 0.4rem;
  }

  .hero-webdesign-image {
        height: 28vh;
        min-height: 200px;
        margin-top: 0.25rem;
   }

}

@media(max-width: 400px) {
  .wave-container-hero-section {
    height: auto;
  }
  .hero-subtitle {
    font-size: 0.8rem;
    margin-bottom: 1rem;
  }

  .hero-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
  }

  .hero-content {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
        gap: 0.5rem;
        text-align: center;
        min-height: 85vh;
  }

  .hero-graphic {
        text-align: center;
        justify-content: center;
        height: 15rem;
        min-height: 200px;
        margin-top: -1rem;
  }

  .hero-buttons {
        flex-direction: column;
        align-items: center;
        margin-top: 0.4rem;
  }

  .hero-webdesign-image {
        height: 24vh;
        min-height: 200px;
        margin-top: 0.25rem;
   }

}


/*END OF HERO SECTION################################################*/

/* ===== ============ ===== */
/* ===== ABOUT SECTION ===== */
/* ===== ============ ===== */
.about-section {
    min-height: 100vh;
    padding: 80px 0;
    position: relative;
    display: flex;
    align-items: center;
}

.about-section .container {
    width: 100%;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    max-width: 1200px;
    margin: -2rem auto 0;
}

.portfolio-layout {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    margin-top: 2rem;
}

.portfolio-sidebar {
    flex: 0 0 250px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.portfolio-grid {
    flex: 1;
}

.portfolio-image-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.portfolio-owl-image {
    width: 200px;
    height: auto;
    max-width: 100%;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.portfolio-owl-image:hover {
    transform: scale(1.15);
}

.about-text {
    padding-right: 1rem;
}

.about-text h3 {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    margin-top: 1.4rem;
    font-weight: 600;
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1.1rem;
    line-height: 1.7;
    font-size: clamp(0.92rem, 2.2vw, 1rem);
}

.about-text ul {
    margin: 1rem 0;
    padding-left: 0;
    list-style: none;
}

.about-text ul li {
    color: var(--text-light);
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.5;
    font-size: 0.9rem;
}

.about-text ul li:before {
    content: "▶";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 0;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    width: 100%;
    margin-bottom: 1.5rem;
}
.stat-item {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

.stat-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.stat-icon {
    width: 32px;
    height: 32px;
    margin: 0 auto 0.8rem;
    color: var(--primary-color);
    stroke: var(--primary-color);
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
    transition: all 0.3s ease;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
    line-height: 1.3;
}

.stat-bar {
    width: 100%;
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.stat-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), #4CAF50);
    width: 0%;
    border-radius: 4px;
    transition: width 2s ease-in-out;
}

.stat-progress.animate {
    width: var(--target-width);
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
    transition: all 0.3s ease;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.about-graphic {
    /* background: linear-gradient(45deg, #8B4513, #A0522D, #CD853F, #D2691E); */
    padding: 1rem;
    border-radius: 16px;
    box-shadow:
        0 8px 32px rgba(0,0,0,0.2),
        inset 0 2px 4px rgba(139, 69, 19, 0.3),
        inset 0 -2px 4px rgba(160, 82, 45, 0.3);
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
    border: 3px solid #654321;
    position: relative;
}

.about-graphic::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    background: linear-gradient(45deg, #8B4513, #A0522D, #CD853F, #D2691E);
    border-radius: 12px;
    z-index: 1;
}

.about-graphic img {
    position: relative;
    z-index: 2;
    border-radius: 8px;
    max-width: 100%;
    height: auto;
    display: block;
}

.about-graphic:hover {
    transform: rotate(0deg) scale(1.02);
}

.wave-container-about-section {
  height: auto;
  background-color: var(--bg-white);
  position: relative;
}

.wave-container-about-section::before {
  content: "";
  width: 100%;
  height: 77px;
  position: absolute;
  bottom: -0.3%;
  left: 0;
  background-size: auto;
  background-repeat: repeat no-repeat;
  background-position: 48vw bottom;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 1200  134' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M0 98L50 92C100 86 200 74 300 50C400 26 500 -10 600 2C700 14 800 74 900 98C1000 122 1100 110 1150 104L1200 98V134H1150C1100 134 1000 134 900 134C800 134 700 134 600 134C500 134 400 134 300 134C200 134 100 134 50 134H0V98Z' fill='%23e6f7fe'/></svg>");
}

/* ===== ============ =================== */
/* ===== ABOUT SECTION MEDIA SECTION ===== */
/* ===== ============ =================== */

@media (min-width: 1280px) {
    .stats {
        grid-template-columns: repeat(4, minmax(220px, 1fr));
        gap: 1.2rem;
    }
}

@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
        align-items: start;
    }
    .about-text { padding-right: 0.5rem; }
    .about-image { padding: 1.5rem; }
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        align-items: center;
        text-align: left;
    }

    .about-left { order: 1; }
    .about-image { order: 2; }

    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .about-section {
        padding: 60px 0 30px 0;
    }
}

@media (max-width: 768px) {
    .about-section {
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .about-text p { font-size: clamp(0.9rem, 3.5vw, 0.98rem); }
    .about-text h3 { font-size: clamp(1rem, 4vw, 1.35rem); }
    .stats {
        grid-template-columns: 1fr;
        gap: 0.7rem;
    }
    .about-image { padding: 1rem; }
}

@media(max-width:var(--media-tablet-max-width)) {
  .wave-container-about-section::before {
    height: 38.5px
  }
}

/* Hover-capable devices enhancements for About */
@media (hover:hover) {
  .about-graphic:hover {
    transform: rotate(0deg) scale(1.03);
    box-shadow:
      0 10px 36px rgba(0,0,0,0.24),
      inset 0 3px 6px rgba(139, 69, 19, 0.35),
      inset 0 -3px 6px rgba(160, 82, 45, 0.35);
  }
  .stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  }
}

/* Touch devices baseline (no hover) */
@media (hover:none) {
  .about-graphic {
    transform: rotate(-1.5deg);
  }
  .stat-item {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
}
/* END OF ABOUT SECTION ===== ============ ===== */


/* ===== ============ ===== */
/* ===== SERVICES SECTION ===== */
/* ===== ============ ===== */

.services-section {
    min-height: 100vh;
    padding: 100px 0;
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
}

.services-section .container {
    width: 100%;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    justify-items: center;
}

.service-item {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--bg-light);
    min-height: 280px;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.service-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.service-icon img {
    transition: transform 0.3s ease;
}

.service-icon img[src*="service_app_ani.png"] {
    animation: appIconFloat 2s ease-in-out infinite;
}

.service-item:hover .service-icon img[src*="service_app_ani.png"] {
    animation: appIconHover 0.6s ease-in-out;
}

.service-icon img[src*="service_web_ani.png"] {
    animation: webIconFloat 2.5s ease-in-out infinite;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.service-icon img[src*="service_web_ani.png"]:hover {
    animation: webIconHover 0.6s ease-out forwards;
}

.service-icon img[src*="service_uiux_ani.png"] {
    animation: uiuxIconFloat 2s ease-in-out infinite;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.service-icon img[src*="service_uiux_ani.png"]:hover {
    animation: uiuxIconHover 0.6s ease-out forwards;
}

.service-icon img[src*="service_marketing_ani.png"] {
    animation: marketingIconFloat 2.2s ease-in-out infinite;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.service-icon img[src*="service_marketing_ani.png"]:hover {
    animation: marketingIconHover 0.6s ease-out forwards;
}

.service-icon img[src*="service_testing_ani.png"] {
    animation: qaIconFloat 2.4s ease-in-out infinite;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.service-icon img[src*="service_testing_ani.png"]:hover {
    animation: qaIconHover 0.6s ease-out forwards;
}

@keyframes appIconFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-8px) rotate(5deg);
    }
}

@keyframes appIconHover {
    0% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.2) rotate(10deg);
    }
    100% {
        transform: scale(1.1) rotate(0deg);
    }
}

@keyframes webIconFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-8px) rotate(5deg);
    }
}

@keyframes webIconHover {
    0% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.2) rotate(-12deg);
    }
    100% {
        transform: scale(1.1) rotate(0deg);
    }
}

@keyframes uiuxIconFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-8px) rotate(5deg);
    }
}

@keyframes uiuxIconHover {
    0% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.2) rotate(15deg);
    }
    100% {
        transform: scale(1.1) rotate(0deg);
    }
}

@keyframes marketingIconFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-8px) rotate(5deg);
    }
}

@keyframes marketingIconHover {
    0% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.2) rotate(-10deg);
    }
    100% {
        transform: scale(1.1) rotate(0deg);
    }
}

@keyframes qaIconFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-8px) rotate(5deg);
    }
}

@keyframes qaIconHover {
    0% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.2) rotate(8deg);
    }
    100% {
        transform: scale(1.1) rotate(0deg);
    }
}

.service-item h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-item p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

.wave-container-service-section {
  height: auto;
  background-color: var(--bg-light);
  position: relative;
}

.wave-container-service-section::before {
  content: "";
  width: 100%;
  height: 77px;
  position: absolute;
  bottom: -0.3%;
  left: 0;
  background-size: auto;
  background-repeat: repeat no-repeat;
  background-position: 48vw bottom;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 1200  134' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M0 98L50 92C100 86 200 74 300 50C400 26 500 -10 600 2C700 14 800 74 900 98C1000 122 1100 110 1150 104L1200 98V134H1150C1100 134 1000 134 900 134C800 134 700 134 600 134C500 134 400 134 300 134C200 134 100 134 50 134H0V98Z' fill='%23ffffff'/></svg>");
}

/* ===== ============ =================== */
/* ===== SERVICES SECTION MEDIA SECTION ===== */
/* ===== ============ =================== */

@media(max-width:var(--media-tablet-max-width)) {
  .wave-container-service-section::before {
    height: 38.5px
  }
}

/*END OF SERVICES SECTION ===== ============ ===== */

/* ===== ============ ===== */
/* ===== PORTFOLIO SECTION ===== */
/* ===== ============ ===== */

.portfolio-section {
    min-height: 100vh;
    padding: 80px 0 170px 0;
    display: flex;
    align-items: center;
}

.wave-container-portfolio-section {
  height: auto;
  background-color: var(--bg-white);
  position: relative;
}

.wave-container-portfolio-section::before {
  content: "";
  width: 100%;
  height: 77px;
  position: absolute;
  bottom: -0.3%;
  left: 0;
  background-size: auto;
  background-repeat: repeat no-repeat;
  background-position: 48vw bottom;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 1200  134' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M0 98L50 92C100 86 200 74 300 50C400 26 500 -10 600 2C700 14 800 74 900 98C1000 122 1100 110 1150 104L1200 98V134H1150C1100 134 1000 134 900 134C800 134 700 134 600 134C500 134 400 134 300 134C200 134 100 134 50 134H0V98Z' fill='%23e6f7fe'/></svg>");
}

/* ===== 3D CAROUSEL STYLES ===== */
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    perspective: 1200px;
    overflow: visible;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: flat;
}

.carousel-slide {
    position: absolute;
    width: 800px;
    height: 320px;
    left: 50%;
    top: 50%;
    transform-origin: center center;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backface-visibility: hidden;
    cursor: pointer;
    transform: translate(-50%, -50%) translateZ(-200px) scale(0.3);
    opacity: 0;
    z-index: 1;
}

/* Active slide positioning */
.carousel-slide.active {
    transform: translate(-50%, -50%) translateZ(200px) scale(1.1);
    z-index: 10;
    opacity: 1;
}

/* Side slides positioning */
.carousel-slide.prev {
    transform: translate(-50%, -50%) translateX(-300px) rotateY(45deg) translateZ(0px) scale(0.8);
    z-index: 5;
    opacity: 0.7;
}

.carousel-slide.next {
    transform: translate(-50%, -50%) translateX(300px) rotateY(-45deg) translateZ(0px) scale(0.8);
    z-index: 5;
    opacity: 0.7;
}

/* Far slides positioning */
.carousel-slide.far-prev {
    transform: translate(-50%, -50%) translateX(-500px) rotateY(60deg) translateZ(0px) scale(0.6);
    z-index: 2;
    opacity: 0.4;
}

.carousel-slide.far-next {
    transform: translate(-50%, -50%) translateX(500px) rotateY(-60deg) translateZ(0px) scale(0.6);
    z-index: 2;
    opacity: 0.4;
}

/* Hidden slides */
.carousel-slide.hidden {
    transform: translate(-50%, -50%) translateZ(-200px) scale(0.3);
    opacity: 0;
    z-index: 1;
}

.portfolio-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.carousel-slide.active .portfolio-item {
    box-shadow: 0 16px 64px rgba(30, 64, 175, 0.3);
}

.portfolio-image {
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.portfolio-image:hover {
    transform: scale(1.05);
}

.portfolio-image svg,
.portfolio-image img {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.portfolio-content {
    padding: 1rem;
    height: 15%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.portfolio-content h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.portfolio-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
    flex: 1;
    font-size: 0.9rem;
}

.portfolio-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0rem 7.5rem;
    margin-bottom: 2rem;
    min-height: 140px;
}

.portfolio-text {
    text-align: center;
}

.portfolio-text .section-title {
    margin-bottom: 0.5rem;
    text-align: center;
}

.portfolio-text .section-subtitle {
    margin-bottom: 0;
}

.portfolio-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: auto;
}

.tag {
    background-color: var(--bg-light);
    color: var(--text-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* ===== CAROUSEL CONTROLS ===== */
.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 20;
    pointer-events: none;
    transform: translateY(-50%);
}

.carousel-nav {
    background: rgba(255, 255, 255, 0.5);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    color: var(--primary-color);
    pointer-events: all;
}

.carousel-nav img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.carousel-nav:hover {
    background: white;
    box-shadow: 0 6px 24px rgba(0,0,0,0.15);
}

.carousel-nav:active {
    transform: scale(0.95);
}

/* ===== CAROUSEL INDICATORS ===== */
.carousel-indicators {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 20;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.carousel-indicator:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

/* ===== CAROUSEL ANIMATIONS ===== */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) translateZ(-300px) scale(0.5);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) translateZ(200px) scale(1.1);
    }
}

.carousel-slide.active {
    animation: slideIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== ============ =================== */
/* ===== PORTFOLIO SECTION MEDIA SECTION ===== */
/* ===== ============ =================== */

@media(max-width: 1200px) {
    /* Portfolio Section */
    .wave-container-portfolio-section { height: auto; }
    .wave-container-portfolio-section::before { height: 55px; }
    .portfolio-section { min-height: auto; padding-top: 50px; padding-bottom: 150px; }

    /* Tablet carousel sizing and positions */
    .carousel-wrapper { height: 420px; }
    .carousel-container { perspective: 900px; }
    .carousel-slide { width: 640px; height: 400px; }
    .carousel-slide.active { transform: translate(-50%, -50%) translateZ(160px) scale(1.05); }
    .carousel-slide.prev { transform: translate(-50%, -50%) translateX(-240px) rotateY(40deg) translateZ(0) scale(0.82); }
    .carousel-slide.next { transform: translate(-50%, -50%) translateX(240px) rotateY(-40deg) translateZ(0) scale(0.82); }
    .carousel-slide.far-prev { transform: translate(-50%, -50%) translateX(-400px) rotateY(55deg) translateZ(0) scale(0.65); }
    .carousel-slide.far-next { transform: translate(-50%, -50%) translateX(400px) rotateY(-55deg) translateZ(0) scale(0.65); }
    .portfolio-image { padding: 0.75rem; }
    .portfolio-content { padding: 0.75rem; height: 18%; }
    .portfolio-content h3 { font-size: 1.1rem; }
}

@media(max-width: 768px) {
  .wave-container-portfolio-section::before {
    height: 38.5px
  }

  .carousel-container {
        perspective: 800px;
    }

    .carousel-wrapper {
        height: 400px;
    }

    .carousel-slide {
        width: 280px;
        height: 360px;
    }

    .carousel-slide.active {
        transform: translate(-50%, -50%) translateZ(100px) scale(1.05);
    }

    .carousel-slide.prev,
    .carousel-slide.next {
        transform: translate(-50%, -50%) translateX(-200px) rotateY(30deg) translateZ(0px) scale(0.7);
    }

    .carousel-slide.next {
        transform: translate(-50%, -50%) translateX(200px) rotateY(-30deg) translateZ(0px) scale(0.7);
    }

    .carousel-controls {
        padding: 0 1rem;
    }

    .carousel-nav {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .carousel-slide {
        width: 350px;
        height: 320px;
    }

    .carousel-slide.prev,
    .carousel-slide.next {
        transform: translate(-50%, -50%) translateX(-150px) rotateY(20deg) translateZ(-50px) scale(0.6);
    }

    .carousel-slide.next {
        transform: translate(-50%, -50%) translateX(150px) rotateY(-20deg) translateZ(-50px) scale(0.6);
    }

    .carousel-slide.far-prev,
    .carousel-slide.far-next {
        opacity: 0;
    }
}

/*END OF PORTFOLIO SECTION ===== ============ ===== */

/* ===== ============ ===== */
/* ===== CONTACT SECTION ===== */
/* ===== ============ ===== */
.contact-section {
    min-height: 100vh;
    padding: 64px 0;
    background-color: var(--bg-light);
    background-size: auto;
    background-repeat: repeat no-repeat;
    background-position: 48vw bottom;
    display: flex;
    align-items: center;
}

/* Tighter spacing for Contact section header */
.contact-section .section-header {
    margin-bottom: 1rem;
    min-height: auto;
}

/* Slightly reduce title bottom margin for Contact section */
.contact-section .section-title {
    margin-bottom: 0.5rem;
}

.wave-container-contact-section {
  height: auto;
  background-color: #ffffff;
  position: relative;
}

.wave-container-contact-section::before {
  content: "";
  width: 100%;
  height: 77px;
  position: absolute;
  bottom: -0.3%;
  left: 0;
  background-size: auto;
  background-repeat: repeat no-repeat;
  background-position: 48vw bottom;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 1200  134' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M0 98L50 92C100 86 200 74 300 50C400 26 500 -10 600 2C700 14 800 74 900 98C1000 122 1100 110 1150 104L1200 98V134H1150C1100 134 1000 134 900 134C800 134 700 134 600 134C500 134 400 134 300 134C200 134 100 134 50 134H0V98Z' fill='%23e6f7fe'/></svg>");
}

.contact-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    position: relative;
}

.contact-form-container {
      background: linear-gradient(135deg, #F3FFFF 0%, #E1FFFF 100%);
      background-image: none;
      background-size: 100% 100%;
      background-repeat: no-repeat;
      background-position: center;
      padding: 2.5rem 1.5rem;
      margin: 0 auto;
      min-height: 600px;
      display: flex;
      align-items: flex-start;
      justify-content: center;
      width: 100%;
      max-width: 880px;
      flex-shrink: 0;
      box-sizing: border-box;
  }

.contact-owl {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 280px;
    max-width: 380px;
    width: 100%;
    margin-left: -40px;
    position: relative;
    box-sizing: border-box;
}

.owl-contact-image {
    max-width: 100%;
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(6px 6px 12px rgba(0, 0, 0, 0.5));
    box-sizing: border-box;
}

.contact-owl {
    /* Hide since contact info removed; ensure it doesn't affect centering */
    display: none;
}
.contact-info-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 2rem;
}

.contact-info {
    max-width: 720px;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 0 4px 16px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.email-container { display: none; }
.contact-email { display: none; }
.social-links { display: none; }

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--bg-light);
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link i {
    font-size: 20px;
    color: #333333;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.social-link.linkedin:hover {
    background: #0077b5;
}

.social-link.github:hover {
    background: #333;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.contact-form {
      max-width: 720px;
      width: 100%;
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(10px);
      padding: 2rem;
      border-radius: 16px;
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 0 4px 16px rgba(0, 0, 0, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.2);
      margin: 0 auto;
  }

.contact-info h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-item span {
    color: var(--text-light);
}

/* Inline layout for contact item with icon and copy button */
.contact-item.contact-item-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-icon {
    font-size: 1.1rem;
    color: var(--text-light);
}

.copy-email-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.08);
    background: var(--bg-light);
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.2s ease;
}

.copy-email-btn:hover {
    background: var(--primary-color);
    color: #fff;
}

.copy-email-btn.copied {
    background: #10b981; /* emerald */
    color: #fff;
    border-color: #10b981;
}

.contact-email-text a {
    color: var(--text-dark);
    text-decoration: none;
}

.contact-email-text a:hover {
    text-decoration: underline;
}

/* ===== ============ =================== */
/* ===== CONTACT SECTION MEDIA SECTION ===== */
/* ===== ============ =================== */

@media (max-width: 768px) {
    .contact-item.contact-item-inline {
        justify-content: center;
    }
}

@media(max-width:850px) {
  .wave-container-contact-section::before {
    height: 38.5px
  }
}

/*END OF CONTACT SECTION ===== ============ ===== */

/* ===== FORM STYLES ===== */
.form-group {
    margin-bottom: 1.5rem;
}

/* Center the Google reCAPTCHA widget inside its form group */
.form-group.form-group-captcha {
    display: flex;
    justify-content: center;
}
.form-group.form-group-captcha .g-recaptcha {
    width: auto;
    margin: 0 auto;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
}

/* Style for required field asterisks */
.form-group label {
    position: relative;
}

.form-group label:contains('*') {
    color: var(--text-dark);
}

/* Make asterisks red for required fields */
.required-asterisk {
    color: #ef4444;
    font-weight: bold;
    margin-left: 2px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background-color: #f9fafb;
    font-size: 0.9rem;
    font-family: inherit;
    font-weight: 400;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background-color: #f9fafb;
    font-size: 1rem;
    font-family: inherit;
    font-weight: 400;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    cursor: pointer;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
    font-size: 1rem;
    font-weight: 400;
    font-family: inherit;
}



.form-group select[value=""] {
    color: #3b82f6;
    font-size: 1rem;
    font-weight: 400;
    font-family: inherit;
}

.form-group select:not([value=""]) {
    color: #374151;
    font-size: 1rem;
    font-weight: 400;
    font-family: inherit;
}

/* ===== ALERT MESSAGES ===== */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert ul {
    margin: 0;
    padding-left: 1.5rem;
}

.alert li {
    margin-bottom: 0.5rem;
}

/* ===== FOOTER STYLES ===== */
.footer {
    background-color: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 0;
}

.footer-content {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 2rem;
}

/* Add margin-left for the second and third footer sections */
.footer-content .footer-section:nth-child(2) {
    margin-left: 24rem;
}

/* Add margin-left for the third footer section */
.footer-content .footer-section:nth-child(3) {
    margin-left: 4rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-section h3 {
    color: #60a5fa;
    margin: 0;
    white-space: nowrap;
}

.footer-section:nth-child(2) h3 {
    color: #60a5fa;
    margin: 0 0 1rem 0;
    white-space: nowrap;
}

.footer-section:nth-child(3) h3 {
    color: #60a5fa;
    margin: 0 0 1rem 0;
    white-space: nowrap;
}

.footer-section p,
.footer-section a {
    color: #cbd5e0;
    text-decoration: none;
    margin-bottom: 0.5rem;
    display: block;
    white-space: nowrap;
}

/* Add justify text-align for the first footer section */
.footer-section:first-child p {
    white-space: normal;
    text-align: justify;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid #4a5568;
    padding-top: 1rem;
    text-align: center;
    color: #a0aec0;
}

/* ===== FOOTER SOCIAL LINKS (SMALLER SIZE) ===== */
.footer-social-links {
    display: flex;
    justify-content: flex-start;
    gap: 0.75rem;
    margin-top: 0rem;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: var(--bg-light);
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer-social-link svg {
    width: 18px;
    height: 18px;
    fill: #333333;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.footer-social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.footer-social-link:hover svg {
    fill: white;
}

.footer-social-link.linkedin:hover {
    background: #0077b5;
}

.footer-social-link.github:hover {
    background: #333;
}

.footer-social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

/* ===== FLOATING SOCIAL ICONS ===== */
.floating-social {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
    transition: all 0.3s ease;
}

.floating-social .footer-social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.floating-social .footer-social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.floating-social .footer-social-link svg {
    width: 24px;
    height: 24px;
}

/* ===== FULL-SCREEN SECTION CONTAINERS ===== */
.hero-section .container,
.about-section .container,
.services-section .container,
.portfolio-section .container,
.contact-section .container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 0;
}

/* ===== RESPONSIVE DESIGN ===== */
/* Tablet adjustments to reduce hero-to-about gap */
@media (max-width: 1024px) {
    /* About Section */
    .wave-container-about-section { height: auto; }
    .wave-container-about-section::before { height: 55px; }
    .about-section { min-height: auto; padding-top: 50px; padding-bottom: 90px; }
    .about-content { margin: 0 auto; gap: 2rem; }

    /* Services Section */
    .wave-container-service-section { height: auto; }
    .wave-container-service-section::before { height: 55px; }
    .services-section { min-height: auto; padding-top: 50px; padding-bottom: 110px; }
    /* Tablet services grid */
    .services-grid { grid-template-columns: repeat(2, minmax(240px, 1fr)); gap: 1.5rem; justify-items: center; }
    .service-item { padding: 1.5rem 1.25rem; min-height: 260px; }
    .service-icon img { max-width: 80px; height: auto; }

    /* Contact Section */
    .wave-container-contact-section { height: auto; }
    .wave-container-contact-section::before { height: 55px; }
    .contact-section { min-height: auto; padding-top: 70px; padding-bottom: 90px; }
}

@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }

    .container {
        padding: 0 15px;
        max-width: 100%;
        overflow-x: hidden;
    }

    .hero-content,
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-section .section-header {
        margin-bottom: 0.5rem;
    }

    .contact-content {
        flex-direction: column;
        justify-content: center;
        gap: 0.75rem;
        overflow-x: hidden;
    }

    .contact-form-container {
        margin-left: 0;
        padding: 1.25rem 1rem;
        min-height: auto;
        background-size: 100% 100%;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .contact-owl {
        order: -1;
        margin-left: 0;
        min-width: auto;
        max-width: 100%;
    }

    .owl-contact-image {
        max-width: 200px;
        width: 200px;
    }

    .contact-form {
        margin-left: 0;
        padding: 1rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .about-left {
        gap: 1.5rem;
    }

    .about-text {
        padding-right: 0;
    }

    .stats {
        grid-template-columns: repeat(1, 1fr);
    }

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

    /* Adjust full-screen sections for mobile */
    .hero-section,
    .about-section,
    .services-section,
    .portfolio-section,
    .contact-section {
        min-height: auto;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* Footer responsive (tablet) */
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .footer-content .footer-section:nth-child(2),
    .footer-content .footer-section:nth-child(3) {
        margin-left: 0;
    }

    .footer-section h3,
    .footer-section p,
    .footer-section a {
        white-space: normal;
    }
    .footer-section h3 {
        font-size: 1rem;
    }

    .footer-logo img {
        width: 28px;
        height: 28px;
    }

    .footer-social-links {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Footer responsive (mobile) */
    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        margin-bottom: 1rem;
    }

    .footer-content .footer-section:nth-child(2),
    .footer-content .footer-section:nth-child(3) {
        margin-left: 0;
    }

    .footer-section h3,
    .footer-section p,
    .footer-section a {
        white-space: normal;
    }

    .footer-logo img {
        width: 24px;
        height: 24px;
    }

    .footer-logo h3 {
        font-size: 1rem;
    }

    .footer-social-links {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .footer-social-link {
        width: 30px;
        height: 30px;
    }

    .contact-form {
        padding: 0.75rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 10px 12px;
        font-size: 0.95rem;
    }

    .portfolio-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .portfolio-owl-image {
        width: 80px;
    }

    .portfolio-text {
        text-align: center;
    }

    /* Floating social icons (mobile) */
    .floating-social {
        bottom: 15px;
        right: 15px;
        gap: 8px;
    }

    .floating-social .footer-social-link {
        width: 40px;
        height: 40px;
    }

    .floating-social .footer-social-link svg {
        width: 20px;
        height: 20px;
    }
}

/* ===== SECTION SLIDE-IN ANIMATIONS ===== */
.slide-up {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 800ms ease, transform 800ms ease;
    will-change: opacity, transform;
}

.slide-left {
    opacity: 0;
    transform: translateX(-36px);
    transition: opacity 800ms ease, transform 800ms ease;
    will-change: opacity, transform;
}

.slide-right {
    opacity: 0;
    transform: translateX(36px);
    transition: opacity 800ms ease, transform 800ms ease;
    will-change: opacity, transform;
}

.slide-up.animate-in,
.slide-left.animate-in,
.slide-right.animate-in {
    opacity: 1;
    transform: translate(0, 0);
}

/* Optional stagger utility */
.stagger-1 { transition-delay: 100ms; }
.stagger-2 { transition-delay: 200ms; }
.stagger-3 { transition-delay: 300ms; }


/* Responsive Google reCAPTCHA scaling */
@media (max-width: 1024px) {
  .g-recaptcha {
    transform: scale(0.95);
    transform-origin: center top;
  }
}

@media (max-width: var(--media-tablet-max-width)) {
  .g-recaptcha {
    transform: scale(0.92);
    transform-origin: center top;
  }
}

@media (max-width: 768px) {
  .g-recaptcha {
    transform: scale(0.90);
    transform-origin: center top;
  }
}

@media (max-width: var(--media-mobile-max-width)) {
  .g-recaptcha {
    transform: scale(0.84);
    transform-origin: center top;
  }
}

@media (max-width: 420px) {
  .g-recaptcha {
    transform: scale(0.80);
    transform-origin: center top;
  }
}

@media (max-width: 380px) {
  .g-recaptcha {
    transform: scale(0.78);
    transform-origin: center top;
  }
}

@media (max-width: 360px) {
  .g-recaptcha {
    transform: scale(0.75);
    transform-origin: center top;
  }
}

@media (max-width: 320px) {
  .g-recaptcha {
    transform: scale(0.72);
    transform-origin: center top;
  }
}


