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

:root {
 --primary-color: #0d4f8b; /* Deep Blue */
 --secondary-color: #0891b2; /* Tech Cyan */
 --accent-color: #4a5568; /* Steel Gray */
 --bg-light: #f3f6f9;
 --bg-white: #ffffff;
 --text-dark: #1a202c;
 --text-light: #4a5568;
 --text-on-dark: #e2e8f0;
 --border-color: #e2e8f0;
 --shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
 --radius: 12px;
 --font-main: 'Inter', sans-serif;
 --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
 scroll-behavior: smooth;
 font-size: 16px;
}

body {
 font-family: var(--font-main);
 background-color: var(--bg-white);
 color: var(--text-dark);
 line-height: 1.7;
 -webkit-font-smoothing: antialiased;
 -moz-osx-font-smoothing: grayscale;
}

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

a {
 color: var(--primary-color);
 text-decoration: none;
 transition: var(--transition);
}

a:hover {
 color: var(--secondary-color);
}

img {
 max-width: 100%;
 height: auto;
 display: block;
}

.section {
 padding: 80px 0;
}

.bg-light {
 background-color: var(--bg-light);
}

.section-header {
 margin-bottom: 60px;
}

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

.section-tag {
 display: inline-block;
 background-color: var(--secondary-color);
 color: white;
 padding: 6px 16px;
 border-radius: 20px;
 font-size: 0.85rem;
 font-weight: 600;
 margin-bottom: 16px;
 text-transform: uppercase;
 letter-spacing: 0.5px;
}

.section-title {
 font-size: clamp(2rem, 5vw, 2.75rem);
 font-weight: 700;
 line-height: 1.2;
 margin-bottom: 16px;
 color: var(--text-dark);
}

.section-subtitle {
 font-size: 1.1rem;
 color: var(--text-light);
 max-width: 650px;
 margin: 0 auto;
}

.margin-top-20 {
 margin-top: 20px;
}

/* --- Cursor --- */
.cursor-follower {
 position: fixed;
 width: 20px;
 height: 20px;
 border: 1px solid var(--secondary-color);
 border-radius: 50%;
 left: 0;
 top: 0;
 pointer-events: none;
 z-index: 9999;
 transform: translate(-50%, -50%);
 transition: width 0.3s, height 0.3s, background-color 0.3s;
}

.cursor-follower.active {
 width: 40px;
 height: 40px;
 background-color: rgba(8, 145, 178, 0.2);
}

/* --- Header --- */
.header {
 position: fixed;
 width: 100%;
 top: 0;
 left: 0;
 z-index: 1000;
 transition: var(--transition);
 padding: 10px 0;
}

