/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Header styling */
.header {
    background: linear-gradient(135deg, #1e3449 0%, #2a4a66 100%);
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80px;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 80px;
    width: auto;
    margin: 0;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.3rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav a:hover {
    color: #e18a2a;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #e18a2a;
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

/* Hero section */
.hero-section {
    background: linear-gradient(135deg, #1e3449 0%, #2a4a66 50%, #1e3449 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,112C1248,107,1344,117,1392,122.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom center/cover;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #e18a2a, #e18a2a);
    color: #1e3449;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
}

/* Main section styling */
.main-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #1e3449;
    margin-bottom: 15px;
    font-weight: bold;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 500px;
    margin: 0 auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Content grid layout */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

/* Content box styling */
.content-box {
    background: white;
    color: #333;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #e0e0e0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: block;
}

.content-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e3449, #2a4a66);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.content-box:hover::before {
    transform: scaleX(1);
}

.content-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(30, 52, 73, 0.15);
    border-color: #1e3449;
}

.box-icon {
    font-size: 2.5rem;
    color: #1e3449;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.content-box:hover .box-icon {
    transform: scale(1.1);
    color: #2a4a66;
}

.content-box h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #1e3449;
}

.content-box p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

/* Footer section styling */
.footer-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 50px 0 30px;
    margin-top: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.05);
}

/* Social icons styling */
.social-icons {
    display: flex;
    gap: 25px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e3449, #2a4a66);
    color: white;
    text-decoration: none;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(30, 52, 73, 0.2);
}

.social-link:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(30, 52, 73, 0.3);
}

