@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;700&display=swap');

/* Custom scrollbar */
::-webkit-scrollbar {
   width: 3px;
   height: 3px;
}

::-webkit-scrollbar-track {
   background: #ffffff;
   border-radius: 20px;
}

::-webkit-scrollbar-thumb {
   background: linear-gradient(180deg, #21aad4 0%, #21aad4 100%);
   border-radius: 20px;
   min-height: 40px;
}

::-webkit-scrollbar-corner {
   background: transparent;
}

/* Base styles */
* {
   scrollbar-width: thin;
   scrollbar-color: #21aad4 transparent;
   margin: 0;
   padding: 0;
   box-sizing: border-box;
}

:root {
   --primary-color: #21aad4;
   --secondary-color: #003366;
   --text-color: #333;
   --overlay-color: rgba(33, 170, 212, 0.7);
   --link-color: #fff;
   --section-spacing: 80px;
}

body {
   font-family: 'Raleway', sans-serif;
   font-size: 20px;
   line-height: 1.6;
   color: var(--text-color);
   overflow-x: hidden;
}

/* Hero Section */
.hero {
   position: relative;
   height: 500px;
   width: 100%;
   display: flex;
   align-items: center;
   justify-content: center;
   text-align: center;
   overflow: hidden;
   background-color: var(--secondary-color);
}

.hero-background img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   position: absolute;
   top: 0;
   left: 0;
}

.hero-overlay {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: linear-gradient(
       135deg,
       rgba(33, 170, 212, 0.685),
       rgba(33, 170, 212, 0.281)
   );
   backdrop-filter: blur(2px);
}

.hero-content {
   position: relative;
   z-index: 2;
   color: white;
   padding: 0 20px;
   max-width: 800px;
}