.header.scrolled {
 background-color: rgba(255, 255, 255, 0.9);
 backdrop-filter: blur(10px);
 box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.nav {
 display: flex;
 justify-content: space-between;
 align-items: center;
 height: 70px;
}

.nav-logo {
 font-size: 1.8rem;
 font-weight: 800;
 color: var(--primary-color);
}

.nav-links {
 display: flex;
 list-style: none;
 gap: 40px;
}

.nav-link {
 font-weight: 600;
 color: var(--text-dark);
 position: relative;
 padding: 5px 0;
}

.nav-link::after {
 content: '';
 position: absolute;
 width: 0;
 height: 2px;
 background-color: var(--secondary-color);
 bottom: -5px;
 left: 50%;
 transform: translateX(-50%);
 transition: var(--transition);
}
.nav-link:hover::after,
.nav-link.active::after {
 width: 100%;
}

.nav-toggle {
 display: none;
 flex-direction: column;
 justify-content: space-around;
 width: 30px;
 height: 25px;
 background: transparent;
 border: none;
 cursor: pointer;
 z-index: 1001;
}

.nav-toggle span {
 width: 30px;
 height: 3px;
 background: var(--text-dark);
 border-radius: 5px;
 transition: var(--transition);
}

/* --- Hero Section --- */
.hero, .page-hero {
 position: relative;
 min-height: 80vh;
 display: flex;
 align-items: center;
 justify-content: center;
 text-align: center;
 padding: 100px 0;
 overflow: hidden;
}

.hero-background-image {
 position: absolute;
 top: 0; left: 0; width: 100%; height: 100%;
 background-size: cover;
 background-position: center;
}
.hero-overlay {
 position: absolute;
 top: 0; left: 0; width: 100%; height: 100%;
 background: linear-gradient(135deg, rgba(13, 79, 139, 0.8) 0%, rgba(74, 85, 104, 0.6) 100%);
}

.hero-content {
 position: relative;
 z-index: 2;
 color: white;
}

.hero-title {
 font-size: clamp(2.5rem, 6vw, 4.5rem);
 font-weight: 800;
 line-height: 1.1;
 margin-bottom: 20px;
 color: white;
}
.hero-title .highlight {
 color: var(--secondary-color);
}

.hero-subtitle {
 font-size: 1.2rem;
 max-width: 600px;
 margin: 0 auto 30px;
 opacity: 0.9;
}

.hero-actions {
 display: flex;
 justify-content: center;
 gap: 20px;
}

.page-hero {
 min-height: 50vh;
}
.page-hero .hero-title {
 font-size: clamp(2rem, 5vw, 3.5rem);
}

/* --- Buttons --- */
.btn {
 display: inline-block;
 padding: 14px 32px;
 font-weight: 600;
 border-radius: 50px;
 transition: var(--transition);
 border: 2px solid transparent;
 cursor: pointer;
}

.btn-primary {
 background-color: var(--secondary-color);
 color: white;
}
.btn-primary:hover {
 background-color: #06b6d4;
 transform: translateY(-3px);
 box-shadow: 0 5px 15px rgba(8, 145, 178, 0.4);
 color: white;
}

.btn-secondary {
 background-color: transparent;
 border-color: white;
 color: white;
}
.btn-secondary:hover {
 background-color: white;
 color: var(--primary-color);
 transform: translateY(-3px);
}
.btn-sm {
 padding: 8px 16px;
 font-size: 0.9rem;
}
.btn-full {
 width: 100%;
}

/* --- Explore Section (Interactive Cards) --- */
.explore-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 gap: 30px;
}
.explore-card {
 perspective: 1000px;
 cursor: pointer;
 min-height: 250px;
}
.explore-card-front, .explore-card-back {
 position: absolute;
 width: 100%;
 height: 100%;
 backface-visibility: hidden;
 transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
 background-color: white;
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
 text-align: center;
 padding: 30px;
}
.explore-card-back {
 transform: rotateY(180deg);
 background-color: var(--primary-color);
 color: white;
}
.explore-card.is-flipped .explore-card-front {
 transform: rotateY(-180deg);
}
.explore-card.is-flipped .explore-card-back {
 transform: rotateY(0deg);
}
.explore-card-icon svg {
 width: 50px;
 height: 50px;
 color: var(--primary-color);
 margin-bottom: 20px;
}
.explore-card-title {
 font-size: 1.5rem;
 margin-bottom: 10px;
 color: var(--text-dark);
}
.explore-card-back .explore-card-title {
 color: white;
}
.explore-card-desc {
 color: var(--text-light);
 font-style: italic;
}
.read-more-link {
 color: var(--secondary-color);
 font-weight: 600;
 margin-top: 20px;
 display: inline-block;
}
.read-more-link:hover {
 text-decoration: underline;
 color: #06b6d4;
}

/* --- Timeline Section --- */
.timeline {
 position: relative;
 max-width: 800px;
 margin: 0 auto;
}
.timeline::after {
 content: '';
 position: absolute;
 width: 4px;
 background-color: var(--border-color);
 top: 0;
 bottom: 0;
 left: 50%;
 margin-left: -2px;
}
.timeline-item {
 padding: 10px 40px;
 position: relative;
 background-color: inherit;
 width: 50%;
}
.timeline-item:nth-child(odd) {
 left: 0;
}
.timeline-item:nth-child(even) {
 left: 50%;
}
.timeline-dot {
 content: '';
 position: absolute;
 width: 20px;
 height: 20px;
 right: -10px;
 background-color: white;
 border: 4px solid var(--primary-color);
 top: 25px;
 border-radius: 50%;
 z-index: 1;
}
.timeline-item:nth-child(even) .timeline-dot {
 left: -10px;
}
.timeline-content {
 padding: 20px 30px;
 background-color: white;
 position: relative;
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 border-left: 5px solid var(--primary-color);
}
.timeline-item:nth-child(even) .timeline-content {
 border-left: none;
 border-right: 5px solid var(--primary-color);
}
.timeline-step {
 font-size: 1.5rem;
 font-weight: 800;
 color: var(--secondary-color);
 margin-bottom: 10px;
}
.timeline-title {
 font-size: 1.3rem;
 margin-bottom: 8px;
}

