/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #001959;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
	
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

/* Header */
.header {
    background-color: #E0F1FF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}
.logo {
	display: flex;
    height: auto;
	font-size: 1.5rem;
    font-weight: bold;
    align-items: center;
	color: #1e40af;
}

.logo svg {
    height: 50px;
    width: auto;
	fill: #1e40af;
}

.motto {
	font-size: 0.9rem;
    font-weight: 600;
	margin-top: -0.6rem;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #1075C8;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #001959;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #001959 0%, #1e40af 100%);
    color: white;
    text-align: center;
    padding: 8rem 0 5rem;
    padding-top: 300px;
    flex: 1;
}

.hero_ty {
    background: linear-gradient(135deg, #001959 0%, #1e40af 100%);
    color: white;
    text-align: center;
    padding: 15rem 8rem 15rem 5rem;
    min-height: 100vh;
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.notice {
	max-width: 500px;
    margin: 0 auto 2rem;
}

/* Buttons */
.cta-button {
    display: inline-block;
    background-color: #E0F1FF;
    color: #001959;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    border: 2px solid #E0F1FF;
}

.cta-button:hover {
    background-color: transparent;
    color: #E0F1FF;
}

.cta-button2 {
    display: inline-block;
    background-color: #001959;
    color: #E0F1FF;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    border: 2px solid #001959;
}

.cta-button2:hover {
    background-color: #E0F1FF;
    color: #001959;
}

/* Sections */
section {
    padding: 5rem 0;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background-color: #9FDCFF;
    padding: 2rem;
    border-radius: 10px;
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.service-img {
    margin: 2rem;
    border-radius: 10px;
	align: center;
	width: 80%;
}


/* Portfolio */
.portfolio {
    width: 100%;
    background-color: #9FDCFF;
    position: relative;
    margin: 0 auto;
    overflow: hidden;
}

.portfolio-grid {
    gap: 2rem;
    display: flex;
    transition: transform 0.5s ease;
	touch-action: pan-x;
}

.portfolio-item {
    background-color: #E0F1FF;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    box-sizing: content-box;
    flex: 0 0 auto;
    width: 380px; /* Default width for desktop */
}

.portfolio-img {
    object-fit: cover;
    margin: -2rem -2rem 1rem -2rem;
    border-radius: 10px 10px 0 0;
    width: calc(100% + 4rem); /* Ensure full width */
}

.portfolio-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 0 50px;
}

.portfolio-wrapper {
    position: relative;
    margin: 0 50px;
    display: flex;
    align-items: center;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #1075C8;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.carousel-arrow:hover {
    background: #001959;
}

.carousel-arrow.previous {
    left: 10px;
}

.carousel-arrow.next {
    right: 10px;
}

.carousel-pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 8px;
}

.pagination-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #E0F1FF;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.pagination-dot.active {
    background-color: #1075C8;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .portfolio-container {
        padding: 0 40px;
    }
    .portfolio-item {
        width: 320px; /* Fixed width for tablet */
    }
    .carousel-arrow.previous {
        left: 5px;
    }
    .carousel-arrow.next {
        right: 5px;
    }
}

@media (max-width: 768px) {
    .portfolio-container {
        padding: 0 30px;
    }
    .portfolio-item {
        width: 280px; /* Fixed width for mobile */
        padding: 1.5rem;
    }
    .portfolio-img {
        margin: -1.5rem -1.5rem 1rem -1.5rem;
        width: calc(100% + 3rem);
    }
    .carousel-arrow.previous {
        left: 5px;
    }
    .carousel-arrow.next {
        right: 5px;
    }
}

@media (max-width: 480px) {
    .portfolio-container {
        padding: 0 20px;
    }
    .portfolio-item {
        width: 100%; /* Full width for small mobile */
    }
}

/* Center the active item */
@media (max-width: 1024px) {
    .portfolio-wrapper {
        overflow: hidden;
        position: relative;
    }
    .portfolio-grid {
        justify-content: flex-start;
    }
    .portfolio-item {
        scroll-snap-align: center;
    }
}