.social-link.facebook:hover {
    background: linear-gradient(135deg, #1877f2, #0d5cbf);
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

/* Website link styling */
.website-link {
    margin-top: 15px;
}

.website-link a {
    color: #1e3449;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 15px 35px;
    border: 2px solid #1e3449;
    border-radius: 30px;
    transition: all 0.3s ease;
    display: inline-block;
    background: linear-gradient(135deg, transparent 0%, rgba(30, 52, 73, 0.05) 100%);
}

.website-link a:hover {
    background: linear-gradient(135deg, #1e3449, #2a4a66);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 52, 73, 0.3);
}

/* Main Footer */
.footer {
    background: #1e3449;
    color: white;
    padding: 60px 0 40px;
    margin-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.footer-logo-section {
    display: flex;
    align-items: flex-start;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.footer-brand h3 {
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 0 5px 0;
    color: white;
}

.footer-brand p {
    font-size: 1rem;
    margin: 0;
    opacity: 0.9;
}

.footer-contact h4 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: white;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.contact-item i {
    color: #ff8c00;
    font-size: 1rem;
    min-width: 20px;
}

.footer-social h4 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: white;
}

.footer-social-icons {
    display: flex;
    gap: 15px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    background-color: #e18a2a;
    color: white;
}

.footer-social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.footer-social-link.twitter:hover {
    background-color: #41474b;
}

.footer-social-link.facebook:hover {
    background-color: #1877F2;
}

.footer-social-link.youtube:hover {
    background-color: #FF0000;
}

.footer-social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.footer-social-link.linkedin:hover {
    background-color: #0077B5;
}

/* Footer credit styling */
.footer-credit {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 30px;
}

.footer-credit p {
    font-size: 0.9rem;
    color: #b0b0b0;
    margin: 0;
}

.footer-credit a {
    color: #e18a2a;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-credit a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Responsive design */
@media (max-width: 768px) {
    .header {
        padding: 10px 0;
    }
    
    .header-content {
        flex-direction: row;
        gap: 15px;
        min-height: auto;
        padding: 0 15px;
    }
    
    .logo img {
        height: 60px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 250px;
        height: calc(100vh - 70px);
        background: linear-gradient(135deg, #1e3449 0%, #2a4a66 100%);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 0;
        transition: right 0.3s ease;
        padding: 40px 0;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        z-index: 1000;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .nav a {
        font-size: 1.2rem;
        padding: 10px 20px;
        display: block;
        text-align: center;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 15px;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .content-box {
        padding: 30px 20px;
    }
    
    .content-box h3 {
        font-size: 1.3rem;
    }
    
    .box-icon {
        font-size: 2.2rem;
    }
    
    .main-section {
        padding: 60px 0;
    }
    
    .footer-section {
        padding: 40px 0 20px;
    }
    
    .social-icons {
        gap: 20px;
    }
    
    .social-link {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .website-link a {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-logo img {
        width: 60px;
        height: 60px;
    }
    
    .footer-social-icons {
        justify-content: center;
    }
    
    .footer-social-link {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 640px) {
    .nav-menu {
        width: 100%;
        right: -100%;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
    }
    
    .section-header h2 {
        font-size: 1.9rem;
    }
    
    .content-box {
        padding: 28px 18px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 8px 0;
    }
    
    .header-content {
        min-height: auto;
        padding: 0 10px;
    }
    
    .logo img {
        height: 50px;
    }
    
    .nav-menu {
        top: 65px;
        height: calc(100vh - 65px);
        padding: 30px 0;
    }
    
    .nav-menu li {
        margin: 12px 0;
    }
    
    .nav a {
        font-size: 1.1rem;
        padding: 8px 15px;
    }
    
    .hero-section {
        padding: 50px 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
        padding: 0 10px;
    }
    
    .cta-button {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-header p {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    .content-grid {
        gap: 20px;
    }
    
    .content-box {
        padding: 25px 15px;
    }
    
    .content-box h3 {
        font-size: 1.2rem;
    }
    
    .content-box p {
        font-size: 0.9rem;
    }
    
    .box-icon {
        font-size: 2rem;
    }
    
    .main-section {
        padding: 40px 0;
    }
    
    .footer-section {
        padding: 30px 0 15px;
        gap: 20px;
    }
    
    .social-icons {
        gap: 15px;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .website-link a {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .footer {
        padding: 30px 0 15px;
    }
    
    .footer-content {
        gap: 25px;
    }
    
    .footer-logo {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-logo img {
        width: 50px;
        height: 50px;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .footer-brand h3 {
        font-size: 1.5rem;
    }
    
    .footer-contact h4,
    .footer-social h4 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .contact-item {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }
    
    .footer-social-icons {
        gap: 10px;
    }
    
    .footer-social-link {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .container {
        padding: 0 10px;
    }
}

/* Questionnaire page specific styles */
.questionnaire-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin: 60px 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.questionnaire-box {
    background: white;
    color: #333;
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.questionnaire-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #1e3449, #2a4a66);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.questionnaire-box:hover::before {
    transform: scaleX(1);
}

.questionnaire-box:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(30, 52, 73, 0.2);
    border-color: #1e3449;
}

.questionnaire-box .box-icon {
    font-size: 3.5rem;
    color: #1e3449;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.questionnaire-box:hover .box-icon {
    transform: scale(1.15);
    color: #2a4a66;
}

.questionnaire-box h3 {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #1e3449;
}

.questionnaire-box p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 30px;
}

.questionnaire-button {
    background: linear-gradient(135deg, #1e3449 0%, #2a4a66 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    min-width: 200px;
    justify-content: center;
}

.questionnaire-button:hover {
    background: linear-gradient(135deg, #2a4a66 0%, #1e3449 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 52, 73, 0.3);
}

.questionnaire-button i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.questionnaire-button:hover i {
    transform: translateX(3px);
}

.back-to-home {
    text-align: center;
    margin: 60px 0 40px 0;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #1e3449;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 12px 25px;
    border: 2px solid #1e3449;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.back-link:hover {
    background: #1e3449;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 52, 73, 0.2);
}

.back-link i {
    transition: transform 0.3s ease;
}

.back-link:hover i {
    transform: translateX(-3px);
}

/* Responsive styles for questionnaire page */
@media (max-width: 768px) {
    .questionnaire-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin: 40px 0;
    }
    
    .questionnaire-box {
        padding: 40px 25px;
    }
    
    .questionnaire-box .box-icon {
        font-size: 3rem;
    }
    
    .questionnaire-box h3 {
        font-size: 1.5rem;
    }
    
    .questionnaire-box p {
        font-size: 1rem;
    }
    
    .questionnaire-button {
        padding: 12px 25px;
        font-size: 1rem;
        min-width: 180px;
    }
}

@media (max-width: 480px) {
    .questionnaire-box {
        padding: 30px 20px;
    }
    
    .questionnaire-box .box-icon {
        font-size: 2.5rem;
    }
    
    .questionnaire-box h3 {
        font-size: 1.3rem;
    }
    
    .questionnaire-button {
        padding: 10px 20px;
        font-size: 0.9rem;
        min-width: 160px;
    }
}