/* --- Portfolio --- */
.portfolio-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 gap: 30px;
}
.portfolio-item {
 position: relative;
 border-radius: var(--radius);
 overflow: hidden;
 box-shadow: var(--shadow);
 cursor: pointer;
}
.portfolio-img {
 width: 100%;
 height: 350px;
 object-fit: cover;
 transition: transform 0.5s ease;
}
.portfolio-item:hover .portfolio-img {
 transform: scale(1.1);
}
.portfolio-overlay {
 position: absolute;
 bottom: 0;
 left: 0;
 right: 0;
 background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
 color: white;
 padding: 40px 20px 20px;
 transform: translateY(100%);
 opacity: 0;
 transition: var(--transition);
}
.portfolio-item:hover .portfolio-overlay {
 transform: translateY(0);
 opacity: 1;
}
.portfolio-title {
 font-size: 1.4rem;
 margin-bottom: 5px;
}

/* --- Testimonials --- */
.testimonial-carousel-wrapper {
 overflow: hidden;
}
.testimonial-carousel {
 display: flex;
 transition: transform 0.5s ease;
}
.testimonial-slide {
 flex: 0 0 100%;
 max-width: 100%;
 text-align: center;
 padding: 0 50px;
}
.testimonial-img {
 width: 100px;
 height: 100px;
 border-radius: 50%;
 object-fit: cover;
 margin: 0 auto 20px;
 border: 4px solid var(--border-color);
}
.testimonial-text {
 font-size: 1.2rem;
 font-style: italic;
 color: var(--text-light);
 max-width: 700px;
 margin: 0 auto 20px;
}
.testimonial-author {
 font-weight: 700;
 display: block;
 color: var(--text-dark);
}
.testimonial-role {
 font-size: 0.9rem;
 color: var(--text-light);
}

/* --- Interactive Form --- */
.cta-section {
 background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
 color: white;
 padding: 80px 0;
}
.cta-section .section-title, .cta-section .section-subtitle {
 color: white;
}
.contact-form-container-small {
 max-width: 500px;
 margin: 40px auto 0;
}
.interactive-form .form-group-interactive {
 position: relative;
 margin-bottom: 35px;
}
.interactive-form input,
.interactive-form textarea {
 width: 100%;
 padding: 10px 0;
 font-size: 1rem;
 background: transparent;
 border: none;
 border-bottom: 2px solid rgba(255, 255, 255, 0.5);
 color: white;
 outline: none;
}
.interactive-form label {
 position: absolute;
 top: 10px;
 left: 0;
 font-size: 1rem;
 color: rgba(255, 255, 255, 0.7);
 pointer-events: none;
 transition: 0.3s;
}
.interactive-form input:focus + label,
.interactive-form input:valid + label,
.interactive-form textarea:focus + label,
.interactive-form textarea:valid + label {
 top: -15px;
 left: 0;
 font-size: 0.8rem;
 color: var(--secondary-color);
}

/* --- Footer --- */
.footer {
 background-color: var(--text-dark);
 color: var(--text-on-dark);
 padding: 80px 0 30px;
 font-size: 0.9rem;
}
.footer-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
 gap: 40px;
 margin-bottom: 60px;
}
.footer-logo {
 font-size: 1.8rem;
 font-weight: 800;
 color: white;
 margin-bottom: 15px;
 display: inline-block;
}
.footer-description {
 color: var(--text-light);
 line-height: 1.8;
}
.footer-heading {
 font-size: 1.1rem;
 font-weight: 600;
 color: white;
 margin-bottom: 20px;
}
.footer-links, .footer-contact {
 list-style: none;
}
.footer-links li, .footer-contact li {
 margin-bottom: 12px;
}
.footer-links a, .footer-contact a {
 color: var(--text-light);
}
.footer-links a:hover, .footer-contact a:hover {
 color: white;
 text-decoration: underline;
}
.footer-bottom {
 display: flex;
 justify-content: space-between;
 align-items: center;
 border-top: 1px solid var(--accent-color);
 padding-top: 30px;
 font-size: 0.85rem;
 color: var(--text-light);
}
.footer-legal a {
 margin-left: 20px;
 color: var(--text-light);
}
.footer-legal a:hover {
 color: white;
}

