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

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: #333;
            overflow-x: hidden;
        }

        /* Navigation */
        nav {
            background: rgb(233, 231, 231);
            padding: 1rem 0;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

        nav .container {
            max-width: 1450px;
            margin: 0 auto;
            padding: 0 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        nav .logo {
            color: rgb(0, 0, 0);
            font-size: 1.5rem;
            font-weight: bold;
        }

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

        nav a {
            color: rgb(0, 0, 0);
            text-decoration: none;
            transition: opacity 0.3s;
            font-weight: 600;
        }

        nav a:hover {
            opacity: 0.8;
            color: rgb(0, 121, 207);
        }

        .awards-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin-top: 30px;
        }

        .award-card {
            background-color: #fff;
            padding: 20px;
            border-radius: 12px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            text-align: center;
            transition: transform 0.3s, box-shadow 0.3s;
        }

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

        .award-icon {
            font-size: 2.5rem;
            color: #f39c12;
            margin-bottom: 15px;
        }

        .award-content h3 {
            font-size: 1.2rem;
            margin-bottom: 10px;
        }

        .award-content p {
            font-size: 0.95rem;
            color: #555;
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            .awards-grid {
                grid-template-columns: 1fr;
            }
        }


        /* Hero Section */
      .hero {
    background: #e8e8e8;
    padding: 90px 2rem 100px;
  
    
}

.hero-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 3rem;
}

/* Left Image */
.hero-image img {
    width: 100%;
    max-width: 420px;
    
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Right Text */
.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
    color: #000;
}

.hero-text p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-text .cta-button {
    display: inline-block;
    background: white;
    color: #000;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s, background 0.3s;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.hero-text .cta-button:hover {
    transform: translateY(-3px);
    background: #f39c12;
    color: white;
}
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-image img {
        max-width: 300px;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-text p {
        font-size: 1.1rem;
    }
}

        /* Container */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        section {
            padding: 80px 0;
        }

        .section-title {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 3rem;
            color: #e95c15;
        }

        /* Skills Section */
        .skills-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
        }

        .skill-card {
            background: rgb(255, 255, 255);
            padding: 2rem;
            border-radius: 15px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            text-align: center;
            transition: transform 0.3s;
        }

        .skill-card:hover {
            transform: translateY(-10px);
        }

        .skill-card i {
            font-size: 3rem;
            color: #fbc420;
            margin-bottom: 1rem;
        }

        .skill-card h3 {
            margin-bottom: 1rem;
            color: #333;
        }

        /* Education Section */
        #education {
            background: #f8f9fa;
        }

        .education-timeline {
            max-width: 800px;
            margin: 0 auto;
        }

        .education-item {
            background: white;
            padding: 2rem;
            margin-bottom: 2rem;
            border-radius: 15px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            border-left: 5px solid #667eea;
        }

        .education-item h3 {
            color: #667eea;
            margin-bottom: 0.5rem;
        }

        .education-item .year {
            color: #764ba2;
            font-weight: bold;
            margin-bottom: 0.5rem;
        }

        /* Projects Section */
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }

        .project-card {
            background: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s;
        }

        .project-card:hover {
            transform: translateY(-10px);
        }

        .project-card .project-image {
            background: #cbc6c6;
            height: 200px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 4rem;
            color: rgb(237, 148, 71);
           
        }
 .project-image img{
     height: 110px;
 }
        .project-card .project-content {
            padding: 2rem;
        }

        .project-card h3 {
            margin-bottom: 1rem;
            color: #333;
        }

        
        /* Contact Section */
        .contact-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            max-width: 1000px;
            margin: 0 auto;
        }

        .contact-info {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }

        .contact-item {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .contact-item i {
            font-size: 2rem;
            color: #e2ac2e;
        }

        .contact-form {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .contact-form input,
        .contact-form textarea {
            padding: 1rem;
            border: 2px solid #e0e0e0;
            border-radius: 10px;
            font-family: inherit;
            transition: border-color 0.3s;
        }

        .contact-form input:focus,
        .contact-form textarea:focus {
            outline: none;
            border-color: #667eea;
        }

        .contact-form button {
            background: rgb(242, 167, 28);
            color: white;
            padding: 1rem 2rem;
            border: none;
            border-radius: 10px;
            font-size: 1rem;
            font-weight: bold;
            cursor: pointer;
            transition: transform 0.3s;
        }

        .contact-form button:hover {
            transform: translateY(-3px);
            background-color: orange;
        }

        /* Footer */
        footer {
            background: #2c3e50;
            color: white;
            padding: 3rem 0 1rem;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }

        .footer-section h3 {
            margin-bottom: 1rem;
            color: #f9bd31;
        }

        .social-links {
            display: flex;
            gap: 1rem;
            margin-top: 1rem;
        }

        .social-links a {
            color: white;
            font-size: 1.5rem;
            transition: color 0.3s;
        }

        .social-links a:hover {
            color: #667eea;
        }

        .footer-bottom {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid #34495e;
        }

        .flags-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
            gap: 20px;
            justify-items: center;
            align-items: center;
            margin-top: 20px;
        }

        .flag-card {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            transition: transform 0.3s;
        }

        .flag-card .flag {
            width: 60px;
            height: auto;
            border-radius: 6px;
            margin-bottom: 8px;
        }

        .flag-card p {
            font-size: 0.9rem;
            color: #333;
            font-weight: 500;
        }

        .flag-card:hover {
            transform: scale(1.1);
        }

        /* Language Section */
.language-section {
    padding: 60px 2rem;
    background: #fafafa;
}

.language-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: auto;
}

