/* Base Styles  #9900FF; */
:root {
    --primary-color: #003366;
    --secondary-color: #2AC4EA;
    --dark-color: #333333;
    --light-color: #ffffff;
    --bg-color: #f8f9fa;
    --text-color: #000000;
    --border-radius: 15px;
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

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

h1, h2, h3, h4 {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    margin-bottom: 20px;
}

h1 {
    font-size: 58px;
    line-height: 1.2;
}

h2 {
    font-size: 40px;
    line-height: 1.3;
}

h3 {
    font-size: 30px;
    line-height: 1.4;
}

h4 {
    font-size: 24px;
    line-height: 1.5;
}

h5, h6 {
    font-family: 'Heebo', sans-serif;
    font-weight: 800;
}

p {
    margin-bottom: 15px;
}

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

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 200px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 15px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-color);
    border: none;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--light-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background-color: transparent;
    color: var(--light-color);
    border: 2px solid var(--light-color);
}

.btn-outline:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 45px;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 20px;
    position: relative;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 400;
    padding: 10px 0;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover:after {
    width: 100%;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    padding: 10px 0;
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-color);
    font-size: 14px;
}

.dropdown-menu a:hover {
    background-color: rgba(0, 72, 231, 0.1);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--text-color);
    transition: var(--transition);
}

/* Mobile menu active state */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

nav.active {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--light-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

nav.active ul {
    flex-direction: column;
    align-items: flex-start;
}

nav.active ul li {
    margin: 10px 0;
    width: 100%;
}

nav.active .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding-left: 20px;
    display: none;
}

nav.active .dropdown.open .dropdown-menu {
    display: block;
}

/* Hero Section */
.hero {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-text {
    flex: 1;
    padding-right: 50px;
}

.hero-text .subtitle {
    font-size: 20px;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.hero-image {
    flex: 1;
    text-align: right;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Intro Section */
.intro {
    padding: 80px 0;
    background-color: var(--light-color);
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
}

.intro-text {
    font-size: 18px;
    line-height: 1.8;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text {
    font-size: 18px;
    line-height: 1.8;
}

/* Expertise Section */
.expertise {
    padding: 80px 0;
    background-color: var(--light-color);
}

.expertise h2 {
    text-align: center;
    margin-bottom: 50px;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.expertise-card {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.expertise-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.expertise-card h3 {
    margin-bottom: 15px;
}

.expertise-card ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.expertise-card ul li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Certifications Section */
.certifications {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.certifications h2 {
    text-align: center;
    margin-bottom: 50px;
}

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

.cert-item {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
}

.cert-item h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.cert-item ul li {
    margin-bottom: 10px;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: var(--light-color);
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 50px;
}

.testimonial-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 30px;
    padding: 20px 0;
}

.testimonial {
    flex: 0 0 calc(33.333% - 20px);
    scroll-snap-align: start;
    border-radius: var(--border-radius);
    overflow: hidden;
    min-width: 300px;
}

.testimonial-content {
    background-color: var(--bg-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    height: 100%;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.testimonial-author .name {
    font-weight: 600;
}

.testimonial-author .position {
    color: #666;
    font-size: 14px;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.contact h2 {
    text-align: center;
    margin-bottom: 50px;
}

.contact-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 50px;
}

.contact-form {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 72, 231, 0.2);
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.info-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-right: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--light-color);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: #CCCCCC;
    padding: 70px 0 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer-logo {
    background-color: var(--light-color);
    width: 150px;
    height: 150px;
    border-radius: 5%;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;   
}

.footer-links {
    display: flex;
    gap: 50px;
}

.footer-column h3 {
    color: #fff;
    font-size: 23px;
    margin-bottom: 20px;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #CCCCCC;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: 5px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    h1 {
        font-size: 42px;
    }
    
    h2 {
        font-size: 32px;
    }
    
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .expertise-grid,
    .cert-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
        margin-top: 30px;
    }
    
    .testimonial {
        flex: 0 0 calc(100% - 40px);
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 32px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .intro,
    .about,
    .expertise,
    .certifications,
    .testimonials,
    .contact {
        padding: 50px 0;
    }
}
/* Announcement Ribbon */
.announcement-ribbon {
    position: relative;
    width: 100%;
    background-color: var(--primary-color);
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    z-index: 900;
}

.ticker-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.ticker-content {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    animation: ticker 30s linear infinite;
}

.ticker-item {
    padding: 0 10px;
    color: var(--light-color);
    font-weight: 500;
}

.ticker-separator {
    color: var(--primary-color);
    margin: 0 5px;
}

.ribbon-controls {
    display: flex;
    align-items: center;
    padding: 0 15px;
    flex-shrink: 0;
}

.ribbon-attribution {
    font-size: 14px;
    color: var(--primary-color);
    margin-right: 15px;
}

.ribbon-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #666;
    transition: var(--transition);
}

.ribbon-close:hover {
    color: var(--primary-color);
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Adjust header padding for the ribbon */
@media (max-width: 768px) {
    .announcement-ribbon {
        padding: 8px 0;
    }
    
    .ticker-item {
        font-size: 14px;
    }
    
    .ribbon-attribution {
        font-size: 12px;
    }
}