/* --- Cookie Banner --- */
.cookie-banner {
 position: fixed;
 bottom: 0;
 left: 0;
 right: 0;
 background-color: var(--text-dark);
 color: white;
 padding: 20px;
 display: flex;
 justify-content: space-between;
 align-items: center;
 z-index: 1001;
 display: none;
}
.cookie-banner p {
 margin: 0;
}
.cookie-banner a {
 color: var(--secondary-color);
 text-decoration: underline;
}
.cookie-buttons {
 display: flex;
 gap: 10px;
}

/* Reveal on Scroll */
.reveal {
 opacity: 0;
 transform: translateY(30px);
 transition: opacity 0.8s, transform 0.8s;
 transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.reveal.visible {
 opacity: 1;
 transform: translateY(0);
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
 .timeline::after {
 left: 31px;
 }
 .timeline-item {
 width: 100%;
 padding-left: 70px;
 padding-right: 25px;
 }
 .timeline-item:nth-child(odd), .timeline-item:nth-child(even) {
 left: 0;
 }
 .timeline-dot {
 left: 21px;
 }
 .timeline-item:nth-child(even) .timeline-content {
 border-right: none;
 border-left: 5px solid var(--primary-color);
 }
}
@media (max-width: 768px) {
 .nav-toggle {
 display: flex;
 }
 .nav-links {
 position: fixed;
 top: 0;
 right: -100%;
 width: 70%;
 height: 100vh;
 background-color: var(--bg-white);
 flex-direction: column;
 justify-content: center;
 align-items: center;
 box-shadow: -5px 0 15px rgba(0,0,0,0.1);
 transition: right 0.5s ease;
 }
 .nav-links.active {
 right: 0;
 }
 .footer-grid {
 grid-template-columns: 1fr;
 }
 .footer-bottom {
 flex-direction: column;
 gap: 20px;
 }
 .footer-legal {
 margin-top: 10px;
 }
 .contact-layout {
 grid-template-columns: 1fr;
 }
 .cursor-follower {
 display: none;
 }
}

/* --- Services Page --- */
.services-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
 gap: 30px;
}
.service-card {
 background-color: white;
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 overflow: hidden;
 transition: var(--transition);
}
.service-card:hover {
 transform: translateY(-10px);
}
.service-card-img {
 width: 100%;
 height: 220px;
 object-fit: cover;
}
.service-card-body {
 padding: 30px;
}
.service-card-title {
 font-size: 1.4rem;
 margin-bottom: 15px;
}
.service-card-text {
 color: var(--text-light);
 margin-bottom: 20px;
}
.service-features {
 list-style: none;
 padding-left: 20px;
}
.service-features li {
 position: relative;
 margin-bottom: 8px;
}
.service-features li::before {
 content: '';
 position: absolute;
 left: -20px;
 color: var(--secondary-color);
 font-weight: 700;
}
.media-object, .media-object-reverse {
 display: grid;
 grid-template-columns: 1fr 1fr;
 align-items: center;
 gap: 50px;
}
.media-object-reverse {
 grid-template-columns: 1fr 1fr;
}
.media-object-image img {
 border-radius: var(--radius);
 box-shadow: var(--shadow);
}
.checklist {
 list-style: none;
 margin-top: 20px;
}
.checklist li {
 padding-left: 30px;
 position: relative;
 margin-bottom: 10px;
}
.checklist li::before {
 content: "";
 position: absolute;
 left: 0;
 color: var(--secondary-color);
 font-size: 1.2rem;
 font-weight: 700;
}

/* --- About Us Page ---- */
.values-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
 gap: 30px;
 margin-top: 40px;
}
.value-card {
 text-align: center;
 padding: 30px;
 background-color: white;
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 transition: var(--transition);
}
.value-card:hover {
 transform: translateY(-10px);
}
.value-icon svg {
 width: 48px;
 height: 48px;
 color: var(--primary-color);
 margin-bottom: 20px;
}
.value-card h3 {
 font-size: 1.3rem;
 margin-bottom: 10px;
}

