* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'ajob';
    src: url('../fonts/ajob2.otf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: #ffffff;
    color: #0B0B0B;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navigation */
.nav {
    padding: .5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav__logo-img {
    height: 40px;
}

.nav__menu {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: nowrap; /* Ensure items stay on one line */
}

.nav__item {
    text-decoration: none;
    color: #0B0B0B;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap; /* Prevent text wrapping */
    font-size: 1rem; /* Consistent font size */
}

.nav__item:hover {
    color: #202020;
}

.cta {
    background: #0B0B0B;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-block;
    white-space: nowrap; /* Prevent text wrapping */
}

.cta:hover {
    background: #1d1d1d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cta.outline {
    background: transparent;
    color: #0B0B0B;
    border: 1px solid #0B0B0B;
}

.cta.outline:hover {
    background: #0B0B0B;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Hero Section - Fixed */
.hero {
    height: auto;
    min-height: calc(100vh - 60px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 2rem 2rem;
    position: relative;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 550px;
    padding-right: 2rem;
    flex: 1;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image {
    position: relative;
    width: 45%;
    max-width: 500px;
    height: auto;
    z-index: 1;
    object-fit: contain;
    align-self: center;
    margin-left: auto;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    filter: drop-shadow(5px 5px 2px rgb(118, 255, 255));
}

.hand-icon {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

.hero-title-wrapper {
    margin-bottom: 1rem;
}

.hero-intro {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.hero-title {
    font-family: ajob, Impact, sans-serif;
    font-size: 5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.25rem;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.8); /* Text shadow for better readability */
}

.hero-subtitle {
    font-family: ajob, Impact, sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px #0B0B0B;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.8); /* Text shadow for better readability */
}

.hero-location {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    color: #666;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* Course Grid Styling */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 40px 20px;
}

.course-box {
    background-color: #f8f8f8;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.course-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.course-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #31343C;
}

.course-description {
    font-family: Ador-Noirrit, Impact, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #555;
    flex-grow: 1;
}

.course-meta {
    display: flex;
    margin-bottom: 15px;
    gap: 15px;
    font-size: 13px;
    color: #666;
}

.course-icon {
    margin-right: 5px;
    font-style: normal;
}

.course-button {
    display: inline-block;
    background-color: #31343C;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    transition: background-color 0.3s ease;
}

.course-button:hover {
    background-color: #1a1c21;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 480px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

/* About Section */
.about {
    padding: 4rem 2rem;
    /* text-align: center; */
    max-width: 800px;
    margin: 0 auto;
}

.about h2 {
    font-family: ajob, Impact, sans-serif;
    font-size: 3rem;
    margin-bottom: 2rem;
    text-align: center; 
}

.about p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #666;
}

        /* Mobile Menu */
        .hamburger {
            display: none;
            flex-direction: column;
            justify-content: space-between;
            width: 30px;
            height: 21px;
            cursor: pointer;
            z-index: 1001;
        }

        .hamburger span {
            display: block;
            height: 3px;
            width: 100%;
            background-color: #0B0B0B;
            transition: all 0.3s ease;
        }
        
       /* Mobile Menu - Big Line Type Style */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 90px;
    z-index: 999;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu a {
    font-family: 'ajob', Impact, sans-serif;
    font-size: 2.5rem;
    text-decoration: none;
    color: #0B0B0B;
    margin: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.mobile-menu a .arrow,
.mobile-menu a svg {
    width: 40px;
    height: 40px;
}

/* Contact section at bottom */
.mobile-menu .contact-info {
    position: absolute;
    bottom: 3rem;
    text-align: center;
    width: 100%;
    padding: 0 1rem;
}

/* Logo at bottom */
.mobile-menu .logo {
    margin-bottom: 1rem;
}

.mobile-menu .email,
.mobile-menu .phone {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* CTA button */
.mobile-menu .cta {
    background: #1a1a1a;
    color: white;
    padding: 1rem 2rem;
    border-radius: 4px;
    display: inline-block;
    margin: 1.5rem 0;
    font-size: 1.2rem;
}

/* Language selector */
.language-selector {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

.language-selector a {
    font-size: 1rem;
    border: none;
    width: auto;
    padding: 0.25rem 0.5rem;
}

.language-selector a.active {
    text-decoration: underline;
}

/* Social icons */
.social-icons {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    justify-content: center;
}

.social-icons a {
    border: none;
    width: auto;
    padding: 0;
}
/* Mobile responsiveness */
@media (max-width: 768px) {
    .nav__menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }
    
    .hero-intro, .hero-location {
        font-size: 1.2rem;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* Restructure hero section for mobile */
    .hero {
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 80px;
        padding-bottom: 2rem;
    }
    
    .hero-content {
        width: 100%;
        max-width: 100%;
        text-align: center;
        padding-right: 0;
        order: 1;
    }
    
    .hero-image {
        width: 100%;
        max-width: 300px;
        margin: 0 auto 2rem;
        order: 0;
    }
    
    /* Adjust hero text for better mobile display */
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 2.5rem;
    }
    
    /* Fix button layout */
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        width: 100%;
    }
    
    .hero-buttons .cta {
        width: 100%;
        text-align: center;
    }
}

/* Fix for Android specific issues */
@media (max-width: 768px) and (pointer: coarse) {
    .mobile-menu a {
        padding: 0.75rem 2rem;
        -webkit-tap-highlight-color: transparent;
    }
    
    .cta {
        -webkit-tap-highlight-color: transparent;
    }
}
/* Visitor stats container */
.visitor-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 15px auto;
    font-size: 14px;
    max-width: 100%;
    flex-wrap: nowrap; /* Prevent wrapping */
    white-space: nowrap; /* Ensure everything stays in one line */
}

  
  /* Each counter item */
  .count-item {
    display: flex;
    align-items: center;
    white-space: nowrap;
  }
  
  /* Icon styling */
  .count-icon {
    display: inline-flex;
    margin-right: 5px;
    align-items: center;
  }
  
  /* Label styling */
  .count-label {
    margin-right: 5px;
  }
  
  /* Counter value */
  .count-value {
    font-weight: bold;
  }
  
  /* Separator styling */
  .count-separator {
    color: #ccc;
    margin: 0 5px;
  }
  
  /* Make sure icons are aligned properly */
  .icon-users, .icon-calendar {
    vertical-align: middle;
  }
  
  /* Responsive adjustments */
  @media (max-width: 480px) {
    .visitor-stats {
      flex-direction: row;
      gap: 5px;
    }
    
    .count-separator {
      display: 1px;
    }
  }

  /* White & Black Custom Scrollbar Styles */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }
  
  ::-webkit-scrollbar-track {
    background: #ffffff;
    border-radius: 8px;
  }
  
  ::-webkit-scrollbar-thumb {
    background: #000000;
    border-radius: 8px;
    border: 2px solid #ffffff;
    background-clip: padding-box;
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background: #333333;
  }
  
  /* For Firefox */
  * {
    scrollbar-width: thin;
    scrollbar-color: #000000 #ffffff;
  }
  