/* JavaScript helper class for centering */
.centered-item {
    transform: translateX(calc(50% - 50vw));
}

/* Process */
.process-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
	background-color: #E0F1FF;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.step {
    display: flex;
	flex: 0 0 calc(50% - 1rem);
	flex-direction: row;
	gap: 1rem;
    text-align: center;
    padding: 2rem;
}

.step_number {
    font-size: 4rem;
	font-weight: bold;
	text-align: center;
}

.step_text {
	text-align: left;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .step {
        flex: 0 0 100%;
    }
}

.step h3 {
    color: #001959;
}

/* Team */
.team-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.team-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team_img {
	height: 300px;
	border-radius: 150px;
	padding: 2rem; 
}

.member {
    text-align: center;
    padding: 2rem;
    background-color: #E0F1FF;
    border-radius: 10px;
}

.role {
    color: #001959;
    font-weight: 500;
    margin-bottom: 1rem;
}

/* Contact */
.contact {
    background: linear-gradient(45deg, #9FDCFF 0%, #1075C8 100%);
    color: #001959;
}

.contact-form {
    max-width: 600px;
    margin: 2rem auto 0;
}
.contact-form input {
    width: 100%;
    padding: 0.5rem;
    border-radius: 10px;
    border: none;
    min-height: 20px;
    margin-bottom: 1rem;
    font-family: inherit;
}

.contact-form textarea {
    width: 100%;
    padding: 0.5rem;
    border-radius: 10px;
    border: none;
    min-height: 10row;
    margin-bottom: 1rem;
    font-family: inherit;
}

.contact-form button {
    background-color: #9FDCFF;
    color: #001959;
    border: none;
    border-radius: 30px;
    cursor: pointer;
	margin: 0.5rem;
	padding: 1rem;
}

.contact-form button:hover {
    background-color: #1075C8;
}

/* Footer */
.footer {
    background-color: #E0F1FF;
    color: #001959;
    padding: 1rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-links, .legal-links {
    display: flex;
    flex-direction: column;
}

.footer a {
    color: #1075C8;
    text-decoration: none;
    margin-bottom: 0.2rem;
    transition: color 0.3s;
}

.footer a:hover {
    color: #001959;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 6rem 0 4rem;
    }
    
    .subscribe-form {
        flex-direction: column;
    }
    
    .subscribe-form input {
        border-radius: 4px;
        margin-bottom: 0.5rem;
    }
    
    .subscribe-form button {
        border-radius: 4px;
    }
}

/* Burger Menu Styles */
.burger-menu {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    z-index: 1001;
    position: relative;
}

.burger-icon, .close-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.3s ease;
}

.close-icon {
    opacity: 0;
}

.burger-menu.active .burger-icon {
    opacity: 0;
}

.burger-menu.active .close-icon {
    opacity: 1;
}

/* Mobile Navigation */
@media (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: #E0F1FF;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        padding: 2rem 0;
        z-index: 1000;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        margin: 1.5rem 0;
    }

    .burger-menu {
        display: block;
    }
    
    /* Overlay when menu is open */
    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease;
        z-index: 999;
    }
    
    .overlay.active {
        opacity: 1;
        visibility: visible;
    }
}
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: #E0F1FF;
        flex-direction: column;
        justify-content: center;
        align-items: left;
        transition: right 0.3s ease;
        padding: 2rem 0;
        z-index: 1000;
    }
	
/* Tablet responsiveness */
@media (max-width: 1024px) {
  .hero_ty {
    padding: 12rem 4rem 10rem;
  }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .hero_ty {
    padding: 10rem 2rem 8rem;
  }
  
  .hero_ty h1 {
    font-size: 2rem;
  }
  
  .hero-subtitle, .notice {
    font-size: 1rem;
    line-height: 1.5;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .hero_ty {
    padding: 8rem 1rem 6rem;
  }
  
  .hero_ty h1 {
    font-size: 1.8rem;
  }
}
.section-offset {
    display: block;
    position: absolute;
    top: -100px; /* Same as your header height */
    visibility: hidden;
}