.team-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
 gap: 30px;
}
.team-member {
 text-align: center;
}
.team-photo {
 width: 150px;
 height: 150px;
 border-radius: 50%;
 object-fit: cover;
 margin: 0 auto 20px;
 border: 5px solid white;
 box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.team-name {
 font-size: 1.2rem;
 font-weight: 600;
}
.team-role {
 color: var(--text-light);
}

/* --- Resources Page --- */
.articles-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
 gap: 30px;
}

.article-card {
 background-color: var(--bg-white);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 overflow: hidden;
 display: flex;
 flex-direction: column;
}

.article-card-img {
 height: 200px;
 width: 100%;
 object-fit: cover;
}

.article-card-body {
 padding: 24px;
 display: flex;
 flex-direction: column;
 flex-grow: 1;
}

.article-card-category {
 font-size: 0.8rem;
 font-weight: 600;
 color: var(--secondary-color);
 margin-bottom: 12px;
}

.article-card-title {
 font-size: 1.2rem;
 margin-bottom: 12px;
 flex-grow: 1;
}
.article-card-excerpt {
 color: var(--text-light);
 margin-bottom: 16px;
}

.faq-container {
 max-width: 800px;
 margin: 0 auto;
}
.faq-item {
 border-bottom: 1px solid var(--border-color);
}
.faq-question {
 width: 100%;
 text-align: left;
 background: none;
 border: none;
 padding: 20px 0;
 font-size: 1.1rem;
 font-weight: 600;
 cursor: pointer;
 display: flex;
 justify-content: space-between;
 align-items: center;
}
.faq-icon {
 width: 20px;
 height: 20px;
 transition: transform 0.3s;
}
.faq-item.active .faq-icon {
 transform: rotate(45deg);
}
.faq-answer {
 max-height: 0;
 overflow: hidden;
 transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}
.faq-answer p {
 padding-bottom: 20px;
 line-height: 1.8;
}

/* --- Contact Page --- */
.contact-layout {
 display: grid;
 grid-template-columns: 1.2fr 1fr;
 gap: 60px;
 align-items: flex-start;
}
#contact-form {
 background: var(--bg-light);
 padding: 40px;
 border-radius: var(--radius);
}
#contact-form .interactive-form input, 
#contact-form .interactive-form textarea {
 border-bottom-color: rgba(0,0,0,0.2);
 color: var(--text-dark);
}
#contact-form .interactive-form label {
 color: var(--text-light);
}
#contact-form .interactive-form input:focus + label,
#contact-form .interactive-form input:valid + label,
#contact-form .interactive-form textarea:focus + label,
#contact-form .interactive-form textarea:valid + label {
 color: var(--primary-color);
}
.contact-details-list {
 list-style: none;
 margin-top: 30px;
}
.contact-details-list li {
 display: flex;
 align-items: flex-start;
 gap: 15px;
 font-size: 1rem;
 margin-bottom: 20px;
}
.contact-details-list svg {
 width: 24px;
 height: 24px;
 color: var(--primary-color);
 flex-shrink: 0;
 margin-top: 2px;
}
.map-container {
 margin-top: 80px;
}
.map-container iframe {
 border: none;
 border-radius: var(--radius);
}

/* --- Legal & Thank You Pages --- */
.legal-page {
 padding: 120px 0 80px;
}
.legal-page .container {
 max-width: 800px;
}
.legal-title {
 font-size: 2.5rem;
 margin-bottom: 10px;
}
.legal-page p {
 margin-bottom: 15px;
 color: var(--text-light);
}
.legal-page h2 {
 font-size: 1.5rem;
 margin-top: 40px;
 margin-bottom: 15px;
}
.legal-page ul {
 margin-bottom: 15px;
 padding-left: 20px;
}
.legal-page table {
 width: 100%;
 margin: 30px 0;
 border-collapse: collapse;
}
.legal-page th, .legal-page td {
 border: 1px solid var(--border-color);
 padding: 12px;
 text-align: left;
}
.legal-page th {
 background-color: var(--bg-light);
}
.thank-you-section {
 min-height: 60vh;
 display: flex;
 align-items: center;
 justify-content: center;
}
@media (max-width: 768px){
 .media-object, .media-object-reverse {
 grid-template-columns: 1fr;
 }
}