.language-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.language-card h3 {
    margin-bottom: 10px;
    color: #444;
}

.language-card p {
    margin: 5px 0;
    color: #555;
}

.hidden { display: none; }
  .button-wrapper {
    text-align: center;
    margin-top: 20px;
  }
  #toggle-btn {
    padding: 10px 25px;
    cursor: pointer;
    background: #ffaa00;
    color: #000000;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    transition: background 0.3s;
    border-radius: 20px;
  }
  #toggle-btn:hover {
    background: #f4aa4a;
    color: white;
  }
        /* Responsive adjustments */
        @media (max-width: 500px) {
            .flag-card .flag {
                width: 50px;
            }

            .flag-card p {
                font-size: 0.85rem;
            }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

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

            .hero h1 {
                font-size: 2rem;
            }
              .section-title{
                font-size: 1.6rem;
              }

            .contact-content {
                grid-template-columns: 1fr;
            }

            .footer-content {
                grid-template-columns: 1fr;
            }
        }

        /* Default: hide menu on small screens */
.nav-links {
  display: none;
}

/* Show menu after 768px */
@media (min-width: 768px) {
  .nav-links {
    display: flex;   /* or block, depending on layout */
  }
  .menu-btn {
    display: none;
  }
}
/* Modal background */
.modal {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 9999;
}

.modal.hide {
  display: none;
}

/* Modal box */
.modal-content {
  background: white;
  padding: 0;
  border-radius: 15px;
  position: relative;
  max-width: 400px;
  box-shadow: 0px 8px 20px rgba(0,0,0,0.2);
  animation: fadeIn 0.4s ease;
}

/* Image */
.modal-content img {
  width: 100%;
  border-radius: 15px;
}

/* Close (X) button */
.close-btn {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 28px;
  font-weight: bold;
  color: #bd0000;
  cursor: pointer;
  transition: 0.3s;
}

.close-btn:hover {
  color: #ff4d4d;
}

/* Fade animation */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}
/* Nav links default for mobile */
#nav-links {
  display: none; /* hidden by default on mobile */
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: white;
  flex-direction: column;
  padding: 15px 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  border-radius: 0 0 10px 10px;
  z-index: 999;
}

/* Show on toggle */
#nav-links.show {
  display: flex;
}

/* Mobile toggle button */
.menu-btn {
  cursor: pointer;
  display: block; /* visible by default for mobile */
}

/* Nav links items */
#nav-links li {
  text-align: center;
  margin: 0.5rem 0;
}

#nav-links li a {
  display: block;
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: black;
  font-weight: 500;
  transition: background 0.3s;
}

#nav-links li a:hover {
  background: #f0f0f0;
}

/* Desktop styles */
@media (min-width: 768px) {
  .menu-btn {
    display: none; /* hide toggle on desktop */
  }

  #nav-links {
    display: flex !important; /* always show nav links */
    position: static;
    flex-direction: row;
    justify-content: flex-end;
    width: auto;
    background: none;
    box-shadow: none;
    padding: 0;
  }

  #nav-links li {
    margin: 0 1rem;
  }

  #nav-links li a {
    padding: 0;
    color: black;
  }
}
.owl-carousel .item img {
      width: 100%;        /* Make image fit the width */
      height: 200px;      /* Set fixed height for all images */
      object-fit: contain;  /* Crop image if needed to fill space */
  }

 .karate-dan-section {
  padding: 20px;
  background: #f9f9f9;
  border-radius: 10px;
  text-align: center;
}

.karate-dan-section h2 {
  margin-bottom: 20px;
  font-size: 24px;
}

.karate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  justify-items: center;
}

.karate-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.karate-item img {
  width: 100%;
  max-width: 300px;  /* max size for large screens */
  height: auto;      /* maintain aspect ratio */
  object-fit: contain; 
  border-radius: 10px;
  display: block;
}

.karate-item .caption {
  margin-top: 10px;
  font-weight: bold;
  font-size: 16px;
  color: #333;
  text-align: center;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
  .karate-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
  }

  .karate-item img {
    max-width: 200px;
  }
}

@media (max-width: 480px) {
  .karate-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
  }

  .karate-item img {
    max-width: 150px;
  }

  .karate-item .caption {
    font-size: 14px;
  }
}