.hero h1 {
   font-size: clamp(2.5rem, 5vw, 4.5rem);
   margin-bottom: 1.5rem;
   font-weight: 700;
   text-transform: uppercase;
   letter-spacing: 2px;
   text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.breadcrumb {
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 10px;
   font-size: 1.1rem;
}

.breadcrumb a {
   color: white;
   text-decoration: none;
   transition: var(--transition);
}

.breadcrumb a:hover {
   color: var(--primary-color);
}

/* Container and Section Styles */
.container {
   max-width: 1500px;
   margin: 0 auto;
   padding: 0 2rem;
   min-height: 200px;
}

section {
   padding: var(--section-spacing) 0;
}



/* Content Grid Layout */
.content-grid {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 4rem;
   margin-top: 3rem;
   align-items: start;
   min-height: 500px;
}

.text-content {
   display: flex;
   flex-direction: column;
   gap: 1rem;
   min-height: 400px;
}

/* Impact and Industry Items */
.impact-item, .industry-item {
   transition: transform 0.3s ease;
   padding: 1rem;
   background: #fff;
   border-radius: 8px;
}

.impact-item:hover, .industry-item:hover {
   transform: translateY(-5px);
   box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.impact-item h3, .industry-item h3 {
   color: var(--secondary-color);
   margin-bottom: 0.5rem;
   font-size: 1.3rem;
   font-weight: 600;
}

/* Image Content */
.image-content {
   position: relative;
   width: 100%;
   aspect-ratio: 4 / 3;
   overflow: hidden;
   border-radius: 8px;
   background-color: #f0f0f0;
}

.image-content img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   aspect-ratio: 4 / 3;
   transition: transform 0.3s ease;
}

.image-content img:hover {
   transform: scale(1.02);
}

/* Section Headers */
h2 {
   text-align: center;
   color: var(--secondary-color);
   font-size: 2.5rem;
   margin-bottom: 1.5rem;
   font-weight: normal;
}

.section-intro {
   text-align: center;
   max-width: 900px;
   margin: 0 auto 3rem;
   font-size: 1.1rem;
}

/* Certification Section */
.certifications {
   padding: 4rem 1rem;
}

.container {
   max-width: 1400px;
   margin: 0 auto;
   padding: 0 15px;
}

.section-title {
   text-align: center;
   font-size: 2.5rem;
   margin-bottom: 1rem;
   color:var(--secondary-color);
}

.section-intro {
   text-align: center;
   font-size: 1.2rem;
   color:#21aad4;
   margin-bottom: 3rem;
   max-width: 800px;
   margin-left: auto;
   margin-right: auto;
}

.cert-grid {
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   gap: 3rem;
   margin: 0 auto;
}

.cert-item {
   background: #ffffff;
   border-radius: 12px;
   box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
   overflow: hidden;
   transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cert-item:hover {
   transform: translateY(-5px);
   box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

.cert-image {
   width: 100%;
   height: auto;
   display: flex;
   justify-content: center;
   align-items: center;
   padding: 1rem;
}

.cert-image img {
   width: 100%;
   height: auto;
   max-height: 800px;
   object-fit: contain;
}

.cert-content {
   padding: 1.5rem;
   text-align: center;
}

.cert-item h3 {
   font-size: 1.4rem;
   color: #2c3e50;
   margin-bottom: 0.5rem;
}

.cert-type {
   font-size: 1.1rem;
   color: #666;
   margin-bottom: 0.75rem;
}

.cert-description {
   font-size: 1rem;
   color: #777;
   line-height: 1.6;
}

/* Media Queries for Responsiveness */
@media (max-width: 1200px) {
   .cert-grid {
       gap: 2rem;
   }
   
   .cert-image img {
       max-height: 600px;
   }
}

@media (max-width: 768px) {
   .cert-grid {
       grid-template-columns: 1fr;
       gap: 2rem;
   }
   
   .section-title {
       font-size: 2rem;
   }
   
   .section-intro {
       font-size: 1.1rem;
   }
   
   .cert-image img {
       max-height: 500px;
   }
}

@media (max-width: 480px) {
   .certifications {
       padding: 2rem 0.75rem;
   }
   
   .section-title {
       font-size: 1.75rem;
   }
   
   .section-intro {
       font-size: 1rem;
   }
   
   .cert-item h3 {
       font-size: 1.25rem;
   }
   
   .cert-type {
       font-size: 1rem;
   }
   
   .cert-image img {
       max-height: 400px;
   }
}

/* Animation for smooth loading */
@keyframes fadeIn {
   from {
       opacity: 0;
       transform: translateY(20px);
   }
   to {
       opacity: 1;
       transform: translateY(0);
   }
}

.cert-item {
   animation: fadeIn 0.6s ease-out forwards;
}

/* Font Loading Optimization */
@font-face {
   font-family: 'Raleway';
   font-display: swap;
   src: local('Raleway');
}

/* Media Queries */
@media screen and (max-width: 1200px) {
   .container {
       padding: 0 1.5rem;
   }

   .content-grid {
       gap: 3rem;
   }
}

@media screen and (max-width: 992px) {
   body {
       font-size: 18px;
   }

   .hero {
       height: 400px;
       aspect-ratio: 4 / 3;
   }

   .content-grid {
       grid-template-columns: 1fr;
       min-height: auto;
   }

   .image-content {
       aspect-ratio: 16 / 9;
       order: -1;
   }
}

@media screen and (max-width: 768px) {
   .hero {
       height: 300px;
       aspect-ratio: 3 / 2;
   }

   h2 {
       font-size: 2rem;
   }

   .cert-grid {
       grid-template-columns: 1fr;
       gap: 2rem;
   }

   .impact-title {
       font-size: 2rem;
   }
}

@media screen and (max-width: 480px) {
   .hero {
       height: 250px;
   }

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

   body {
       font-size: 16px;
   }

   .container {
       padding: 0 1rem;
   }

   .cert-item {
       min-height: 250px;
   }
}

/* Print Styles */
@media print {
   .hero-overlay {
       display: none;
   }

   .hero-content {
       color: #000;
   }

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

   .image-content img {
       max-width: 400px;
       margin: 0 auto;
   }

   .cert-item {
       break-inside: avoid;
       box-shadow: none;
       border: 1px solid #eee;
   }
}

/* Reduce Motion */
@media (prefers-reduced-motion: reduce) {
   * {
       animation: none !important;
       transition: none !important;
   }
}