/* Logos Section */
.logos-section {
    padding: 40px 0;
    background-color: var(--white);
}

.logos-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 20px 0;
}

.logo-item {
    flex: 1;
    min-width: 200px;
    max-width: 350px;
    text-align: center;
    padding: 15px;
}

.logo-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

/* Specific logo adjustments */
.logo-item:nth-child(1) .logo-img {
    max-height: 120px;
    width: auto;
}

.logo-item:nth-child(2) .logo-img {
    max-height: 100px;
    width: auto;
}

.logo-item:nth-child(3) .logo-img {
    max-height: 80px;
    width: 100%;
    object-fit: contain;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .logos-container {
        gap: 20px;
    }
    
    .logo-item {
        min-width: 160px;
        padding: 10px;
    }
}

@media (max-width: 768px) {
    .logos-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .logo-item {
        width: 100%;
        max-width: 300px;
    }
    
    .logo-item:nth-child(1) .logo-img {
        max-height: 100px;
    }
    
    .logo-item:nth-child(2) .logo-img {
        max-height: 90px;
    }
    
    .logo-item:nth-child(3) .logo-img {
        max-height: 70px;
    }
}

/* Base Styles */
:root {
    --primary-color: #1a6fc9;
    --secondary-color: #ff6b35;
    --accent-color: #f4a261;
    --dark-color: #264653;
    --light-color: #f8f9fa;
    --text-color: #333;
    --text-light: #6c757d;
    --white: #ffffff;
    --black: #000000;
    --transition: all 0.3s ease;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 5px;
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

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

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;  /* Reduced from default 16px */
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: #FFD700; /* Strong yellow color */
    color: #000;
    border-color: #FFD700;
    font-weight: 600;
    padding: 10px 25px;
}

.btn-primary:hover {
    background-color: #E6C200;
    color: #000;
    border-color: #E6C200;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
}

.underline {
    height: 4px;
    width: 80px;
    background: var(--primary-color);
    margin: 0 auto;
    border-radius: 2px;
}

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

.header.scrolled {
    padding: 10px 0;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo img {
    max-height: 60px;
    transition: var(--transition);
}

.header.scrolled .logo img {
    max-height: 50px;
}

.main-nav ul {
    display: flex;
    align-items: center;
}

.main-nav ul li {
    margin-left: 25px;
}

.main-nav ul li a {
    color: var(--dark-color);
    font-weight: 500;
    position: relative;
    padding: 8px 0;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

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

.main-nav ul li a:hover:after,
.main-nav ul li a.active:after {
    width: 100%;
}

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

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--dark-color);
    transition: var(--transition);
    transform-origin: center;
}

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

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

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

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive Navigation */
@media (max-width: 992px) {
    .main-nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        z-index: 999;
        overflow-y: auto;
    }

    .main-nav.active {
        left: 0;
    }

    .main-nav ul {
        flex-direction: column;
        padding: 20px 0;
        width: 100%;
    }

    .main-nav ul li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }

    .main-nav ul li a {
        display: block;
        padding: 12px 20px;
        font-size: 1.1rem;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .header.scrolled .main-nav {
        top: 70px;
    }
}

/* Adjust menu for smaller screens */
@media (max-width: 576px) {
    .main-nav {
        width: 100%;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    background: url('../images/puntariomar.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    padding: 0 20px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

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

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-down i {
    display: block;
    text-align: center;
    font-size: 1.5rem;
    margin-top: 5px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* Welcome Section */
.welcome-section {
    padding: 100px 0;
    background-color: var(--white);
}

.welcome-content {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 50px;
}

.welcome-text {
    flex: 1;
}

.welcome-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-light);
}

.welcome-image {
    flex: 0 0 auto;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 400px;
    width: auto;
}

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

/* Features Section */
.features-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

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

.feature-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background-color: rgba(26, 111, 201, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background-color: var(--primary-color);
    color: var(--white);
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background-color: var(--white);
}

.testimonials-slider {
    margin-top: 50px;
}

.testimonial {
    background-color: #f8f9fa;
    padding: 40px;
    border-radius: var(--border-radius);
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial:before {
    content: '\201C';
    font-family: Georgia, serif;
    font-size: 60px;
    color: var(--primary-color);
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
    opacity: 0.3;
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

.testimonial p {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-light);
}

.testimonial-author h4 {
    color: var(--dark-color);
    margin-bottom: 5px;
}

.testimonial-author span {
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/cta-bg.jpg') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    color: rgba(255, 255, 255, 0.9);
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 80px 0 0;
}

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

.footer-about {
    margin-bottom: 30px;
}

.footer-logo {
    max-height: 60px;
    margin-bottom: 20px;
}

.footer-about p {
    margin: 20px 0;
    color: rgba(255, 255, 255, 0.7);
}

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

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

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

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4:after,
.footer-contact h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

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

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

/* New Brand Name Styles */
.brand-name {
    display: inline-block;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    line-height: 1.2;
}

.brand-name .main-name {
    display: block;
    font-size: 1.5em;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.brand-name .aka {
    display: block;
    font-size: 0.7em;
    font-weight: 400;
    color: var(--secondary-color);
    margin-top: -5px;
    position: relative;
    font-style: italic;
}

.brand-name .aka:before,
.brand-name .aka:after {
    content: '~';
    margin: 0 3px;
    color: var(--accent-color);
}

/* For logo text replacement */
.brand-logo-text {
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
}

/* For logo in header */
.header .brand-name {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.testimonials-slider {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.testimonial {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
}

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

.testimonial-content {
    position: relative;
}

.rating {
    color: #ffc107;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.rating .date {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-left: auto;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-color);
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.testimonial-author h4 {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin: 0;
}

.testimonial-author span {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 3px;
}

.owner-response {
    background-color: #f8f9fa;
    border-left: 3px solid var(--primary-color);
    padding: 15px;
    margin-top: 20px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.owner-response strong {
    color: var(--dark-color);
    display: block;
    margin-bottom: 5px;
}

.owner-response p {
    margin: 0;
    font-style: normal;
    color: var(--text-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .testimonial {
        padding: 20px;
    }
    
    .testimonial p {
        font-size: 0.95rem;
    }
    
    .testimonial-author {
        flex-direction: column;
        align-items: flex-start;
    }
}

.header .brand-name .main-name {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.header .brand-name .aka {
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin-top: -2px;
    text-transform: uppercase;
}

/* Adjust for smaller screens */
@media (max-width: 768px) {
    .header .brand-name .main-name {
        font-size: 1.5rem;
    }
    
    .header .brand-name .aka {
        font-size: 0.8rem;
    }
}

/* For logo in footer */
.footer .brand-name .main-name {
    color: var(--white);
}

.footer .brand-name .aka {
    color: var(--accent-color);
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
    margin-right: 10px;
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 0.9rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

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

.footer-legal span {
    color: rgba(255, 255, 255, 0.2);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--dark-color);
    transform: translateY(-5px);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .welcome-content {
        flex-direction: column;
    }
    
    .welcome-text,
    .welcome-image {
        width: 100%;
    }
    
    .welcome-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 90px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        padding: 20px 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: var(--transition);
        z-index: 999;
    }
    
    .main-nav.active {
        transform: translateY(0);
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    .main-nav ul li {
        margin: 10px 0;
    }
    
    .main-nav ul li a {
        font-size: 1.1rem;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .testimonial {
        padding: 30px 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 5px;
    }
    
    .footer-legal span {
        display: none;
    }
}
